Red Hat Bugzilla – Bug 790437
install-num-migrate-to-rhsm should NOT copy both Desktop (68.pem) and Workstation (71.pem) product certs
Last modified: 2012-08-10 09:07:30 EDT
This bug has been copied from bug #790217 and has been proposed to be backported to 5.8 z-stream (EUS).
Committed f45a14868053c2c6de1dff4d518f8f600d996258 Available in subscription-manager-0.98.15+
(In reply to comment #4) > Committed f45a14868053c2c6de1dff4d518f8f600d996258 > > Available in subscription-manager-0.98.15+ Available in subscription-manager-0.98.16+ ^typo correction
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
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
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.