Bug 1538479

Summary: [RFE] Add cp_label into API output
Product: Red Hat Satellite Reporter: Ondřej Pražák <oprazak>
Component: RepositoriesAssignee: Ondřej Pražák <oprazak>
Status: CLOSED ERRATA QA Contact: Ales Dujicek <adujicek>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: adujicek, mmccune, oprazak, vijsingh
Target Milestone: 6.4.0Keywords: FutureFeature, 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-10-16 15:30:08 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 Ondřej Pražák 2018-01-25 08:01:17 UTC
When adding hosts that were previously consuming content from CDN, a user has a list of repos that were enabled by running `subscription-manager repos --list-enabled | awk '/Repo ID:/{print $3}'` on each host. This exported list of repos should be used to check if all the repos are available in Katello, so that hosts can subscribe. But there is no way of doing that because cp_label is not exposed in API.

Comment 1 Ondřej Pražák 2018-01-25 08:01:22 UTC
Created from redmine issue http://projects.theforeman.org/issues/22385

Comment 2 Ondřej Pražák 2018-01-25 08:01:26 UTC
Upstream bug assigned to oprazak

Comment 4 Satellite Program 2018-01-25 09:19:40 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/22385 has been resolved.

Comment 11 errata-xmlrpc 2018-10-16 15:30:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2927