mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-19 17:02:15 +00:00
2811c2761d
makedhcp reported a vpd.uuid that looks byte-swapped for duid=firmware and duid=canonical as well as for a node with no duid attribute. Setting duid is the remedy the message names, so the message could not be silenced except by a literal DUID. The check reads the version field, which also reports a UUID that does not follow RFC 4122. It is now reported only for a node with no duid attribute, and makedhcp.8 says so. delnode removed only the lines of the family of the address it was given. A node whose address changed from IPv4 to IPv6 kept its old A record, and makedhcp then wrote a DHCPv4 reservation with a boot file for a node whose only address was IPv6. The family filter stays on the update path, which is what keeps both records of a dual-stack node. dhcp_dhcpv6_duid.t asserts that each duid value silences the report and that the default still makes it. makehosts_dual_stack.t asserts a family change followed by a delete. Reverting either fix fails exactly one assertion in each file. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>