mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-22 18:32:13 +00:00
0e9e723a23
findme assigned a node and recorded its MAC, its address, its BMC, its position, its groups and its chain, and never recorded the UUID the request carries. dhcp6_client_duids builds the DHCPv6 identity of a node from vpd.uuid, so makedhcp fell back to a DUID-LL derived from the MAC. None of the three boot stages sends a DUID-LL, so the reservation matched nothing and the node kept an address from the pool, which xcatd cannot map back to it. The node is discovered and then cannot be provisioned at the address it was given. findme now records the UUID through xCAT::DiscoveryUtils::vpd_attribs_from_findme, which takes the SMBIOS form only. The OpenEmbedded image synthesises "<machine type>-<serial>-<first mac>" when the firmware reports no product_uuid, and a DUID built from that string would match no client either. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>