commit 7723a03c0dc304b427dfcfe93d78149f1f1eb328
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Tue Apr 13 15:39:47 2021 -0500
go.mod checksum updates
M go.sum
commit fcad7eca74ac3dac4d16c30893a6c99b70570877
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Tue Apr 13 15:30:48 2021 -0500
fix(dhcp): Stop checking unrelated systems when determinig PXE eligibility.
Back in the Olden Days, we tied machines to the DHCP system via the
addresses they were issued on the address field. We mostly excised
that in favor of tracjkking them by MAC address via the HardwareAddr
field on the machine, but there was one place in the DHCP path where
we still inappropriatly relied on the address: when we failed to look
up a machine by MAC address. In that case, we could look up by IP
addressfind a machine that had that Address field set to it despite
the address being free and the machine in question not having matching
mac addresses. This leads the DHCP system to deny PXE boots to new
hardware just because some other piece of gear had that address at
some point in the past.
Instead of maintaining that broken behaviour, do what we do when we find
a conflicting address in any other DHCP related situation: zero out the
Addresses on the conflicting machines.
M midlayer/dhcp.go
End of Note