Bug 1877452 - content set mappings for satellite-tools-6.8-for-rhel-8 AUS repos are missing from cdn/cs_mappings-*.csv
Summary: content set mappings for satellite-tools-6.8-for-rhel-8 AUS repos are missing...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: releng
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.8.0
Assignee: Frank DiPrete
QA Contact: Akhil Jha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-09 16:31 UTC by John Sefler
Modified: 2020-10-27 13:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:08:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:09:18 UTC

Description John Sefler 2020-09-09 16:31:01 UTC
Description of problem:
This bug is essentially a repeat of bug 1840874 for satellite-tools-6.8 

Content sets for AUS (Advanced Mission Critical Update Support) should have a cs_mapping constraint similar to EUS that enforces RHEL systems to be entitled to the base RHEL products in addition to the AUS add-on subscription support. (inferred from https://access.redhat.com/solutions/2975771).   That means that content set constraints should be imposed on all *-aus-* content set repos which will block an entitled rhel system from accessing the *-aus-* repos until they have also attached a subscription that provides the base rhel engineering product that the *-aus-* repos extend.  To achieve this behavior, the OIDS for all *-aus-* content set repos need to be added to a cs_mappings file followed by a call to refresh pools for all the AUS engineering ids.


Below are lists of the AUS content set OIDs missing from...
 http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/cs_mappings-prod.csv
 http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/cs_mappings-stage.csv
 http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/cs_mappings-qa.csv


----------------------------------------------------------

From EngID 251: Red Hat Enterprise Linux Server - AUS
Provided by add-on sku RH01893: Red Hat Enterprise Linux Server AMC Support (AUS, 1 Virtual Node, Embedded, Billing)
The ENG CONTENT IDs below correspond to satellite-tools-6.8-for-rhel-8-x86_64-aus-*rpms content set repos and should extend their corresponding non-aus content set repos provided by EngID 479.

ENG CONTENT ID, MODIFIES        Content Set Label provided for information
10345, 479                <==== satellite-tools-6.8-for-rhel-8-x86_64-aus-source-rpms
10343, 479                <==== satellite-tools-6.8-for-rhel-8-x86_64-aus-rpms
10344, 479                <==== satellite-tools-6.8-for-rhel-8-x86_64-aus-debug-rpms


----------------------------------------------------------

After the content set mappings ENG CONTENT ID, MODIFIES above are committed to...
 http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/cs_mappings-prod.csv
 http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/cs_mappings-stage.csv
 http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/cs_mappings-qa.csv
RCM will need to issue the following calls to refresh pools to apply the new constraints

/mnt/redhat/scripts/rel-eng/utility/pool_refresh/subscription_pool_refresh.py --env prod 251
/mnt/redhat/scripts/rel-eng/utility/pool_refresh/subscription_pool_refresh.py --env stage 251
/mnt/redhat/scripts/rel-eng/utility/pool_refresh/subscription_pool_refresh.py --env qa 251

Comment 3 Frank DiPrete 2020-09-10 13:42:29 UTC
fixed in SPMM-2134

Comment 6 John Sefler 2020-10-06 18:14:18 UTC
I visually inspected the production http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/cs_mappings-prod.csv file and found all the requested constraints have been added.
I also have automated test coverage (as part of a subscription-management test suite) that is now passing.
I am moving this to VERIFIED.

Comment 9 errata-xmlrpc 2020-10-27 13:08:57 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 (Important: Satellite 6.8 release), 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-2020:4366


Note You need to log in before you can comment on or make changes to this bug.