virt-who for Nutanix AHV is reporting duplicate guestid when using with Nutanix Prism Central

Solution Verified - Updated -

Issue

  • virt-who reporting always the same VM's when using with Nutanix Prism Central.
  • virt-who is not able to capture complete list of guest VMs running on Nutanix hypervisor.
  • virt-who for Nutanix AHV is returning duplicate guestid and VMs are not able to find the derived pool of Virtual Datacenters subscription. VMs running on Nutanix hypervisor are consuming the temporary Virtual Datacenters subscription:-

    # subscription-manager status
    +-------------------------------------------+
       System Status Details
    +-------------------------------------------+
    Overall Status: Insufficient
    
    Red Hat Enterprise Linux for Virtual Datacenters, Premium:
    - Guest has not been reported on any host and is using a temporary unmapped guest subscription. For more information, please see
      https://access.redhat.com/solutions/1592573
    
    System Purpose Status: Not Specified
    
  • virt-who service is not able to fetch the list of all the VMs:-

    2022-09-02 15:25:30,535 [virtwho.main DEBUG] MainProcess(23078):Thread-2 @ahv_interface.py:get_vms_uuid:539 - Number of vms 20 returned from REST is less than the totalnumberr:350. Adjusting the offset and iterating over allvms until evry vm is returned from the server.
    2022-09-02 15:25:30,535 [virtwho.main DEBUG] MainProcess(23078):Thread-2 @ahv_interface.py:get_vms_uuid:557 - next vm list call has this body: {'length': 20, 'offset': 20}
    

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Subscription Management(RHSM)
  • Nutanix AHV Hypervisor

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