Containers hosted on Atomic host not able to access Katello yum repos
Fixed in Releases:
Found in Releases:
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1364436
Description of problem:
Issue came up during testing of Satellite 6.2 features.
Atomic host is able to pull ostree updates from satellite 6.2 without any issues.
When you start a container in the atomic host and then try to install any package inside the container, then the package installation fails with the following message
[root@9d01b5384636 /]# yum install httpd
Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
https://XXXX/pulp/ostree/web/XXXX/Library/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
If I register a RHEL 7 host to the same satellite 6.2, then I can install or build containers
This seems to arise due to way how ostree repo is enabled
rhsm.conf of the host
Version-Release number of selected component (if applicable):
Atomic Host 7.2.6
Steps to Reproduce:
1. Satellite 6.2
2. register atomic host to Satellite 6.2
3. start a rhel7 docker container
4. try to install a package in the container
package installation inside the docker container fails with a 404 message
Docker containers should be able to access Satellite repos with respect to the host entitlement