Issue With Migration From RHN To RHSM
Currently using RHN for updates. When running the migration scripts the command to enable the rhel-6-server-optional-rpms errors with "rhel-6-server-optional-rpms does not match a valid repository." Looking at the previous command (yum search subscription-manager-migration -v) after the line 'Updating Subscription Management Repositories" is says Unable to read consumer identity. I have a current RH license and the system is registered in RHN. What am I missing?
Yum Search command output:
Loading "rhnplugin" plugin
Loading "product-id" plugin
Loading "search-disabled-repos" plugin
Loading "security" plugin
Loading "subscription-manager" plugin
Updating Subscription Management repositories.
Unable to read consumer identity
====================================== N/S Matched: subscription-manager-migration =======================================
subscription-manager-migration.x86_64 : Migration scripts for moving to certificate based subscriptions
Repo : rhel-x86_64-server-6
Matched from:
subscription-manager-migration-data.noarch : RHN Classic to RHSM migration data
Repo : rhel-x86_64-server-6
Matched from:
Name and summary matches only, use "search all" for everything.
Responses
Do you have the RHN-to-RHSM migration script already installed, or is that what you are trying to do here?
Please provide output of the following commands:
subscription-manager status
subscription-manager repos
The last command lists the repositories available to the system, which is dependent on its subscription status and associated subscriptions. This information will help in troubleshooting the problem here.
Please also provide the exact command you are using to run the migration script.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
