Warning message

Log in to add comments or rate this document.

RHEL system experiences "Error Class Code: 91" when registering or updating

Updated 2015-04-07T22:21:24+00:00

Issue

  • While registering system using rhnreg_ks command, it fails with "Error Class Code: 91" error:

    An error has occurred: 
    Error Message: 
    Registration failed: RHN Software Management service entitlements exhausted
    Error Class Code: 91 
    Error Class Info: 
    Registration token unable to entitle system: maximum membership exceeded 
    
  • Even if there are active Management entitlements in the account, the system registration fails with "Error Class Code: 91 ".

Environment

  • Red Hat Enterprise Linux
  • Red Hat Network Satellite
  • Red Hat Network Classic (RHN)

Resolution

  • If there are no active or free Management Entitlements, then additional Management entitlements will need to be purchased to continue using activation keys.

  • If this issue is seen without using Activation Keys to register a system, it might be possible that there is an activation key in RHN account which is set as a "Universal Default". In this case, RHN would try to apply the default key to any system registering to RHN Classic, leading to the error. Removing the Universal Default setting of the activation key would allow the registration of systems without using a key and without purchasing more Management entitlements. To do this, follow these steps:

RHN Classic:

  1. Login to the Red Hat Customer Portal.
  2. Click on the Subscriptions at the upper left.
  3. Go to Registered Systems under Manage section.
  4. Go to Activation Keys under Management section.
  5. Browse the list of keys, looking for any key that has the Universal Default column marked Yes.
  6. Click on the key, change the Universal Default setting to No and click Update Key.
  7. Try to register the system again.

Red Hat Satellite:

  1. Login to the Satellite webUI.
  2. Click on the Systems tab.
  3. Click on Activation Keys.
  4. Check for any Activation Keys in the list that have a '*' next to them, which indicates they are set as a Universal Default.
  5. Click on the Universal Default Activation Key, and un-check the box next to Universal Default:, and save.
  6. Try to re-register the Client again.

Note: For additional issues concerning Error Class Code: 91, see Article: Error Class Code: 91.

Root Cause

  • Error Class Code: 91 is most commonly received while trying to use activation keys to register a system to RHN Classic, but you have exhausted all available Management entitlements.
  • Management entitlement is must for any system using an activation key for registration, the registration attempt will fail if there are no available Management entitlements.
  • If there is any activation key created on RHN and it set as Universal Default which has extra entitlements assigned like Virtualization or Monitoring.
  • If any subscriptions have expired from the account and if there is a Universal Default activation key which is using channels or entitlements provided by that subscription. See RHN Classic Registration fails with Error Class Code 91 and unexpected entitlement requirements for more details.