-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
rhel-10.2
-
None
-
None
-
Important
-
rhel-virt-core-libvirt-2
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
x86_64
-
None
Description of problem:
Can't connect VMware env via ipv6 address by virsh
Version-Release number of selected component (if applicable):
libvirt-client-11.10.0-2.el10.x86_64
qemu-img-10.1.0-9.el10.x86_64
How reproducible:
100%
Steps:
1. Enable ipv6 address on ESXi host
2. Connect the ESXi host using ipv6 address by virsh
# virsh -c esx://root@[2620:52:0:49d4:ee2a:72ff:fe0a:7baa]/?no_verify=1 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
Actual result:
As above description
Expect result:
Fix the bug
Additional info
1. Can ssh ESXi host via ipv6 address
# ssh root@2620:52:0:49d4:ee2a:72ff:fe0a:7baa The authenticity of host '2620:52:0:49d4:ee2a:72ff:fe0a:7baa (2620:52:0:49d4:ee2a:72ff:fe0a:7baa)' can't be established. ECDSA key fingerprint is SHA256:kV9S4wQ7Amf6K+Gfkl8MeLKsPZ2OyS/3dfQq0TEMONc. This host key is known by the following other names/addresses: ~/.ssh/known_hosts:10: 10.73.212.36 Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '2620:52:0:49d4:ee2a:72ff:fe0a:7baa' (ECDSA) to the list of known hosts. (root@2620:52:0:49d4:ee2a:72ff:fe0a:7baa) Password: The time and date of this login have been sent to the system logs. WARNING: All commands run on the ESXi shell are logged and may be included in support bundles. Do not provide passwords directly on the command line. Most tools can prompt for secrets or accept them from standard input. VMware offers powerful and supported automation tools. Please see https://developer.vmware.com for details. The ESXi Shell can be disabled by an administrative user. See the vSphere Security documentation for more information. [root@dell-per750-10:~]
2. Can connect the ESXi host using ipv4 address by virsh
# virsh -c esx://root@10.73.212.36/?no_verify=1 Enter root's password for 10.73.212.36: Welcome to virsh, the virtualization interactive terminal. Type: 'help' for help with commands 'quit' to quit virsh #
3. Can connect the other RHEL server via ipv6 by virsh
# virsh -c qemu+ssh://root@[2620:52:0:49b2:2eea:7fff:feed:a750]/system The authenticity of host '2620:52:0:49b2:2eea:7fff:feed:a750 (2620:52:0:49b2:2eea:7fff:feed:a750)' can't be established. ED25519 key fingerprint is SHA256:+q84GlSj4oNEPm5DTlVWJMf3cf0TLaLPVo75AbuZlWs. This host key is known by the following other names/addresses: ~/.ssh/known_hosts:17: 10.73.178.59 Are you sure you want to continue connecting (yes/no/[fingerprint])? yes root@2620:52:0:49b2:2eea:7fff:feed:a750's password: root@2620:52:0:49b2:2eea:7fff:feed:a750's password: Welcome to virsh, the virtualization interactive terminal. Type: 'help' for help with commands 'quit' to quit virsh #
- blocks
-
RHEL-129649 [RFE] Ensure that virt-v2v works in IPv6-only environments
-
- New
-
- is duplicated by
-
RHEL-140902 virsh commands fail with "Address family for hostname not supported" for ESXi IPv6 addresses
-
- Closed
-