Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): [root@dhcp201-162 ~]# rpm -qa | grep subscription-manager subscription-manager-0.99.7-1.el6.x86_64 subscription-manager-migration-0.99.7-1.el6.x86_64 subscription-manager-firstboot-0.99.7-1.el6.x86_64 subscription-manager-gnome-0.99.7-1.el6.x86_64 subscription-manager-migration-data-1.12-1.el6.noarch subscription-manager-debuginfo-0.99.7-1.el6.x86_64 How reproducible: Steps to Reproduce: [root@dhcp201-162 ~]# rhn-migrate-classic-to-rhsm RHN Username: qa Password: Retrieving existing RHN classic subscription information ... +----------------------------------+ System is currently subscribed to: +----------------------------------+ rhel-x86_64-server-6 Traceback (most recent call last): File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 420, in <module> main() File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 403, in main deployProdCertificates(subscribedChannels) File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 256, in deployProdCertificates dic_data = readChannelCertMapping() File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 209, in readChannelCertMapping f = open(mappingfile) IOError: [Errno 2] No such file or directory: '/usr/share/rhsm/product/RHEL-6/channel-cert-mapping.txt' Actual results: Expected results: Additional info:
Fixed in commit 372e597ced3f05721c42df0cb975bdbb02bf4019 Available in subscription-manager-migration-data-1.12.1.2+
verified!! Version: [root@dhcp201-196 RHEL-6]# rpm -qa | grep subscription-manager subscription-manager-gnome-1.0.0-1.git.31.2f65bc4.el6_2.x86_64 subscription-manager-1.0.0-1.git.31.2f65bc4.el6_2.x86_64 subscription-manager-firstboot-1.0.0-1.git.31.2f65bc4.el6_2.x86_64 subscription-manager-debuginfo-0.99.13-1.el6.x86_64 subscription-manager-migration-1.0.0-1.git.31.2f65bc4.el6_2.x86_64 subscription-manager-migration-data-1.12.1.5-1.el6.noarch steps: [root@dhcp201-196 pki]# rhn-migrate-classic-to-rhsm RHN Username: qa Password: Retrieving existing RHN Classic subscription information ... +----------------------------------+ System is currently subscribed to: +----------------------------------+ rhel-x86_64-server-6 List of channels for which certs are being copied rhel-x86_64-server-6 Product certificates copied successfully to /etc/pki/product Preparing to unregister system from RHN classic ... System successfully unregistered from RHN Classic. Attempting to register system to Certificate-based RHN ... The system has been registered with id: 7de1af13-9a8f-4278-a613-e098b925d6c1 System 'dhcp201-196.englab.pnq.redhat.com' successfully registered to Certificate-based RHN. Launching the GUI tool to manually subscribe the system ... Please visit https://access.redhat.com/management/consumers/7de1af13-9a8f-4278-a613-e098b925d6c1 to view the details, and to make changes if necessary. [root@dhcp201-196 pki]# ll /usr/share/rhsm/product/ total 4 drwxr-xr-x. 2 root root 4096 Apr 26 12:48 RHEL-6
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/RHEA-2012-0823.html