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 1078527

Summary: channel-cert-mapping for ComputeNode rhel-7 product certs are missing and wrong
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-manager-migration-dataAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: bkearney
Target Milestone: rc   
Target Release: 7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 13:15:03 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:
Bug Depends On: 1078530    
Bug Blocks: 1005618    

Description John Sefler 2014-03-19 20:08:47 UTC
Description of problem:
The cause for the failures in this bug originate from errors in http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/product-certs.json which is used as input for the generation of subscription-manager-migration-data.

There are two types of problems for the rhel7 ComputeNode mappings
 A. the Scientific Computing product cert 76 is version 6.5 when it should be 7.0
 B. there are at least two channel mappings missing
See details below.

Version-Release number of selected component (if applicable):
[root@jsefler-7 ~]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.7-1.el7.noarch


How reproducible:


Steps to Reproduce:
[root@jsefler-7 ~]# cd /usr/share/rhsm/product/RHEL-7
[root@jsefler-7 ~]# grep ComputeNode channel-cert-mapping.txt | egrep -- "-7-|7:"
rhel-x86_64-hpc-node-7-debuginfo: ComputeNode-ComputeNode-x86_64-fa1f5035476f-76.pem
rhel-x86_64-hpc-node-fastrack-7: ComputeNode-ComputeNode-x86_64-fa1f5035476f-76.pem
rhel-x86_64-hpc-node-fastrack-7-debuginfo: ComputeNode-ComputeNode-x86_64-fa1f5035476f-76.pem
rhel-x86_64-hpc-node-hpn-7: ComputeNode-HPN-x86_64-ba9d1a20344e-134.pem
rhel-x86_64-hpc-node-hpn-7-debuginfo: ComputeNode-HPN-x86_64-ba9d1a20344e-134.pem
rhel-x86_64-hpc-node-rh-common-7-debuginfo: ComputeNode-ComputeNode-x86_64-fa1f5035476f-76.pem


FailedQA 1: There is no mapping for channel rhel-x86_64-hpc-node-7


FailedQA 2: There is no mapping for channel rhel-x86_64-hpc-node-rh-common-7


[root@jsefler-7 RHEL-7]# rct cat-cert ComputeNode-ComputeNode-x86_64-fa1f5035476f-76.pem | grep ID: -A2
	ID: 76
	Name: Red Hat Enterprise Linux for Scientific Computing
	Version: 6.5
FailedQA 3:      ^^^ Expected version 7.0


[root@jsefler-7 RHEL-7]# rct cat-cert ComputeNode-HPN-x86_64-ba9d1a20344e-134.pem | grep ID: -A2
	ID: 134
	Name: Red Hat Enterprise Linux High Performance Networking (for RHEL Compute Node)
	Version: 7.0
PassedQA 4:      ^^^ This is expected.



Actual results:
above

Expected results:


Additional info:

Comment 2 Bryan Kearney 2014-07-30 19:22:49 UTC
Acking 7.1

Comment 3 John Sefler 2015-01-22 16:37:12 UTC
Re-testing against version...

[root@jsefler-os7 RHEL-7]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.16-1.el7.noarch

[root@jsefler-os7 ~]# cd /usr/share/rhsm/product/RHEL-7
[root@jsefler-os7 RHEL-7]# grep ComputeNode channel-cert-mapping.txt | egrep -- "-7-|7:"
rhel-x86_64-hpc-node-7: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-7-debuginfo: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-7-thirdparty-oracle-java-beta: ComputeNode-OracleJava-x86_64-9f9042b06588-243.pem
rhel-x86_64-hpc-node-extras-7: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-extras-7-debuginfo: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-fastrack-7: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-fastrack-7-debuginfo: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-optional-7: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-optional-7-debuginfo: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-optional-fastrack-7: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-optional-fastrack-7-debuginfo: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-rh-common-7: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-rh-common-7-debuginfo: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-supplementary-7: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-supplementary-7-debuginfo: ComputeNode-x86_64-ec682e3984b6-76.pem
rhn-tools-rhel-x86_64-hpc-node-7: ComputeNode-x86_64-ec682e3984b6-76.pem
rhn-tools-rhel-x86_64-hpc-node-7-debuginfo: ComputeNode-x86_64-ec682e3984b6-76.pem
[root@jsefler-os7 RHEL-7]# 
[root@jsefler-os7 RHEL-7]# grep rhel-x86_64-hpc-node-7 channel-cert-mapping.txt
rhel-x86_64-hpc-node-7: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-7-debuginfo: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-7-thirdparty-oracle-java-beta: ComputeNode-OracleJava-x86_64-9f9042b06588-243.pem
rhn-tools-rhel-x86_64-hpc-node-7: ComputeNode-x86_64-ec682e3984b6-76.pem
rhn-tools-rhel-x86_64-hpc-node-7-debuginfo: ComputeNode-x86_64-ec682e3984b6-76.pem
[root@jsefler-os7 RHEL-7]# 
[root@jsefler-os7 RHEL-7]# grep rhel-x86_64-hpc-node-rh-common-7 channel-cert-mapping.txt
rhel-x86_64-hpc-node-rh-common-7: ComputeNode-x86_64-ec682e3984b6-76.pem
rhel-x86_64-hpc-node-rh-common-7-debuginfo: ComputeNode-x86_64-ec682e3984b6-76.pem
[root@jsefler-os7 RHEL-7]# 
[root@jsefler-os7 RHEL-7]# rct cat-cert ComputeNode-x86_64-ec682e3984b6-76.pem | grep ID: -A2
	ID: 76
	Name: Red Hat Enterprise Linux for Scientific Computing
	Version: 7.1
[root@jsefler-os7 RHEL-7]# 


VERIFIED: RHN channels "rhel-x86_64-hpc-node-7" and "rhel-x86_64-hpc-node-rh-common-7" are now mapped to product cert ID 76 for RHEL version 7.1.

Comment 5 errata-xmlrpc 2015-03-05 13:15:03 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://rhn.redhat.com/errata/RHBA-2015-0502.html