After migrating Red Hat Satellite v 5.6 or 5.7 from RHN Classic to RHSM, Satellite-sync fails with error: Error Class Code: 31

Solution Verified - Updated -

Issue

  • After migrating Satellite v 5.6 or 5.7 from RHN Classic to RHSM, satellite-sync fails with error:
# satellite-sync -l
21:50:08 Red Hat Satellite - live synchronization
21:50:08    url: https://satellite.rhn.redhat.com
21:50:08    debug/output level: 1
21:50:09
21:50:09
ERROR: there was a problem synchronizing the information.
       Error message:
Error Message:
    Service not enabled for system profile: "satellite.example.com"
Error Class Code: 31
Error Class Info:
     This system does not have a valid entitlement for Red Hat Network.
     Please visit https://rhn.redhat.com/rhn/systems/SystemEntitlements.do
     or login at https://rhn.redhat.com, and from the "Your RHN" tab,
     select "Subscription Management" to enable RHN service for this system.
Explanation:
     An error has occurred while processing your request. If this problem
     persists please enter a bug report at bugzilla.redhat.com.
     If you choose to submit the bug report, please be sure to include
     details of what you were trying to do when this error occurred and
     details on how to reproduce this problem.

Environment

  • Red Hat Satellite v 5.6 or 5.7
  • Migration from RHN Classic to RHSM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content