Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1704953

Summary: content set mappings for "*-eus-satellite-tools-6.5-*" are missing from cdn/cs_mappings-prod.csv
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: relengAssignee: Frank DiPrete <fdiprete>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.5CC: dtodorov, fdiprete, jgalipea, lisas, mmccune
Target Milestone: rcKeywords: Triaged
Target Release: ---   
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: 2020-12-16 23:11:21 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:

Comment 4 John Sefler 2019-04-30 21:34:49 UTC
Please disregard the original comment 0 above.  I typoed all of the ContentSetLabels.  They should all refer to satellite-tools-6.5....

Description of problem:
Similar to prior bug 1629400, we have the same failures for satellite 6.5 eus....

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

Engineering product 292 - "Red Hat Enterprise Linux for Power, little endian - Extended Update Support" provides access to the following content sets...

ContentSetLabel						ContentSetID	ActualModifiedEngIDs	ExpectedModifiedEngIDs
rhel-7-for-power-le-eus-satellite-tools-6.5-debug-rpms  8535            [] <= FAILED            279
rhel-7-for-power-le-eus-satellite-tools-6.5-rpms        8536            [] <= FAILED            279
rhel-7-for-power-le-eus-satellite-tools-6.5-source-rpms 8537            [] <= FAILED            279

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

Engineering product 70 - "Red Hat Enterprise Linux Server - Extended Update Support" provides access to the following content sets...

ContentSetLabel						ContentSetID	ActualModifiedEngIDs	ExpectedModifiedEngIDs
rhel-7-server-eus-satellite-tools-6.5-debug-rpms        8505            [] <= FAILED            69
rhel-7-server-eus-satellite-tools-6.5-rpms              8506            [] <= FAILED            69
rhel-7-server-eus-satellite-tools-6.5-source-rpms       8507            [] <= FAILED            69

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

Engineering product 75 - "Red Hat Enterprise Linux for Power, big endian - Extended Update Support" provides access to the following content sets...

ContentSetLabel						ContentSetID	ActualModifiedEngIDs	ExpectedModifiedEngIDs
rhel-7-for-power-eus-satellite-tools-6.5-debug-rpms     8529            [] <= FAILED            74
rhel-7-for-power-eus-satellite-tools-6.5-rpms           8530            [] <= FAILED            74
rhel-7-for-power-eus-satellite-tools-6.5-source-rpms    8531            [] <= FAILED            74

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


Because these are EUS content sets, the intended business requirement is that a customer who is granted an entitlement to these content sets must also have an entitlement to the base product that these EUS content sets modify.  In order to achieve this requirement, the RHSM Candlepin tooling expects the list of ModifiedEngIDs to be accurate and non-empty.  If product management agrees, then I believe the following rcm file

http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/cs_mappings-prod.csv

should be updated to include an ENG CONTENT ID, MODIFIES mapping to the product ExpectedModifiedEngIDs listed in the table above.

If no changes are made, then a customer will continue gaining access to the EUS content provided by the failing repos above without also attaching an entitlement that provides the base engineering id.

Comment 6 Frank DiPrete 2019-05-03 18:14:28 UTC
I've modified cs_mappings-prod.csv to include an ENG CONTENT ID, MODIFIES mapping to the product ExpectedModifiedEngIDs
Change is out for review.

Comment 7 Lisa S 2019-05-06 12:28:03 UTC
This work is scheduled to be done as part of the Satellite GA tasks.  Here is the RCM ticket tracking this work:
https://projects.engineering.redhat.com/browse/RCM-56349

For future releases, we could move this work to be done earlier in the GA prep release process if it would be useful to other teams.

Comment 8 Frank DiPrete 2019-05-07 14:06:58 UTC
work completed in https://projects.engineering.redhat.com/browse/RCM-56349

Comment 12 John Sefler 2019-07-29 15:09:47 UTC
(In reply to Lisa S from comment #9)
> @jsefler, ... You were missing system-z and hpc-node content sets:

Agreed! I have updated my test account to include an EUS subscription that provides products 217 and 73 and now I catch these failing triplets too...


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

Engineering product 217 - "Red Hat Enterprise Linux EUS Compute Node" provides access to the following content sets...

ContentSetLabel						ContentSetID	ActualModifiedEngIDs	ExpectedModifiedEngIDs
rhel-7-for-hpc-node-eus-satellite-tools-6.5-rpms        8545            [] <= FAILED            76
rhel-7-for-hpc-node-eus-satellite-tools-6.5-debug-rpms  8544            [] <= FAILED            76
rhel-7-for-hpc-node-eus-satellite-tools-6.5-source-rpms 8546            [] <= FAILED            76

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

Engineering product 73 - "Red Hat Enterprise Linux for IBM z Systems - Extended Update Support" provides access to the following content sets...

ContentSetLabel						ContentSetID	ActualModifiedEngIDs	ExpectedModifiedEngIDs
rhel-7-for-system-z-eus-satellite-tools-6.5-rpms        8524            [] <= FAILED            72
rhel-7-for-system-z-eus-satellite-tools-6.5-debug-rpms  8523            [] <= FAILED            72
rhel-7-for-system-z-eus-satellite-tools-6.5-source-rpms 8525            [] <= FAILED            72

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

Comment 13 Mike McCune 2019-09-13 18:37:46 UTC
Why is this being tracked in bugzilla? This is an RCM ticket and not a bug in Satellite 6. It is also tagged into Satellite 6.6 as a release blocker, which it is not.

I'm going to clear those flags so it isn't getting mixed in with 6.6 and can we consider driving these types of CDN issues entirely in Jira and not Satellite 6 bugzilla, which is for product defects, not tasks.

Comment 14 Frank DiPrete 2019-09-13 19:20:20 UTC
additional mappings added, 
https://projects.engineering.redhat.com/browse/RCM-64908
is resolved

Comment 15 John Sefler 2019-10-22 22:37:42 UTC
(In reply to Frank DiPrete from comment #14)
> additional mappings added, 
> https://projects.engineering.redhat.com/browse/RCM-64908
> is resolved

RCM ticket RCM-64908 appears to have resolved *-eus-satellite-tools-6.6-* content sets which was reported and verified in Bug 1734039.  But it does not appear to have fixed this bug for *-eus-satellite-tools-6.5-* content sets; eus content set tests are still failing.

Comment 17 Frank DiPrete 2019-10-23 13:08:17 UTC
I opened another Jira ticket for 6.5 mappings
https://projects.engineering.redhat.com/browse/RCM-68948

Can you please provide the list like you did for 6.6 ?
Thank you

Comment 18 Frank DiPrete 2019-10-23 18:30:52 UTC
From the lists above

8505, 69
8506, 69
8507, 69

8524, 72
8523, 72
8525, 72

8529, 74
8530, 74
8531, 74

8535, 279
8536, 279
8537, 279

8545, 76
8544, 76
8546, 76

Correct John ?

Comment 19 Frank DiPrete 2019-10-23 18:39:00 UTC
mappings added - task complete
https://projects.engineering.redhat.com/browse/RCM-68948

Comment 21 Frank DiPrete 2019-10-28 19:47:55 UTC
John,

What RCM does is update the files (qa stage and prod) and then we run
rcm-metadata/cdn/push_cs_mappings --eng <enviro> cs_mappings-stage.csv

I don't know of any other process.
-Frank

Comment 25 Frank DiPrete 2019-10-29 18:45:13 UTC
I've run the subscription pool refresh for prod with success.

Running again stage, I am getting a failure to queue.
https://projects.engineering.redhat.com/browse/RCM-69497

Comment 26 John Sefler 2019-11-04 21:07:17 UTC
FYI...  This bug is not fixed.

The list in comment 18 will fix this bug, but they still do not appear in http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/cs_mappings-prod.csv

The attempt to refresh in Comment 25 must be done AFTER they have been added to the cs_mappings-prod.csv file.

After the list in comment 18 is added to cs_mappings-prod.csv, then you will have to do a subscription_pool_refresh.py --env prod 217 73 292 70 75

----------------
Repeat for env stage


Moving the status back to NEW.  Nothing appears fixed.

Comment 27 Frank DiPrete 2019-11-04 21:17:05 UTC
Interesting.
I definitely updated the file with the mappings in comment 18

see 
https://projects.engineering.redhat.com/browse/RCM-68948?focusedCommentId=1894599&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1894599

I see that they are not in the file now though.

Comment 28 Frank DiPrete 2019-11-04 21:21:30 UTC
changes were taken out by this commit

commit f18f43eeb11abdf128c9dea2b2cd40b2be24a301
Author: Pavel Niahodkin <pniahodk>
Date: Tue Oct 29 12:11:05 2019 -0400

./update-data

Change-Id: Ia070fb3651d7d3c56a5d649ec4454c49cf6e2674

diff --git a/cdn/cs_mappings-prod.csv b/cdn/cs_mappings-prod.csv
index 235d7ab..e1f8efe 100644
— a/cdn/cs_mappings-prod.csv
+++ b/cdn/cs_mappings-prod.csv
@@ -438,21 +438,6 @@ ENG CONTENT ID, MODIFIES
7792, 76
7793, 76
7794, 76
-8505, 69
-8506, 69
-8507, 69
-8523, 72
-8524, 72
-8525, 72
-8529, 74
-8530, 74
-8531, 74
-8535, 279
-8536, 279
-8537, 279
-8544, 76
-8545, 76
-8546, 76
8937, 69
8938, 69
8939, 69

Comment 29 Frank DiPrete 2019-11-06 18:51:57 UTC
I have put back the missing mappings.
I missed a step previously.
They won't go missing again.

Comment 30 Frank DiPrete 2019-11-12 21:21:04 UTC
successfully ran subscription pool refresh on stage as well.

Comment 33 John Sefler 2020-12-16 23:11:21 UTC
Moving to CLOSED:CURRENTRELEASE as automated Entitlement Tests have been passing for the rhel7 extended repos in the comments above