Bug 1555913

Summary: subscription-manager-migration-data for RHEL6.10 needs RHEL6.10 product certs (not RHEL6.9 certs)
Product: Red Hat Enterprise Linux 6 Reporter: John Sefler <jsefler>
Component: subscription-manager-migration-dataAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.10CC: bkearney, csnyder, jfedor, ktordeur, mkolaja, salmy
Target Milestone: rc   
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: 2018-06-19 05:21:43 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 2018-03-14 20:00:21 UTC
Description of problem:
For the RHEL6.10 release, subscription-manager-migration-data needs to be regenerated to pull in the RHEL6.10 product certs from release engineering.


Version-Release number of selected component (if applicable):
[root@jsefler-rhel6 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.10 Beta (Santiago)
[root@jsefler-rhel6 ~]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.34-1.el6.noarch

How reproducible:


Steps to Reproduce:
[root@jsefler-rhel6 ~]# for F in `rpm -ql subscription-manager-migration-data | grep .pem`; do echo "$F"; rct cat-cert $F | egrep "6\.10$" -B3 -A5; done;


Actual results:
a list of all the product cert files in subscription-manager-migration-data

Expected results:
a list of all the product cert files in subscription-manager-migration-data with the version "6.10" certs highlighted

Additional info:
This bug is dependent on an update to upstream http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/product-certs.json

Comment 4 John Sefler 2018-03-28 15:43:26 UTC
RHN RHEL Channel '<CHANNEL>' maps to a product cert that corresponds to RHEL minor release version '6.10' is failing for all these CHANNELS when tested against subscription-manager-migration-data-2.0.41-1.el6.noarch

rhel-i386-client-6-thirdparty-oracle-java
rhel-i386-client-extras-6
rhel-i386-client-extras-6-debuginfo
rhel-i386-client-fastrack-6
rhel-i386-client-fastrack-6-debuginfo
rhel-i386-client-optional-6
rhel-i386-client-optional-6-debuginfo
rhel-i386-client-optional-fastrack-6
rhel-i386-client-optional-fastrack-6-debuginfo
rhel-i386-client-rh-common-6
rhel-i386-client-rh-common-6-debuginfo
rhel-i386-client-supplementary-6
rhel-i386-client-supplementary-6-debuginfo
rhel-i386-rhev-agent-6-client
rhel-i386-rhev-agent-6-client-debuginfo
rhel-i386-rhev-agent-6-server
rhel-i386-rhev-agent-6-server-debuginfo
rhel-i386-rhev-agent-6-workstation
rhel-i386-rhev-agent-6-workstation-debuginfo
rhel-i386-server-6-cf-tools-1
rhel-i386-server-6-cf-tools-1-debuginfo
rhel-i386-server-6-thirdparty-oracle-java
rhel-i386-server-extras-6
rhel-i386-server-extras-6-debuginfo
rhel-i386-server-fastrack-6
rhel-i386-server-fastrack-6-debuginfo
rhel-i386-server-ha-fastrack-6
rhel-i386-server-ha-fastrack-6-debuginfo
rhel-i386-server-lb-fastrack-6
rhel-i386-server-lb-fastrack-6-debuginfo
rhel-i386-server-optional-6
rhel-i386-server-optional-6-debuginfo
rhel-i386-server-optional-fastrack-6
rhel-i386-server-optional-fastrack-6-debuginfo
rhel-i386-server-rh-common-6
rhel-i386-server-rh-common-6-debuginfo
rhel-i386-server-rs-fastrack-6
rhel-i386-server-rs-fastrack-6-debuginfo
rhel-i386-server-supplementary-6
rhel-i386-server-supplementary-6-debuginfo
rhel-i386-workstation-6-thirdparty-oracle-java
rhel-i386-workstation-extras-6
rhel-i386-workstation-extras-6-debuginfo
rhel-i386-workstation-fastrack-6
rhel-i386-workstation-fastrack-6-debuginfo
rhel-i386-workstation-optional-6
rhel-i386-workstation-optional-6-debuginfo
rhel-i386-workstation-optional-fastrack-6
rhel-i386-workstation-optional-fastrack-6-debuginfo
rhel-i386-workstation-rh-common-6
rhel-i386-workstation-rh-common-6-debuginfo
rhel-i386-workstation-supplementary-6
rhel-i386-workstation-supplementary-6-debuginfo
rhel-ppc64-server-extras-6
rhel-ppc64-server-extras-6-debuginfo
rhel-ppc64-server-fastrack-6
rhel-ppc64-server-fastrack-6-debuginfo
rhel-ppc64-server-optional-6
rhel-ppc64-server-optional-6-debuginfo
rhel-ppc64-server-optional-fastrack-6
rhel-ppc64-server-optional-fastrack-6-debuginfo
rhel-ppc64-server-rh-common-6
rhel-ppc64-server-rh-common-6-debuginfo
rhel-ppc64-server-supplementary-6
rhel-ppc64-server-supplementary-6-debuginfo
rhel-s390x-server-extras-6
rhel-s390x-server-extras-6-debuginfo
rhel-s390x-server-fastrack-6
rhel-s390x-server-fastrack-6-debuginfo
rhel-s390x-server-optional-6
rhel-s390x-server-optional-6-debuginfo
rhel-s390x-server-optional-fastrack-6
rhel-s390x-server-optional-fastrack-6-debuginfo
rhel-s390x-server-rh-common-6
rhel-s390x-server-rh-common-6-debuginfo
rhel-s390x-server-supplementary-6
rhel-s390x-server-supplementary-6-debuginfo
rhel-x86_64-client-6-thirdparty-oracle-java
rhel-x86_64-client-extras-6
rhel-x86_64-client-extras-6-debuginfo
rhel-x86_64-client-fastrack-6
rhel-x86_64-client-fastrack-6-debuginfo
rhel-x86_64-client-optional-6
rhel-x86_64-client-optional-6-debuginfo
rhel-x86_64-client-optional-fastrack-6
rhel-x86_64-client-optional-fastrack-6-debuginfo
rhel-x86_64-client-rh-common-6
rhel-x86_64-client-rh-common-6-debuginfo
rhel-x86_64-client-supplementary-6
rhel-x86_64-client-supplementary-6-debuginfo
rhel-x86_64-hpc-node-6-thirdparty-oracle-java
rhel-x86_64-hpc-node-extras-6
rhel-x86_64-hpc-node-extras-6-debuginfo
rhel-x86_64-hpc-node-fastrack-6
rhel-x86_64-hpc-node-fastrack-6-debuginfo
rhel-x86_64-hpc-node-optional-6
rhel-x86_64-hpc-node-optional-6-debuginfo
rhel-x86_64-hpc-node-optional-fastrack-6
rhel-x86_64-hpc-node-optional-fastrack-6-debuginfo
rhel-x86_64-hpc-node-rh-common-6
rhel-x86_64-hpc-node-rh-common-6-debuginfo
rhel-x86_64-hpc-node-sfs-fastrack-6
rhel-x86_64-hpc-node-sfs-fastrack-6-debuginfo
rhel-x86_64-hpc-node-supplementary-6
rhel-x86_64-hpc-node-supplementary-6-debuginfo
rhel-x86_64-rhev-agent-6-client
rhel-x86_64-rhev-agent-6-client-debuginfo
rhel-x86_64-rhev-agent-6-server
rhel-x86_64-rhev-agent-6-server-debuginfo
rhel-x86_64-rhev-agent-6-workstation
rhel-x86_64-rhev-agent-6-workstation-debuginfo
rhel-x86_64-server-6-cf-tools-1
rhel-x86_64-server-6-cf-tools-1-debuginfo
rhel-x86_64-server-6-thirdparty-oracle-java
rhel-x86_64-server-extras-6
rhel-x86_64-server-extras-6-debuginfo
rhel-x86_64-server-fastrack-6
rhel-x86_64-server-fastrack-6-debuginfo
rhel-x86_64-server-ha-fastrack-6
rhel-x86_64-server-ha-fastrack-6-debuginfo
rhel-x86_64-server-lb-fastrack-6
rhel-x86_64-server-lb-fastrack-6-debuginfo
rhel-x86_64-server-optional-6
rhel-x86_64-server-optional-6-debuginfo
rhel-x86_64-server-optional-fastrack-6
rhel-x86_64-server-optional-fastrack-6-debuginfo
rhel-x86_64-server-rh-common-6
rhel-x86_64-server-rh-common-6-debuginfo
rhel-x86_64-server-rhsclient-6
rhel-x86_64-server-rhsclient-6-debuginfo
rhel-x86_64-server-rs-fastrack-6
rhel-x86_64-server-rs-fastrack-6-debuginfo
rhel-x86_64-server-sfs-fastrack-6
rhel-x86_64-server-sfs-fastrack-6-debuginfo
rhel-x86_64-server-supplementary-6
rhel-x86_64-server-supplementary-6-debuginfo
rhel-x86_64-server-v2vwin-6
rhel-x86_64-server-v2vwin-6-debuginfo
rhel-x86_64-workstation-6-thirdparty-oracle-java
rhel-x86_64-workstation-extras-6
rhel-x86_64-workstation-extras-6-debuginfo
rhel-x86_64-workstation-fastrack-6
rhel-x86_64-workstation-fastrack-6-debuginfo
rhel-x86_64-workstation-optional-6
rhel-x86_64-workstation-optional-6-debuginfo
rhel-x86_64-workstation-optional-fastrack-6
rhel-x86_64-workstation-optional-fastrack-6-debuginfo
rhel-x86_64-workstation-rh-common-6
rhel-x86_64-workstation-rh-common-6-debuginfo
rhel-x86_64-workstation-sfs-fastrack-6
rhel-x86_64-workstation-sfs-fastrack-6-debuginfo
rhel-x86_64-workstation-supplementary-6
rhel-x86_64-workstation-supplementary-6-debuginfo

Comment 8 Jaroslav Fedor 2018-05-15 12:21:13 UTC
John, please ingore all fast-track repos. Those are not used anymore.

Comment 11 John Sefler 2018-05-18 23:15:14 UTC
Re-tested against version..
[root@hp-moonshot-01-c09 ~]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.42-1.el6.noarch

Ignoring the -fastrack- repos as instructed in comment 8, remaining repos that fail this test are the -extras- repos...

rhel-i386-client-extras-6
rhel-i386-client-extras-6-debuginfo
rhel-i386-server-extras-6
rhel-i386-server-extras-6-debuginfo
rhel-i386-workstation-extras-6
rhel-i386-workstation-extras-6-debuginfo
rhel-ppc64-server-extras-6
rhel-ppc64-server-extras-6-debuginfo
rhel-s390x-server-extras-6
rhel-s390x-server-extras-6-debuginfo
rhel-x86_64-client-extras-6
rhel-x86_64-client-extras-6-debuginfo
rhel-x86_64-hpc-node-extras-6
rhel-x86_64-hpc-node-extras-6-debuginfo
rhel-x86_64-server-extras-6
rhel-x86_64-server-extras-6-debuginfo
rhel-x86_64-workstation-extras-6
rhel-x86_64-workstation-extras-6-debuginfo


Customers that are consuming these RHN channels and attempt to migrate to RHSM will encounter the same situation presented in Bug 1569491

Please advise.

Comment 12 John Sefler 2018-05-18 23:24:21 UTC
Moving status back to NEW/FailedQA for further review.

Comment 13 Chris Snyder 2018-05-23 14:15:02 UTC
Moving back to ON_QA as a new build with the following certs has been added: 


rhel-i386-client-extras-6
rhel-i386-client-extras-6-debuginfo
rhel-i386-server-extras-6
rhel-i386-server-extras-6-debuginfo
rhel-i386-workstation-extras-6
rhel-i386-workstation-extras-6-debuginfo
rhel-ppc64-server-extras-6
rhel-ppc64-server-extras-6-debuginfo
rhel-s390x-server-extras-6
rhel-s390x-server-extras-6-debuginfo
rhel-x86_64-client-extras-6
rhel-x86_64-client-extras-6-debuginfo
rhel-x86_64-hpc-node-extras-6
rhel-x86_64-hpc-node-extras-6-debuginfo
rhel-x86_64-server-extras-6
rhel-x86_64-server-extras-6-debuginfo
rhel-x86_64-workstation-extras-6
rhel-x86_64-workstation-extras-6-debuginfo

Comment 15 John Sefler 2018-05-25 18:43:30 UTC
Re-tested against version..
[root@jsefler-rhel6 ~]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.43-1.el6.noarch

[root@jsefler-rhel6 ~]# grep rhel-i386-client-extras-6 /usr/share/rhsm/product/RHEL-6/channel-cert-mapping.txt
rhel-i386-client-extras-6: Client-i386-21372bbe0db1-68.pem
rhel-i386-client-extras-6-debuginfo: Client-i386-21372bbe0db1-68.pem
[root@jsefler-rhel6 ~]# 
[root@jsefler-rhel6 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-6/Client-i386-21372bbe0db1-68.pem | tail -10 | grep Version
	Version: 6.10     <============ VERIFIED 
[root@jsefler-rhel6 ~]# 


VERIFIED: The product cert version corresponding to RHN channel  rhel-i386-client-extras-6 and rhel-i386-client-extras-6-debuginfo is 6.10 as expected.  The same is true about the rest of the channels from comment 11.

Moving to VERIFIED.

Comment 17 errata-xmlrpc 2018-06-19 05:21:43 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://access.redhat.com/errata/RHBA-2018:1916