After Migrating Satellite 5.x to RHSM, rhn-satellite-activate Fails with "ERROR: Enabling of Satellite repository failed. Is there Satellite subscription attached to this system? Is the version of RHEL and Satellite certificate correct?"
Issue
- I have migrated my Satellite 5.6 or 5.7 system to RHSM, and when trying to activate the new certificate with the
rhn-satellite-activatecommand, I receive the following error:
# rhn-satellite-activate --rhn-cert=/path/to/cert.xml
RHN_PARENT: satellite.rhn.redhat.com
Enabling of Satellite repository failed.
Return value: 1
Standard-out: Error: 'rhel-6-server-satellite-5.7-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
Standard-error:
ERROR: Enabling of Satellite repository failed. Is there Satellite subscription attached to this system? Is the version of RHEL and Satellite certificate correct?
Environment
- Red Hat Satellite 5.6
- Red Hat Satellite 5.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
