Bug 1100872 - missing a mapping for RHEL4 channel 'rhel-ia64-ws-4'
Summary: missing a mapping for RHEL4 channel 'rhel-ia64-ws-4'
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: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel511
TreeView+ depends on / blocked
 
Reported: 2014-05-23 16:38 UTC by John Sefler
Modified: 2014-09-16 00:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-16 00:23:09 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-05-23 16:38:20 UTC
Description of problem:

WARNING: Expected RHEL4 channel 'rhel-ia64-ws-4' was not found in channel cert mapping file '/usr/share/rhsm/product/RHEL-5/channel-cert-mapping.txt'.

The source of the problem comes from the current version of release engineering file http://git.app.eng.bos.redhat.com/git/rcm/rcm-metadata.git/tree/cdn/product-certs.json

Expected this file to include a mapping for 'rhel-ia64-ws-4'



Two more problems that needs to be fixed are...
product-certs.json erroneously includes this mapping for "rhel-i386-ws-4-beta"...

    "rhel-i386-ws-4-beta": {
        "Product Cert CN": "Red Hat Product ID [01c22314-6f42-43a8-bd44-7adcd93f3821]", 
        "Product Cert file": "/rhel-6.5-beta/Workstation-Workstation-i386-7adcd93f3821-71.pem", 
        "Product ID": "71"
    }, 


product-certs.json erroneously includes this mapping for "rhel-x86_64-ws-4-beta"...

    "rhel-x86_64-ws-4-beta": {
        "Product Cert CN": "Red Hat Product ID [5e0db6fd-dcef-4af3-8419-c566f140b1ae]", 
        "Product Cert file": "/rhel-6.5/Workstation-Workstation-x86_64-c566f140b1ae-71.pem", 
        "Product ID": "71"
    }, 


^^^ Notice the path to rhel-6.5 for a rhel 4 channel.  That's wrong.



Version-Release number of selected component (if applicable):
[root@jsefler-5 ~]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.8-1.el5

Comment 1 John Sefler 2014-05-23 16:39:59 UTC
NEEDINFO from release engineering to initiate a fix for this bug.

Comment 2 John Sefler 2014-07-17 18:36:23 UTC
Testing Version....
[root@jsefler-5 ~]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.10-1.el5

[root@jsefler-5 ~]# grep rhel-ia64-ws-4 /usr/share/rhsm/product/RHEL-5/channel-cert-mapping.txt
rhel-ia64-ws-4: WS-WS-ia64-e629ad625c9b-71.pem
rhel-ia64-ws-4-beta: WS-WS-ia64-e629ad625c9b-71.pem

This is fixed.

Comment 5 John Sefler 2014-08-06 15:52:41 UTC
Verifying Version...
[root@jsefler-5 ~]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.10-1.el5

[root@jsefler-5 ~]# grep ws-4 /usr/share/rhsm/product/RHEL-5/channel-cert-mapping.txt
rhel-i386-ws-4: WS-WS-i386-dbff386779cf-71.pem
rhel-i386-ws-4-beta: WS-WS-i386-dbff386779cf-71.pem
rhel-ia64-ws-4: WS-WS-ia64-e629ad625c9b-71.pem
rhel-ia64-ws-4-beta: WS-WS-ia64-e629ad625c9b-71.pem
rhel-x86_64-ws-4: WS-WS-x86_64-d7a7013e636c-71.pem
rhel-x86_64-ws-4-beta: WS-WS-x86_64-d7a7013e636c-71.pem

[root@jsefler-5 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-5/WS-WS-i386-dbff386779cf-71.pem | grep Product: -A5
Product:
	ID: 71
	Name: Red Hat Enterprise Linux Workstation
	Version: 4WS
	Arch: i386
	Tags: rhel-4,rhel-4-ws

[root@jsefler-5 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-5/WS-WS-i386-dbff386779cf-71.pem | grep Product: -A5
Product:
	ID: 71
	Name: Red Hat Enterprise Linux Workstation
	Version: 4WS
	Arch: i386
	Tags: rhel-4,rhel-4-ws

[root@jsefler-5 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-5/WS-WS-ia64-e629ad625c9b-71.pem | grep Product: -A5
Product:
	ID: 71
	Name: Red Hat Enterprise Linux Workstation
	Version: 4WS
	Arch: ia64
	Tags: rhel-4,rhel-4-ws

[root@jsefler-5 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-5/WS-WS-ia64-e629ad625c9b-71.pem | grep Product: -A5
Product:
	ID: 71
	Name: Red Hat Enterprise Linux Workstation
	Version: 4WS
	Arch: ia64
	Tags: rhel-4,rhel-4-ws

[root@jsefler-5 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-5/WS-WS-x86_64-d7a7013e636c-71.pem | grep Product: -A5
Product:
	ID: 71
	Name: Red Hat Enterprise Linux Workstation
	Version: 4WS
	Arch: x86_64
	Tags: rhel-4,rhel-4-ws

[root@jsefler-5 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-5/WS-WS-x86_64-d7a7013e636c-71.pem | grep Product: -A5
Product:
	ID: 71
	Name: Red Hat Enterprise Linux Workstation
	Version: 4WS
	Arch: x86_64
	Tags: rhel-4,rhel-4-ws


VERIFIED: All of the rhel-4-ws product/channel mappings have been fixed.

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