virt-who service is throwing error "The hypervisor id 'localhost' is assigned to 2 different systems. Only one will be recorded at the server."

Solution Verified - Updated -

Issue

  • virt-who service is not able to report all the hypervisors on the customer portal and throwing below error messages in the debug logs:-

    2022-07-13 15:47:38,600 [virtwho.destination WARNING] MainProcess(10120):Thread-4 @subscriptionmanager.py:_hypervisor_mapping:314 - The hypervisor id 'localhost' is assigned to 2 different systems. Only one will be recorded at the server.
    2022-07-13 15:47:38,602 [virtwho.destination WARNING] MainProcess(10120):Thread-4 @subscriptionmanager.py:_hypervisor_mapping:314 - The hypervisor id 'localhost' is assigned to 2 different systems. Only one will be recorded at the server.
    2022-07-13 15:47:38,603 [virtwho.destination WARNING] MainProcess(10120):Thread-4 @subscriptionmanager.py:_hypervisor_mapping:314 - The hypervisor id 'localhost' is assigned to 2 different systems. Only one will be recorded at the server.
    2022-07-13 15:47:38,604 [virtwho.destination WARNING] MainProcess(10120):Thread-4 @subscriptionmanager.py:_hypervisor_mapping:314 - The hypervisor id 'localhost' is assigned to 2 different systems. Only one will be recorded at the server.
    
  • virt-who service is reporting only one hypervisor on customer portal with hostname localhost and not able to upload other hypervisor profiles.

Environment

  • Red Hat Enterprise Linux
  • Red Hat Subscription Management(RHSM)
  • Red Hat Customer Portal
  • VMware (ESX/ESXi) Hypervisors

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