Bug 1123888
Summary: | docker has no repos if host is registred with RH satellite (rhn_register) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Christophe Augello <caugello> |
Component: | docker | Assignee: | Václav Pavlín <vpavlin> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | atomic-bugs <atomic-bugs> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | aweiteka, cgoern, dgoodwin, dwalsh, garret.taylor, gchakkar, mjenner |
Target Milestone: | rc | Keywords: | Extras |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-01-07 21:34:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Christophe Augello
2014-07-28 14:43:19 UTC
Could you check this with docker-1.1.2 and if that is broken docker-1.2. I think it is fixed in docker-1.1.2 Is there a workaround while waiting for fix to ship ? Not right now, but we are hoping to ship docker-1.1.2 real soon. Although the tool is looking for content in ls -l /usr/share/rhel/secrets/ If you create dummy files for these links it might fix the problem touch /etc/pki/entitlement/foo-key.pem /etc/pki/entitlement/foo.pem /etc/yum.repos.d/redhat.repo Docker verison 0.11.1-dev, build 02d20af/0.11.1 Host has following repos enabled: rhel-x86_64-server-7 rhel-x86_64-server-extras-7 rhel-x86_64-server-optional-7 created the 3 dummy files on the host. Seeing same results in rhel 7 container. # yum repolist all repolist: 0 # yum check-update There are no enables repos. Run "yum repolist all" to see the repos you have. You can enable repos with yum-config-manager --enable <repo> Sorry misread the bug, I thought you were on a machine which was not registered. If you run # docker run -ti rhel7 ls -l /run/secrets Does it show anything? [root@rhel7d1 ~]# docker run -ti rhel7 ls -l /run/secrets total 0 drwxr-xr-x. 2 root root 80 Sep 18 02:29 etc-pki-entitlement -rwxr-xr-x. 1 root root 0 Sep 18 02:29 rhel7.repo [root@rhel7d1 ~]# Still seeing the same problem with docker-1.1.2 Host is using Red Hat Satellite and subscribed to: rhel-x86_64-server-7 rhel-x86_64-server-extra-7 rhel-x86_64-server-optional-7 Tried with and without: /etc/pki/entitlement/foo-key.pem /etc/pki/entitlement/foo.pem # docker -v Docker version 1.1.2, build d84a070/1.1.2 Martin/Aaron, have any ideas? Access to Red Hat RPM content from a container using an RHN classic entitlement is not technically supported at this time. For now only a host subscribed with certificate-based subscription-manager will provide access to RPM content in a container (build or run time). This requires a connection to Red Hat hosted or a Satellite 6 system. Hi - I've the latest Satellite and used # rhnreg_ks --force Does comment # 12 mean it should work but the hosts needs to be registered in a different way and how do I do that ? |