<div dir="ltr">I don't know where i m doing mistake, but if i add another registry which is not using ssl and with same configuration in portus and in registry, it works. I can see data in portus webpage.<div><br></div><div>but while adding ssl enabled registry facing problem.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 12, 2016 at 2:24 AM, Miquel Sabaté Solà <span dir="ltr"><<a href="mailto:msabate@suse.com" target="_blank">msabate@suse.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font face="Noto Sans">Hello Benjamin,</font><span class=""><br>
<br>
<div>On 02/11/2016 03:02 AM, Benjamin
Fernandis wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>we using docker v2.2 registry with ssl cert on centos 7 and
it is working fine.</div>
<div><br>
</div>
<div>we can push and pull from network without
--insecure-registry flag.</div>
<div><br>
</div>
<div>today, we deployed portus on opensuse vm and then added
registry in webpage of portus.</div>
<div><br>
</div>
<div>but we have not see any repositories or namespace data in
portus web page. Even when tried to check in DB it shows
empty.</div>
</div>
</blockquote>
<br></span>
Right. I think that it's expected for Portus to automatically
"import" the images from the registry you just configured. This is
tricky mainly because: what if you have images contained inside of
namespaces Portus knows nothing about ? which team should own these
missing namespaces ? This is a question that we plan to fix as soon
as possible, but we are still discussing the best way to do it.<br>
<br>
Now, you could say, well, at least import the images that are not
contained in namespaces, right ? We can do this, but you have to use
Crono. See more about Crono in our documentation [1]. Basically, it
will periodically check for images available in the registry and not
registered in Portus. Because of the aforementioned limitation with
namespaces, Crono will only import images that are not contained in
namespaces that are unknown to Portus. One way to work-around this
limitation is to create the namespaces manually, and let Crono
update the DB on the next iteration.<br>
<br>
That being said, there's a known bug in our code regarding the
synchronization with crono (see [2]). This is fixed in both master
and 2.0.3 (which will be released next week).<br>
<br>
<blockquote type="cite"><span class="">
<div dir="ltr">
<div><br>
</div>
<div>there is no error in portus log and while checking in
registry logs, i can see request comes from portus and i can
see repositories data as per registry but nothing comes in
portus web page.</div>
<div><br>
</div>
<div>there is no error in reigstry log.</div>
<div><br>
</div>
<div>i copied registry certificate to portus
/etc/pki/trust/anchors folder.</div>
<div><br>
</div>
<div>please suggest me if i m missing anything here.</div>
<div><br>
</div>
<div>registry config.</div>
<div><br>
</div>
<div>
<div>docker run \</div>
<div> -d --restart=always --name registry \</div>
<div> -e REGISTRY_LOG_LEVEL=info \</div>
<div> -p 5000:5000 \</div>
<div> -e SEARCH_BACKEND=sqlalchemy \</div>
<div> -v `pwd`/certs:/certs \</div>
<div> -e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/xyz.crt \</div>
<div> -e REGISTRY_HTTP_TLS_KEY=/certs/xyz.key \</div>
<div> -v /etc/localtime:/etc/localtime:ro \</div>
<div> -v /data/docker-v2:/var/lib/registry \</div>
<div> registry:2.2</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>registry is running in container on centos 7.</div>
<div>portus is running in opensuse vm.</div>
<div><br>
</div>
<div>Thanks</div>
<div>Ben</div>
</div>
<br>
<fieldset></fieldset>
<br>
</span><pre>_______________________________________________
Containers mailing list
<a href="mailto:Containers@lists.suse.com" target="_blank">Containers@lists.suse.com</a>
<a href="http://lists.suse.com/mailman/listinfo/containers" target="_blank">http://lists.suse.com/mailman/listinfo/containers</a>
</pre>
</blockquote>
<br>
Hope this helps,<br>
Miquel<br>
<br>
[1]
<a href="http://port.us.org/features/1_Synchronizing-the-Registry-and-Portus.html" target="_blank">http://port.us.org/features/1_Synchronizing-the-Registry-and-Portus.html</a><br>
[2] <a href="https://github.com/SUSE/Portus/issues/720" target="_blank">https://github.com/SUSE/Portus/issues/720</a><br>
</div>
<br>_______________________________________________<br>
Containers mailing list<br>
<a href="mailto:Containers@lists.suse.com">Containers@lists.suse.com</a><br>
<a href="http://lists.suse.com/mailman/listinfo/containers" rel="noreferrer" target="_blank">http://lists.suse.com/mailman/listinfo/containers</a><br>
<br></blockquote></div><br></div>