Insufficient or Invalid Entitlement Status on Virtual host when registered with Red Hat Satellite 6.

Solution Verified - Updated -

Environment

  • Red Hat Satellite 6

Issue

  • Virtual host shows Invalid subscription status after registering with Red Hat Satellite 6.

    +-------------------------------------------+
    System Status Details
    +-------------------------------------------+
    Overall Status: Invalid
    

Resolution

  • Remove katello.facts & uuid.facts files from the affected host.

    # rm -rf /etc/rhsm/facts/katello.facts
    # rm -rf /etc/rhsm/facts/uuid.facts
    
  • Run the below command on the affected host to regenerate the facts.

    # subscription-manager facts
    
  • Report the correct facts to Satellite.

    # subscription-manager facts --update
    
  • Wait for a few minutes then execute the below commands.

    # subscription-manager refresh --force
    # subscription-manager status
    

Root Cause

  • virt.uuid is empty in /etc/rhsm/facts/katello.facts file.
  • dmi.system.uuid does not contain a valid uuid in /etc/rhsm/facts/uuid.facts file.

Diagnostic Steps

  • Verify virt.uuid and dmi.system.uuid values mentioned in the files facts.json , katello.facts and uuid.facts.

    # cat /var/lib/rhsm/facts/facts.json  
    {"system.certificate_version": "3.2", "virt.is_guest": true, "virt.host_type": 
    "nutanix_ahv", **"virt.uuid": ""**
    "dmi.system.serial_number": "XXXXXXXX-XXXX-XXXX-XXXX- 
    XXXXXXXXXXXX", "dmi.system.family": "Red Hat Enterprise Linux", 
    "dmi.system.uuid": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
    
    # cat /etc/rhsm/facts/katello.facts 
    {"network.hostname-override": "client_host", "dmi.system.uuid": "", 
    "virt.uuid": ""}
    
    #  cat /etc/rhsm/facts/uuid.facts 
    {"dmi.system.uuid":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"}
    

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments