mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-21 18:02:18 +00:00
a12d31ced5
A node discovered by Genesis on an IPv6-only cluster gets no credentials and reports no state. The credential callback never answers and the install state never reaches xcatd, so discovery stops with nothing in the log that names an address family. The Genesis copies of the two awk helpers were never given the IPv6 branch that the copies under xCAT/postscripts carry. allowcred.awk hardcoded "/inet/tcp/300/0/0", so it ignored XCAT_CREDENTIAL_CALLBACK_PORT and opened a listener that accepts no IPv6 connection. updateflag.awk built "/inet/" from the raw argument, so a bracketed IPv6 literal reached gawk with its brackets and resolved to nothing. Neither build script copies these files, so the two copies are independent and the first never followed the second. Both Genesis copies now carry the postscripts logic. updateflag.awk keeps logger and writes no file: Genesis has no /var/log/xcat directory, rsyslog sends everything to /var/log/xcat.genesis, and gawk is fatal when it cannot open a redirect. ipv6_genesis_awk_inet6.bats captures this. Four of its six cases fail on the previous copies. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>