Bug 1105279 - rhn channel rhel-x86_64-server-scalefs-5 maps to a version 5.10 product cert - should be 5.11
Summary: rhn channel rhel-x86_64-server-scalefs-5 maps to a version 5.10 product cert ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager-migration-data
Version: 5.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Alex Wood
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel511
TreeView+ depends on / blocked
 
Reported: 2014-06-05 18:35 UTC by John Sefler
Modified: 2014-09-16 00:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-16 00:23:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1225 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2014-09-16 04:15:23 UTC

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


Note You need to log in before you can comment on or make changes to this bug.