xcatd identifies a peer by reverse lookup. On a dual-stack listener an IPv4
peer arrives as the 16-byte ::ffff:a.b.c.d, so xcatd asks gethostbyaddr for
AF_INET6 and, when that answers nothing, retries with AF_INET. The retry
passes the same 16 bytes, and AF_INET needs 4, so the retry can never answer.
The peer then stays unidentified whenever the mapped AF_INET6 lookup fails.
Measured on three openEuler management nodes with the same /etc/hosts and the
same resolver: the mapped lookup answers on glibc 2.28 and 2.38 and does not
on glibc 2.34. There the install monitor logged 86 times "received a
connection request from unknown host ... The connection request will be
ignored", so no compute node reached the booted state and both flat
provisioning cases failed.
This test asks for the 4-byte form of a mapped address, and for all 16 bytes
of a real IPv6 address so the answer cannot be plain truncation. It fails
until xCAT::NetworkUtils carries unmap_v4mapped_addr.
Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>