Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 790437 - install-num-migrate-to-rhsm should NOT copy both Desktop (68.pem) and Workstation (71.pem) product certs
install-num-migrate-to-rhsm should NOT copy both Desktop (68.pem) and Worksta...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager (Show other bugs)
5.8
Unspecified Unspecified
urgent Severity urgent
: rc
: ---
Assigned To: William Poteat
Entitlement Bugs
: ZStream
Depends On: 790217 795784
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-14 09:41 EST by RHEL Product and Program Management
Modified: 2012-08-10 09:07 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the "install-num-migrate-to-rhsm" utility did not work correctly for certain products. Consequently, the utility installed also a superfluous Desktop product certificate when the system was provided with an installation number for a Workstation product and vice versa. With this update, "install-num-migrate-to-rhsm" has been fixed and only the correct product certificate is now installed under these circumstances.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-02-21 00:02:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0148 normal SHIPPED_LIVE subscription-manager bug fix update 2012-02-21 05:01:24 EST

  None (edit)
Description RHEL Product and Program Management 2012-02-14 09:41:36 EST
This bug has been copied from bug #790217 and has been proposed
to be backported to 5.8 z-stream (EUS).
Comment 4 Alex Wood 2012-02-14 09:52:00 EST
Committed f45a14868053c2c6de1dff4d518f8f600d996258

Available in subscription-manager-0.98.15+
Comment 5 John Sefler 2012-02-14 13:43:27 EST
(In reply to comment #4)
> Committed f45a14868053c2c6de1dff4d518f8f600d996258
> 
> Available in subscription-manager-0.98.15+
  Available in subscription-manager-0.98.16+
                                          ^typo correction
Comment 6 John Sefler 2012-02-14 14:02:08 EST
Test procedure taken from https://bugzilla.redhat.com/show_bug.cgi?id=790217#c7

Verifying Version...
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager-migration
subscription-manager-migration-0.98.16-1.el5_8


Case1: Desktop only instnumber 000000870003fc01... 
[root@jsefler-onprem-5server ~]# python /usr/lib/python2.4/site-packages/instnum.py 000000870003fc01 | egrep "^{.*}$"
{'Base': 'Client'}
[root@jsefler-onprem-5server ~]# install-num-migrate-to-rhsm -d -i 000000870003fc01
Copying /usr/share/rhsm/product/RHEL-5/Client-Client-x86_64-6587edcf1c03-68.pem to /etc/pki/product/68.pem
[root@jsefler-onprem-5server ~]# 

^^^ Verified that only the Desktop product cert (68.pem) will be installed


Case2: Workstation instnumber 000000a4004ffc01...
[root@jsefler-onprem-5server ~]# python /usr/lib/python2.4/site-packages/instnum.py 000000a4004ffc01 | egrep "^{.*}$"
{'Workstation': 'Workstation', 'Base': 'Client'}
[root@jsefler-onprem-5server ~]# install-num-migrate-to-rhsm -d -i 000000a4004ffc01
Copying /usr/share/rhsm/product/RHEL-5/Client-Workstation-x86_64-f812997e0eda-71.pem to /etc/pki/product/71.pem
[root@jsefler-onprem-5server ~]# 

^^^ Verified that only the Workstation product cert (71.pem) will be installed
Comment 7 errata-xmlrpc 2012-02-21 00:02:18 EST
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-2012-0148.html
Comment 8 Miroslav Svoboda 2012-02-21 08:22:24 EST
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, the "install-num-migrate-to-rhsm" utility did not work correctly for certain products. Consequently, the utility installed also a superfluous Desktop product certificate when the system was provided with an installation number for a Workstation product and vice versa. With this update, "install-num-migrate-to-rhsm" has been fixed and only the correct product certificate is now installed under these circumstances.

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