Bug 1464183

Summary: container image repo synced to foreman-proxy-content loses pulp attribute repo_registry_id
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: Capsule - ContentAssignee: Tom McKay <tomckay>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bkearney, jcallaha, jsherril
Target Milestone: Unspecified   
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: 2017-07-19 15:32:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom McKay 2017-06-22 15:11:06 UTC
The 'repo_registry_id' field on a pulp repo is not set when it is synced to a foreman-proxy-content capsule.

To confirm, use pulp-admin to examine the repo on both foreman and the capsule. Note that the repo registry id info should be present in both.

<pre>

pulp-admin -u admin -p admin docker repo list --repo-id 3-rhcc-v2_0-00feb0ad-cfa1-4d6b-bc1b-367c0b777fe3 --details
...
Distributors:         
  Auto Publish:         True
  Config:               
    Protected:        False
    Repo-registry-id: examplecorp-rhcc-2_0-red_hat_container_catalog-openshift3_
                      ose-docker-registry
...
</pre>

Comment 1 Tom McKay 2017-06-22 15:11:11 UTC
Created from redmine issue http://projects.theforeman.org/issues/19683

Comment 2 Tom McKay 2017-06-22 15:11:16 UTC
Upstream bug assigned to tomckay

Comment 5 Justin Sherrill 2017-07-19 15:32:29 UTC
This was investigated upstream and it didn't seem to make much sense, as the Library instances are the only ones that have this special 'repo_registry_id'.

Content view instances such as the one in the description will never have a simple id.  Closing for now, but feel free to reopen.