Actions
Bug #16343
closedContainers hosted on Atomic host not able to access Katello yum repos
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
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
baseurl= https://XXXX/pulp/ostree/web/
Version-Release number of selected component (if applicable):
Atomic Host 7.2.6
How reproducible:
Always
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
Actual results:
package installation inside the docker container fails with a 404 message
Expected results
Docker containers should be able to access Satellite repos with respect to the host entitlement
Actions