Bug #19347
closedHosts registered to katello cannot pull protected images
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1444465
Description of problem:
Not sure if this is a katello or subscription-manager issue but here goes.
When a host is registered to katello it does not get the needed certificates generated in /etc/docker/certs.d. These are needed when pulling protected Docker images.
How reproducible:
Every time.
Steps to Reproduce:
1. Subscribe a host to katello and use a subscription that gives access to protected images, for example a RHMAP subscription
2. Install subscription-manager-plugin-container on the registered host
3. Try to pull a protected image: docker pull registry.access.redhat.com/rhmap43/https
Actual results:
Image is not found.
Expected results:
Image should be accessable and pulled down to the host.
Additional info:
If the host is registered to the customer portal it get the needed certificates.