Hide Forgot
In the output below, the migration script displays "Successfully subscribed" even though there was not a successful autosubscribe event. There is no reason to display the "Successfully subscribed" message at all, since subscription-manager already displays proper output. +++ This bug was initially created as a clone of Bug #768415 +++ [root@dhcp201-205 ~]# rhn-migrate-classic-to-rhsm RHN Username: stage_test_31 Password: Retrieving existing RHN classic subscription information ... +----------------------------------+ System is currently subscribed to: +----------------------------------+ rhel-i386-client-5 rhel-i386-client-supplementary-5 rhel-i386-client-fastrack-5 rhn-tools-rhel-i386-client-5 List of channels for which certs are being copied rhel-i386-client-5 rhel-i386-client-supplementary-5 rhel-i386-client-fastrack-5 rhn-tools-rhel-i386-client-5 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: d327c7de-1771-4e6e-b970-6005bbb8cd6d System 'dhcp201-205.englab.pnq.redhat.com' successfully registered to Certificate-based RHN. Attempting to auto-subscribe to appropriate subscriptions ... Installed Product Current Status: ProductName: Red Hat Enterprise Linux Desktop Status: Not Subscribed Successfully subscribed.
452cee38b48b7aad8d5f7a4a4889f273ad8ec971 master 0.99.4+
Verifying Verison... # rpm -q subscription-manager-migration subscription-manager-migration-0.99.9-1.el6.x86_64 # rhn-migrate-classic-to-rhsm --cli-only 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: 47abd8dd-a96b-4693-908b-069dbba77f07 System 'hp-xw9300-01.rhts.eng.bos.redhat.com' successfully registered to Certificate-based RHN. Attempting to auto-subscribe to appropriate subscriptions ... Installed Product Current Status: ProductName: Red Hat Enterprise Linux Server Status: Subscribed Please visit https://access.redhat.com/management/consumers/47abd8dd-a96b-4693-908b-069dbba77f07 to view the details, and to make changes if necessary. ^^^ Notice that the message "Successfully subscribed." from comment #0 has been removed from the output of rhn-migrate-classic-to-rhsm tool and the Installed Product Current Status listing gives the "Status" result of the attempt to auto-subscribe for each of the installed products individually. Moving to VERIFIED