Unknown subscription status when using Simple Content Access

Solution Verified - Updated -

Environment

  • Red Hat Customer Portal
  • Red Hat Satellite 6.5 and later

Issue

  • Why do I see my host registered in Satellite is in 'warning state' when using Simple Content Access?
  • Why is the subscription status for my host showing: "Unknown subscription status" ?

Resolution

Host status showing 'Unknown' in Red Hat Satellite and Red Hat Customer Portal web UI

  • This is the expected behavior. In Simple Content Access, hosts actually wouldn't consume any subscriptions to get the content. It just needs to be registered to the Satellite or Customer Portal and it can start consuming content.
  • In the future versions of Satellite, when Simple Content Access mode is enabled, we will no longer count subscription status anymore. The feature is being tracked via this RFE 1789924.

Subscription-manager status on the client

  • Ensure to update subscription-manager package on your client to the latest version.
  • Starting from version 1.24, subscription-manager will report a status of Disabled when Simple Content Access mode is enabled:

    # subscription-manager status
    +-------------------------------------------+
         System Status Details
    +-------------------------------------------+
    Overall Status: Disabled
    Content Access Mode is set to Organization/Environment Access. This host has access to content, regardless of subscription status.
    

Root Cause

This is expected behavior when using Simple Content Access. In a future version of Satellite, subscription status will no longer be counted when in simple content access mode.

Subscription-manager status on the client

  • Newer version of subscription-manager now better handle client status when simple content access is being used.

Diagnostic Steps

Steps to reproduce :

  1. Enable simple content access on the Satellite or Customer Portal
  2. Register a host with the Satellite or Customer Portal
  3. Enable the repositories needed on the host

For systems registered to Red Hat Satellite

  • In the Satellite GUI under Content Hosts >> your_host_here >> Subscriptions Status will appear as yellow
  • On client CLI, run subscription-manager statuscommand which gives below output:

    # subscription-manager status
    +-------------------------------------------+
         System Status Details
    +-------------------------------------------+
    Overall Status: Unknown
    Content Access Mode is set to Organization/Environment Access. This host has access to content, regardless of subscription status.
    

For systems registered to Red Hat Customer Portal

  • Navigate to https://access.redhat.com/management/systems >> A '?' symbol inside a black circle appears next to system name >> Click on system to view its details where it displays 'Unknown' below Subscriptions heading.
  • On system CLI, run subscription-manager statuscommand which gives below output:

    # subscription-manager status
    +-------------------------------------------+
      System Status Details
    +-------------------------------------------+
    Overall Status: Unknown
    
  • On system CLI, run rpm -qa | grep -i subscriptioncommand to check if version of installed subscription-manager package is below 1.24 :

    # rpm -qa | grep -i subscription
    subscription-manager-1.19.21-1.el7.x86_64
    

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