2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-21 01:42:15 +00:00
Files
xcat-core/xCAT-genesis-scripts/usr/bin
Daniel Hilst 251f334a54 fix(xcat-core): Genesis waits for an IPv4 address that an IPv6 cell never serves
Genesis booted on the el10 x86_64 IPv6 cell, started its DHCP clients and then did
nothing for the rest of the case. No findme, no credential request and no status
update reached xcatd, and the node stayed out of the shell.

doxcat ended net init on the boot nic with a wait for an IPv4 address and no bound.
An IPv6 provisioning network declares an IPv4 subnet with no pool, so Kea refuses
every DHCPv4 request and the wait never ends.

The wait now ends when the boot nic holds an address of either family, in
genesis_nic_has_address, because xcatd is reached over whichever family the
network serves. The message after it names the family that arrived.

The pSeries branch, which runs when BOOTIF is absent, still reads IPv4 only. It is
bounded by its own try count and is not changed here.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-11-08 15:52:25 -03:00
..
2024-05-07 16:31:30 +02:00