Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-137025

virt-who configuration for Nutanix AHV using Prism Central, fails when hypervisor_id is set to hostname

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.7
    • virt-who
    • None
    • None
    • Important
    • subs-client-tools-2
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      • Configuring virt-who for Nutanix AHV with Prism Central, "hypervisor_id = hostname" parameter fails with Host 'XYZ' doesn't have hypervisor_id property

       

      What is the impact of this issue to you?

      • Unable to configure virt-who to list guest-host-mapping with the hypervisors

      Please provide the package NVR for which the bug is seen:

      • virt-who

      How reproducible is this bug?:

      • 100 %

      Steps to reproduce

      • Configure and deploy virt-who with "Nutanix AHV" using Prism Central as the service list
      • [virt-who-config-1]
        type=ahv
        hypervisor_id=hostname
        owner=test
        server=10.1X.16Y.Z
        username=testuser
        rhsm_hostname=satellite.example.com
        rhsm_username=virt_who_user
        rhsm_prefix=/rhsm
        prism_central=true
        ahv_internal_debug=true

       

      Expected results:

      Virt-who configuration should work well with "hypervisor_id = hostname" similar to "hypervisor_id = uuid"

      Actual results:

      The virt-who fails with error: 

      [virtwho.main DEBUG] MainProcess(1500055):Thread-2 @ahv.py:get_host_guest_mapping_v3:123 - Host 'XYZ' doesn't have hypervisor_id property

              csi-client-tools-bugs CSI Client Tools Bugs Bot
              rhn-support-snarya Sneha Arya
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: