mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-19 17:02:15 +00:00
bc2be657b6
SLOF, the open firmware of a PowerKVM guest and a PowerVM LPAR, identifies itself with an RFC 3315 DUID-LL built from the MAC of its interface, and it reports no UUID at all. makedhcp derives every DHCPv6 reservation from vpd.uuid, so the reservation of a ppc64le node can never match: measured on an IPv6-only node, SLOF sent 00:03:00:01:<mac> against the 00:04:<uuid> reservation xCAT wrote. The node gets no reserved address and no RFC 5970 option 59, and its firmware has nothing to load. dhcp6_client_duid now takes the MAC and the architecture. kea_duid_ll_from_mac builds the DUID-LL from the first address of mac.mac, which is the interface that netboots, and dhcp6_firmware_duid_is_link_layer says which architectures send one. A ppc64le node takes the DUID-LL with no attribute set, and the byte-order warning about vpd.uuid is not reported for it, because that firmware does not read the value. mac.duid gains ll, which selects the DUID-LL on any architecture. firmware and canonical are unchanged and still override. One reservation covers the whole netboot: the grub2 ieee1275 network stack builds its DUID from the same interface, so the loader sends what the firmware sent. That is why no second reservation is written, unlike a chainloading UEFI node. dhcp_dhcpv6_duid.t gains five cases. On the unfixed tree 15 of its 195 assertions fail, cn11 with the firmware-order DUID-UUID where the DUID-LL is expected. A mutation that gives every architecture the DUID-LL fails 42, naming the x86_64 cases that must keep the DUID-UUID. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
xCAT is a toolkit for the deployment and administration of clusters. xCAT documentation is available at: http://xcat-docs.readthedocs.org/ xCAT is made available as open source software under the EPL license: http://www.opensource.org/licenses/eclipse-1.0.php