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

virsh commands fail with "Address family for hostname not supported" for ESXi IPv6 addresses

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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • rhel-10.2
    • libvirt / General
    • None
    • None
    • Critical
    • rhel-virt-core-libvirt-1
    • None
    • False
    • False
    • Hide

      None

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

      $ virsh -c 'esx://root@[2620:52:0:49d4:ee2a:72ff:fe0a:7baa]/?no_verify=1' list --all
      error: failed to connect to the hypervisor
      error: internal error: IP address lookup for host '2620:52:0:49d4:ee2a:72ff:fe0a:7baa' failed: Address family for hostname not supported
      

      This seems to be a problem with the ESX driver in libvirt because it only seems to support AF_INET (not AF_INET6). See:

      https://gitlab.com/libvirt/libvirt/-/blob/8d5fdea28710da8ad0d0eb1fea61500c84268e63/src/esx/esx_util.c#L279

              virt-maint virt-maint
              rhn-eng-rjones Richard Jones
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: