mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-04 12:07:56 +00:00
05fc81f7b5
The boot flip in compute.subiquity.tmpl addressed port 3002. xcatd's install monitor listens on site.xcatiport, so a cluster that moves the port loses the flip and every node PXE-loops back into the installer. The flip now reads site.xcatiport and keeps 3002 as the default. TABLEBLANKOKAY, because the key is optional and a plain TABLE lookup of an absent key fails the whole template. The flip also counted any reply as an accepted request. It now requires the monitor's "ready" greeting before it sends "next", and "done" afterwards, so a different service on that port is not read as a flipped node. subiquity_nfsroot_server in debian.pm called getipaddr without a family. A dual-stack management node answers with its IPv6 address, and casper takes everything after the first colon in nfsroot= as the path, so the live filesystem never mounts. It now asks for IPv4, as dhcp.pm and mknb.pm do. The DNS setup wrote the xcatmaster name as a nameserver when getent found no address, which is the case the step exists to prevent. It now keeps the resolv.conf DHCP gave the live installer. ubuntu_subiquity_boot_flip.t, debian_subiquity_boot_params.t and ubuntu_resolvconf_ip.t fail on the parent commit and pass here. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>