Bug 1320607

Summary: rhel-x86_64-server-hpn-6 channel maps are absent from channel-cert-mapping.txt
Product: Red Hat Enterprise Linux 6 Reporter: John Sefler <jsefler>
Component: subscription-manager-migration-dataAssignee: vritant <vrjain>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.8CC: anthomas, bcourt, bkearney, jgalipea
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: 2017-03-21 10:54:52 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:

Description John Sefler 2016-03-23 15:49:43 UTC
Description of problem:

RHN Classic channel 'rhel-x86_64-server-hpn-6' is accounted for in subscription-manager-migration-data file '/usr/share/rhsm/product/RHEL-6/channel-cert-mapping.txt'. expected:<true> but was:<false>

RHN Classic channel 'rhel-x86_64-server-hpn-6-debuginfo' is accounted for in subscription-manager-migration-data file '/usr/share/rhsm/product/RHEL-6/channel-cert-mapping.txt'. expected:<true> but was:<false>

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

How reproducible:


Steps to Reproduce:
[root@jsefler-6 ~]# grep "rhel-x86_64-server-hpn-6" /usr/share/rhsm/product/RHEL-6/channel-cert-mapping.txt
rhel-x86_64-server-hpn-6-beta: Server-HPN-x86_64-c9bf6ef2fe49-132.pem
rhel-x86_64-server-hpn-6-beta-debuginfo: Server-HPN-x86_64-c9bf6ef2fe49-132.pem
[root@jsefler-6 ~]# 

Actual results:
  above

Expected results:
  also expected the grep to find channel maps for:
rhel-x86_64-server-hpn-6
rhel-x86_64-server-hpn-6-debuginfo

Additional info:
Before this bug can be fixed in subscription-manager-migration-data, an upstream fix to http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/product-certs.json must be done by Release Engineering.

Comment 3 John Sefler 2017-01-16 19:55:38 UTC
This is still a bug in version...
[root@jsefler-rhel6 ~]# rpm -q subscription-manager-migration-data 
subscription-manager-migration-data-2.0.32-1.el6.noarch
[root@jsefler-rhel6 ~]# grep "rhel-x86_64-server-hpn-6" /usr/share/rhsm/product/RHEL-6/channel-cert-mapping.txt
rhel-x86_64-server-hpn-6-beta: Server-HPN-x86_64-c9bf6ef2fe49-132.pem
rhel-x86_64-server-hpn-6-beta-debuginfo: Server-HPN-x86_64-c9bf6ef2fe49-132.pem
[root@jsefler-rhel6 ~]# 

Moreover, satellite-sync shows that the beta channels are empty....
[root@rhsm-sat5 ~]# satellite-sync --list-channels > allchannels.txt
[root@rhsm-sat5 ~]# egrep "rhel-x86_64-server-hpn-6" allchannels.txt
12:24:47       p rhel-x86_64-server-hpn-6                   54 
12:24:47       p rhel-x86_64-server-hpn-6-beta               0     <==== EMPTY
12:24:47       p rhel-x86_64-server-hpn-6-beta-debuginfo     0     <==== EMPTY
12:24:47       p rhel-x86_64-server-hpn-6-debuginfo         24 
[root@rhsm-sat5 ~]# 


NEEDINFO

Comment 4 John Sefler 2017-02-13 17:49:30 UTC
Re-testing version...
[root@jsefler-rhel6 ~]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.33-1.el6.noarch
[root@jsefler-rhel6 ~]# grep "rhel-x86_64-server-hpn-6" /usr/share/rhsm/product/RHEL-6/channel-cert-mapping.txt
rhel-x86_64-server-hpn-6: Server-HPN-x86_64-1a212270d985-132.pem
rhel-x86_64-server-hpn-6-beta: Server-HPN-x86_64-d5403bb5f7d1-132.pem
rhel-x86_64-server-hpn-6-beta-debuginfo: Server-HPN-x86_64-d5403bb5f7d1-132.pem
rhel-x86_64-server-hpn-6-debuginfo: Server-HPN-x86_64-1a212270d985-132.pem
[root@jsefler-rhel6 ~]# 

VERIFIED: The non-beta rhn channel to product cert maps are included in subscription-manager-migration-data-2.0.33-1.el6.noarch

Comment 6 John Sefler 2017-02-16 19:07:01 UTC
Verifying Version...
[root@jsefler-rhel6 ~]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.34-1.el6.noarch
[root@jsefler-rhel6 ~]# 
[root@jsefler-rhel6 ~]# grep "rhel-x86_64-server-hpn-6" /usr/share/rhsm/product/RHEL-6/channel-cert-mapping.txt
rhel-x86_64-server-hpn-6: Server-HPN-x86_64-1a212270d985-132.pem
rhel-x86_64-server-hpn-6-beta: Server-HPN-x86_64-d5403bb5f7d1-132.pem
rhel-x86_64-server-hpn-6-beta-debuginfo: Server-HPN-x86_64-d5403bb5f7d1-132.pem
rhel-x86_64-server-hpn-6-debuginfo: Server-HPN-x86_64-1a212270d985-132.pem
[root@jsefler-rhel6 ~]# 

VERIFIED: The non-beta (in addition to the beta) rhn channel to product cert maps are included in subscription-manager-migration-data-2.0.34-1.el6.noarch

Comment 8 errata-xmlrpc 2017-03-21 10:54:52 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/RHSA-2017-0698.html