Ok we've got to the bottom of this.
When a node makes a PXE request, we record the NIC that did that as pxe_mac on the Node. This is used as the NIC for which we allocate a static IP.
If it then boots from a different NIC, the previous NIC will get the static IP! The pxe_mac is reset, but by then it's too late.
Ok we've got to the bottom of this.
When a node makes a PXE request, we record the NIC that did that as pxe_mac on the Node. This is used as the NIC for which we allocate a static IP.
If it then boots from a different NIC, the previous NIC will get the static IP! The pxe_mac is reset, but by then it's too late.