| Summary: | “Install-num-migrate-to-rhsm “ command not working as expected for I386 Box | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | spandey |
| Component: | subscription-manager | Assignee: | Chris Duryee <cduryee> |
| Status: | CLOSED ERRATA | QA Contact: | Entitlement Bugs <entitlement-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.8 | CC: | bkearney, cduryee, jmolet, jsefler, kbanerje, skallesh, spandey, syeghiay, wpoteat |
| Target Milestone: | rc | ||
| Target Release: | 5.8 | ||
| Hardware: | i386 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-0.98.11.el5 | Doc Type: | Bug Fix |
| Doc Text: |
No description necessary
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-21 06:44:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 715031, 782064 | ||
|
Description
spandey
2012-01-06 12:57:27 UTC
d6880cda6849a6deb4bf8ec59564735d746f764f master 0.99.3 Verified using following rpm subscription-manager-firstboot-0.99.3-1.git.6.d6880cd.el5 subscription-manager-migration-0.99.3-1.git.6.d6880cd.el5 subscription-manager-migration-data-1.7-1.el5 subscription-manager-0.99.3-1.git.6.d6880cd.el5 subscription-manager-gnome-0.99.3-1.git.6.d6880cd.el5 [root@dhcp201-141 ~]# install-num-migrate-to-rhsm -d -i 20f91e3421ed551e Copying /usr/share/rhsm/product/RHEL-5/Server-Server-i386-8283bfc7-e1a1-46b0-8f3a-00ae03ee4822-69.pem to /etc/pki/product/69.pem marking verified using above subscription-manager rpm 6bce149 RHEL5.8 0.98.11+ Verifying Version...
[root@hp-dl585-02 ~]# rpm -qa | grep subscription-manager
subscription-manager-migration-data-1.10-1.el5
subscription-manager-0.98.11-1.el5
subscription-manager-gnome-0.98.11-1.el5
subscription-manager-migration-0.98.11-1.el5
subscription-manager-firstboot-0.98.11-1.el5
[root@hp-dl585-02 ~]# uname -a
Linux hp-dl585-02.rhts.eng.bos.redhat.com 2.6.18-303.el5PAE #1 SMP Tue Jan 3 16:49:58 EST 2012 i686 athlon i386 GNU/Linux
[root@hp-dl585-02 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 Beta (Tikanga)
[root@hp-dl585-02 ~]# cat /etc/sysconfig/rhn/install-num
49af89414d147589
[root@hp-dl585-02 ~]# subscription-manager list --installed
No installed Products to list
[root@hp-dl585-02 ~]# install-num-migrate-to-rhsm
Copying /usr/share/rhsm/product/RHEL-5/Server-Server-i386-8283bfc7-e1a1-46b0-8f3a-00ae03ee4822-69.pem to /etc/pki/product/69.pem
Copying /usr/share/rhsm/product/RHEL-5/Server-ClusterStorage-i386-a3429260-14b7-4256-8bc2-9a099bc303f8-90.pem to /etc/pki/product/90.pem
Copying /usr/share/rhsm/product/RHEL-5/Server-Cluster-i386-b79bfdf1-a36b-4483-abe8-da53e9903196-83.pem to /etc/pki/product/83.pem
[root@hp-dl585-02 ~]# subscription-manager list --installed
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
ProductName: Red Hat Enterprise Linux Server
Version: 5.7
Arch: i386
Status: Not Subscribed
Starts: None
Expires: None
ProductName: Red Hat Enterprise Linux High Availability (for RHEL Server)
Version: 5.7
Arch: i386
Status: Not Subscribed
Starts: None
Expires: None
ProductName: Red Hat Enterprise Linux Resilient Storage (for RHEL Server)
Version: 5.7
Arch: i386
Status: Not Subscribed
Starts: None
Expires: None
[root@hp-dl585-02 ~]# subscription-manager facts --list | grep migr
migration.migrated_from: install_number
[root@hp-dl585-02 ~]#
[root@dhcp201-141 ~]# rpm -qa | grep subscription
subscription-manager-firstboot-0.98.11-1.el5
subscription-manager-migration-0.98.11-1.el5
subscription-manager-migration-data-1.10-1.el5
subscription-manager-debuginfo-0.98.11-1.el5
subscription-manager-gnome-0.98.11-1.el5
subscription-manager-0.98.11-1.el5
[root@dhcp201-141 ~]# install-num-migrate-to-rhsm -i 20f91e3421ed551e
Copying /usr/share/rhsm/product/RHEL-5/Server-Server-i386-8283bfc7-e1a1-46b0-8f3a-00ae03ee4822-69.pem to /etc/pki/product/69.pem
[root@dhcp201-141 ~]# subscription-manager list --installed
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
ProductName: Red Hat Enterprise Linux Server
Version: 5.7
Arch: i386
Status: Not Subscribed
Starts: None
Expires: None
[root@dhcp201-141 ~]# rm -rf /etc/pki/product/69.pem
[root@dhcp201-141 ~]# install-num-migrate-to-rhsm --d
Copying /usr/share/rhsm/product/RHEL-5/Server-Server-i386-8283bfc7-e1a1-46b0-8f3a-00ae03ee4822-69.pem to /etc/pki/product/69.pem
Copying /usr/share/rhsm/product/RHEL-5/Server-ClusterStorage-i386-a3429260-14b7-4256-8bc2-9a099bc303f8-90.pem to /etc/pki/product/90.pem
Copying /usr/share/rhsm/product/RHEL-5/Server-Cluster-i386-b79bfdf1-a36b-4483-abe8-da53e9903196-83.pem to /etc/pki/product/83.pem
[root@dhcp201-141 ~]# subscription-manager list --installed
No installed Products to list
[root@dhcp201-141 ~]# install-num-migrate-to-rhsm --d --i 20f91e3421ed551e
Copying /usr/share/rhsm/product/RHEL-5/Server-Server-i386-8283bfc7-e1a1-46b0-8f3a-00ae03ee4822-69.pem to /etc/pki/product/69.pem
[root@dhcp201-141 ~]# subscription-manager list --installed
No installed Products to list
[root@dhcp201-141 ~]#
[root@dhcp201-141 ~]# subscription-manager facts --list | grep migr migration.migrated_from: install_number As per comment 7 and 8 working fine Marking defect verified
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:
No description necessary
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-0154.html |