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 1257212

Summary: various RHEL7 channel maps to product certs are missing in subscription-manager-migration-data
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-manager-migration-dataAssignee: candlepin-bugs
Status: CLOSED DUPLICATE QA Contact: John Sefler <jsefler>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.2CC: anthomas, awood
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-17 15:11:19 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:

Description John Sefler 2015-08-26 13:59:14 UTC
Description of problem:
The comments following in this bugs list RHEL7 channels that were detected from an automated test suite that is complaining about RHN channels that are currently available to a RHEL7 system registered to a Satellite5 server but are not accounted for in the subscription-manager-migration-data package that contains a list of classic channels to product certificate maps....

NEEDINFO from release engineering if the lack of mappings is expected or if the upstream product-certs.json file needs to be regenerated and fed into the script that generates subscription-manager-migration-data.
The upstream mappings are provided by http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/product-certs.json


RHN Classic channel '<SUBSTITUTE FROM LISTED COMMENTS BELOW>' is accounted for in subscription-manager-migration-data file '/usr/share/rhsm/product/RHEL-7/channel-cert-mapping.txt'. expected:<true> but was:<false>


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


How reproducible:


Steps to Reproduce:
[root@jsefler-7 ~]# grep <SUBSTITUTE CHANNEL FROM LISTED COMMENTS BELOW>: /usr/share/rhsm/product/RHEL-7/channel-cert-mapping.txt


Actual results:
  no hit

Expected results:
  a map from the named channel to a product certificate

Additional info:

Comment 1 John Sefler 2015-08-26 14:03:10 UTC
rhel-x86_64-server-hts-7-debuginfo
rhel-x86_64-server-hts-7-beta
rhel-x86_64-server-7-beta-debuginfo
rhel-x86_64-server-7-beta
rhel-x86_64-server-ha-7-beta-debuginfo
rhel-x86_64-server-ha-7-beta
rhel-x86_64-server-optional-7-beta-debuginfo
rhel-x86_64-server-optional-7-beta
rhel-x86_64-server-rs-7-beta-debuginfo
rhel-x86_64-server-rs-7-beta
rhel-x86_64-server-supplementary-7-beta-debuginfo
rhel-x86_64-server-supplementary-7-beta
rhel-x86_64-server-v2vwin-7-beta-debuginfo
rhel-x86_64-server-v2vwin-7-beta

Comment 2 John Sefler 2015-08-31 22:10:56 UTC
rhel-ppc64-server-7-beta
rhel-ppc64-server-7-beta-debuginfo
rhel-ppc64-server-hts-7-beta
rhel-ppc64-server-hts-7-debuginfo
rhel-ppc64-server-optional-7-beta
rhel-ppc64-server-optional-7-beta-debuginfo
rhel-ppc64-server-supplementary-7-beta
rhel-ppc64-server-supplementary-7-beta-debuginfo

Comment 3 John Sefler 2015-08-31 22:15:27 UTC
rhel-x86_64-client-7-beta
rhel-x86_64-client-7-beta-debuginfo
rhel-x86_64-client-optional-7-beta
rhel-x86_64-client-optional-7-beta-debuginfo
rhel-x86_64-client-supplementary-7-beta
rhel-x86_64-client-supplementary-7-beta-debuginfo

Comment 4 John Sefler 2015-08-31 22:18:17 UTC
rhel-x86_64-hpc-node-7-beta
rhel-x86_64-hpc-node-7-beta-debuginfo
rhel-x86_64-hpc-node-optional-7-beta
rhel-x86_64-hpc-node-optional-7-beta-debuginfo
rhel-x86_64-hpc-node-supplementary-7-beta
rhel-x86_64-hpc-node-supplementary-7-beta-debuginfo

Comment 5 John Sefler 2015-08-31 22:21:05 UTC
rhel-x86_64-workstation-7-beta
rhel-x86_64-workstation-7-beta-debuginfo
rhel-x86_64-workstation-optional-7-beta
rhel-x86_64-workstation-optional-7-beta-debuginfo
rhel-x86_64-workstation-supplementary-7-beta
rhel-x86_64-workstation-supplementary-7-beta-debuginfo

Comment 6 Andrew Thomas 2015-09-04 17:01:02 UTC
Updated mappings file with these channels.

Note: Any hts-7-beta and v2v-7-beta channels will be ignored as they do not have any beta content. Please ignore in the future.

Comment 7 John Sefler 2015-09-04 20:10:27 UTC
rhel-s390x-server-7-beta
rhel-s390x-server-7-beta-debuginfo
rhel-s390x-server-hts-7-beta
rhel-s390x-server-hts-7-debuginfo
rhel-s390x-server-optional-7-beta
rhel-s390x-server-optional-7-beta-debuginfo
rhel-s390x-server-supplementary-7-beta
rhel-s390x-server-supplementary-7-beta-debuginfo

Comment 8 Andrew Thomas 2015-09-14 15:35:58 UTC
Added to product-certs.json

Comment 9 John Sefler 2015-09-15 18:02:30 UTC
These four channels exist in upstream product-certs.json
They do not exist in subscription-manager-migration-data-2.0.23-1.el7.noarch


rhel-x86_64-client-7-thirdparty-oracle-java
rhel-x86_64-hpc-node-7-thirdparty-oracle-java
rhel-x86_64-server-7-thirdparty-oracle-java
rhel-x86_64-workstation-7-thirdparty-oracle-java

Comment 10 John Sefler 2015-09-15 18:23:40 UTC
(In reply to John Sefler from comment #9)
> These four channels exist in upstream product-certs.json

My mistake...  The four channels in comment 9 are *not* found in upstream product-certs.json.  NEEDINFO from anthomas.

Comment 11 Andrew Thomas 2015-09-16 18:08:46 UTC
Certificates were not created for 7.2 and these channels were therefore dropped when the update from 7.1 to 7.2 occurred. I have created the certs and regenerated the file.

Comment 12 Alex Wood 2015-09-17 15:02:31 UTC
In subscription-manager-migration-data-2.0.24-1

Comment 13 Alex Wood 2015-09-17 15:11:19 UTC

*** This bug has been marked as a duplicate of bug 1241221 ***