Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1444465

Summary: Hosts registered to Satellite cannot pull protected images
Product: Red Hat Satellite Reporter: Johan Swensson <jswensso>
Component: Container Management - ContentAssignee: Tom McKay <tomckay>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.8CC: bbuckingham, jcallaha, jswensso, sgraessl, tomckay
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-04 20:08:11 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 Johan Swensson 2017-04-21 11:53:42 UTC
Description of problem:
Not sure if this is a Satellite or subscription-manager issue but here goes.

When a host is registered to Satellite 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 Satellite 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.

Comment 2 Tom McKay 2017-04-21 13:10:14 UTC
Created redmine issue http://projects.theforeman.org/issues/19347 from this bug

Comment 4 Johan Swensson 2017-04-21 14:38:49 UTC
(In reply to Johan Swensson from comment #0)
> 3. Try to pull a protected image: docker pull
> registry.access.redhat.com/rhmap43/https
> 

Minor typo, the image is called registry.access.redhat.com/rhmap43/httpd

A more complete list of protected RHMAP images can also be found here https://access.redhat.com/containers/#/pl/RedHatMobileApplicationPlatform

Comment 5 Sebastian Gräßl 2017-08-28 12:28:00 UTC
Can this issue be closed or is there still an issue pulling the image with the steps provided to reproduce?

Comment 6 Johan Swensson 2017-09-01 12:10:35 UTC
Please keep this open, still reproducible on RHEL 7.4 and Satellite 6.2.11