Bug 1105279

Summary: rhn channel rhel-x86_64-server-scalefs-5 maps to a version 5.10 product cert - should be 5.11
Product: Red Hat Enterprise Linux 5 Reporter: John Sefler <jsefler>
Component: subscription-manager-migration-dataAssignee: Alex Wood <awood>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.11CC: dgregor
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: 2014-09-16 00:23:23 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:    
Bug Blocks: 1039651    

Description John Sefler 2014-06-05 18:35:43 UTC
Description of problem:

Automated testing reveals that the following...
RHN RHEL Beta Channel 'rhel-x86_64-server-scalefs-5-beta' maps to the following product cert that matches this RHEL dot release '5.11': id='92' name='Red Hat Enterprise Linux Scalable File System (for RHEL Server)' version='5.10 Beta' arch='x86_64' providedTags='rhel-5-server-scalablefilesystem,rhel-5-scalablefilesystem' expected:<5.11 Beta> but was:<5.10 Beta>

RHN RHEL Channel 'rhel-x86_64-server-scalefs-5' maps to the following product cert that matches this RHEL dot release '5.11': id='92' name='Red Hat Enterprise Linux Scalable File System (for RHEL Server)' version='5.10' arch='x86_64' providedTags='rhel-5-server-scalablefilesystem,rhel-5-scalablefilesystem' expected:<5.11> but was:<5.10>



Since subscription-manager-migration-data is generated from product-certs.json, the origin for this failure comes from http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/product-certs.json

Actual:
    "rhel-x86_64-server-scalefs-5": {
        "Product Cert CN": "Red Hat Product ID [24c51e73-6748-4212-a380-0382306c6dfd]", 
        "Product Cert file": "/rhel-5.10/Server-ScalableFileSystem-x86_64-0382306c6dfd-92.pem", 
        "Product ID": "92"
    }, 
Expected:
         "Product Cert file": "/rhel-5.11/Server-ScalableFileSystem-x86_64-c4d8b7647dca-92.pem", 

Actual:
    "rhel-x86_64-server-scalefs-5-beta": {
        "Product Cert CN": "Red Hat Product ID [2f905e6a-e07c-4b7e-b6a2-5b740e9cce56]", 
        "Product Cert file": "/rhel-5.10-beta/Server-ScalableFileSystem-x86_64-5b740e9cce56-92.pem", 
        "Product ID": "92"
    }, 
Expected:
        "Product Cert file": "/rhel-5.11-beta/Server-ScalableFileSystem-x86_64-61f22af91045-92.pem", 

After ^ that is fixed by release engineering, then package subscription-manager-migration-data needs to be regenerated.



Version-Release number of selected component (if applicable):
[root@jsefler-5 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.11 Beta (Tikanga)
[root@jsefler-5 ~]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.8-1.el5

How reproducible:


Steps to Reproduce:
[root@jsefler-5 ~]# for F in `rpm -ql subscription-manager-migration-data | grep -- -92.pem`; do echo ""; echo $F; rct cat-cert $F | grep rhel-5-server-scalablefilesystem -B5; done;

/usr/share/rhsm/product/RHEL-5/Server-ScalableFileSystem-x86_64-0382306c6dfd-92.pem
Product:
	ID: 92
	Name: Red Hat Enterprise Linux Scalable File System (for RHEL Server)
	Version: 5.10
	Arch: x86_64
	Tags: rhel-5-server-scalablefilesystem,rhel-5-scalablefilesystem

/usr/share/rhsm/product/RHEL-5/Server-ScalableFileSystem-x86_64-5b740e9cce56-92.pem
Product:
	ID: 92
	Name: Red Hat Enterprise Linux Scalable File System (for RHEL Server)
	Version: 5.10 Beta
	Arch: x86_64
	Tags: rhel-5-server-scalablefilesystem,rhel-5-scalablefilesystem

/usr/share/rhsm/product/RHEL-5/Server-ScalableFileSystem-x86_64-73dd02430f62-92.pem

/usr/share/rhsm/product/RHEL-5/Server-ScalableFileSystem-x86_64-b9db018b096c-92.pem
[root@jsefler-5 ~]# 


Actual results:
above

Expected results:
The two product certs should respectfully be for version...
	Version: 5.11
	Version: 5.11 Beta

Comment 1 RHEL Program Management 2014-06-05 20:27:49 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 2 Dennis Gregorovic 2014-07-01 15:58:04 UTC
fixed in latest product-certs.json

Comment 4 John Sefler 2014-07-02 17:07:42 UTC
(In reply to Dennis Gregorovic from comment #2)
> fixed in latest product-certs.json

yes...  dgregor fixed the upstream input to subscription-manager-migration-data, but awood needs to build a new subscription-manager-migration-data to pull in the rcm changes.   Thank you dgregor.

Comment 6 John Sefler 2014-07-18 13:55:20 UTC
Verifying Version...
[root@jsefler-5 ~]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.10-1.el5


[root@jsefler-5 ~]# for F in `rpm -ql subscription-manager-migration-data | grep -- -92.pem`; do echo ""; echo $F; rct cat-cert $F | grep rhel-5-server-scalablefilesystem -B5; done;

/usr/share/rhsm/product/RHEL-5/Server-ScalableFileSystem-x86_64-61f22af91045-92.pem
Product:
	ID: 92
	Name: Red Hat Enterprise Linux Scalable File System (for RHEL Server)
	Version: 5.11 Beta
	Arch: x86_64
	Tags: rhel-5-server-scalablefilesystem,rhel-5-scalablefilesystem

/usr/share/rhsm/product/RHEL-5/Server-ScalableFileSystem-x86_64-73dd02430f62-92.pem

/usr/share/rhsm/product/RHEL-5/Server-ScalableFileSystem-x86_64-b9db018b096c-92.pem

/usr/share/rhsm/product/RHEL-5/Server-ScalableFileSystem-x86_64-c4d8b7647dca-92.pem
Product:
	ID: 92
	Name: Red Hat Enterprise Linux Scalable File System (for RHEL Server)
	Version: 5.11
	Arch: x86_64
	Tags: rhel-5-server-scalablefilesystem,rhel-5-scalablefilesystem
[root@jsefler-5 ~]# 
[root@jsefler-5 ~]# grep Server-ScalableFileSystem-x86_64-61f22af91045-92.pem /usr/share/rhsm/product/RHEL-5/channel-cert-mapping.txt
rhel-x86_64-server-scalefs-5-beta: Server-ScalableFileSystem-x86_64-61f22af91045-92.pem
[root@jsefler-5 ~]# 
[root@jsefler-5 ~]# grep Server-ScalableFileSystem-x86_64-c4d8b7647dca-92.pem /usr/share/rhsm/product/RHEL-5/channel-cert-mapping.txt
rhel-x86_64-server-scalefs-5: Server-ScalableFileSystem-x86_64-c4d8b7647dca-92.pem
[root@jsefler-5 ~]# 

VERIFIED: the rhn channel rhel-x86_64-server-scalefs-5-beta maps to a version 5.11 Beta product cert
VERIFIED: the rhn channel rhel-x86_64-server-scalefs-5 maps to a version 5.11 product cert

Comment 8 errata-xmlrpc 2014-09-16 00:23:23 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.

http://rhn.redhat.com/errata/RHBA-2014-1225.html