Virtual Machines register showing as "0" subscription attached on the Customer Portal

Solution Verified - Updated -

Environment

  • Red Hat Customer Portal
  • Red Hat Subscription Management

Issue

  • Virtual Machines (VMs) register with Virtual Datacenter subscription showing as "0" subscription attached on the customer portal.
  • Why all the VMs are showing 0 subscriptions attached on the customer portal?

Resolution

  • This is a known issue and is currently being tracked under Public Red Hat Bugzilla # 2075577.

  • Information can be still checked by opening the system profile which shows 0 while listing on the Systems Tab.

  • For More Information, open a support case with Red Hat Technical Support Team.

Root Cause

Red Hat Bugzilla # 2075577.

Diagnostic Steps

  • Check the system status.
[root@test~]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Current

System Purpose Status: Not Specified
  • Verify the attached Subscription.
[root@test~]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Red Hat Enterprise Linux for Virtual Datacenters, Standard
Provides:            Red Hat Beta
                     Red Hat Enterprise Linux Atomic Host
                     Red Hat CodeReady Linux Builder for x86_64
                     Red Hat Enterprise Linux Atomic Host Beta
                     Oracle Java (for RHEL Server)
                     Red Hat Developer Tools (for RHEL Server)
                     Red Hat Developer Tools Beta (for RHEL Server)
                     Red Hat Developer Toolset (for RHEL Server)
                     Red Hat Software Collections (for RHEL Server)
                     Red Hat Enterprise Linux for x86_64
                     Red Hat Software Collections Beta (for RHEL Server)
                     dotNET on RHEL (for RHEL Server)
                     Red Hat Ansible Engine
                     Red Hat Enterprise Linux Server
SKU:                 RH00050
Contract:            xxxxxxxx
Account:             xxxxxxx
Serial:              xxxxxxxxxxxxxxxxxxx
Pool ID:            xxxxxxxxxxxxxxxxxxx
Provides Management: Yes
Active:              True
Quantity Used:       1
Service Type:        L1-L3
Roles:               Red Hat Enterprise Linux Server
Service Level:       Standard
Usage:               Production
Add-ons:
Status Details:      Subscription is current
Subscription Type:   Standard
Starts:              xx/xx/xxxx
Ends:                xx/xx/xxxx
Entitlement Type:    Virtual
  • Verify if Hosts and guests are reporting in the rhsm.log (/var/log/rhsm/rhsm.log)
[root@test~]# tail -f /var/log/rhsm/rhsm.log
.
.
host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=0
2022-02-19 09:34:06,693 [rhsm.connection DEBUG] MainProcess(1851):Thread-3 @connection.py:_request:553 - Using proxy: xxxxxxxxxx:xxxx
2022-02-19 09:34:06,693 [rhsm.connection DEBUG] MainProcess(1851):Thread-3 @connection.py:_request:571 - Making request: GET /subscription/status/
2022-02-19 09:34:06,691 [virtwho.destination_xxxxxxxxxx INFO] MainProcess(1851):Thread-3 @virt.py:_send_data:651 - Hosts-to-guests mapping for config "vmware": 2 hypervisors and 53 guests found
2022-02-19 09:34:06,691 [virtwho.destination_xxxxxxxxxx INFO] MainProcess(1851):Thread-3 @virt.py:_send_data:682 - Sending updated Host-to-guest mapping to "xxxxxxx" including 2 hypervisors and 53 guests
2022-02-19 09:34:06,691 [virtwho.destination_xxxxxxxxxx DEBUG] MainProcess(1851):Thread-3 @subscriptionmanager.py:_connect:148 - Authenticating with certificate: /etc/pki/consumer/cert.pem
2022-02-19 09:34:08,594 [virtwho.destination_xxxxxxxxxx DEBUG] MainProcess(1851):Thread-3 @subscriptionmanager.py:_is_rhsm_server_async:290 - Server has capability 'xxxxxxx_xxxxx'
2022-02-19 09:34:08,596 [virtwho.destination_xxxxxxxxxx DEBUG] MainProcess(1851):Thread-3 @subscriptionmanager.py:hypervisorCheckIn:207 - Host-to-guest mapping being sent to 'xxxxxxxx': {
    "hypervisors": [
        {
            "hypervisorId": {
                "hypervisorId": "xxx"
            },
            "name": "xxx",
            "guestIds": [
                {
                    "guestId": "xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxx",
                    "state": 5,
                    "attributes": {
                        "virtWhoType": "esx",
                        "active": 0
                    }
    ]
.
.
}
2022-02-19 09:34:09,774 [rhsm.connection DEBUG] MainProcess(1851):Thread-3 @connection.py:_request:618 - Response: status=202, requestUuid=xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxx request="POST /subscription/hypervisors/xxxxxxxx?env=&cloaked=False&reporter_id=virt-who.ivgwd.adtran.com-xxxxxxxxxxxxxxxxxxxxxxxxxxx"

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