On Fri, Jun 25, 2021 at 07:53:35AM -0000, Goswin von Brederlow wrote:
hereiam@mit.edu wrote:
Hi everyone,
I've run into what may be an uncommon issue when replacing nodes in Qluman. Say I have a node all configured, then I completely remove that machine and replace it with a new one
We've come across that problem as well when replacing defective main boards (with on-board network).
Jun 25 09:36:17 ql-head-dev-g dnsmasq-dhcp[2073318]: not using configured address 172.16.168.201 because it is leased to 02:01:99:99:a8:c9
And the lease never expires so dnsmasq will never boot the new node.
Interestingly, there seems to be a difference in behaviour between dnsmasq and ISC dhcpd: the latter does not record statically configured addresses in its leases file, so there would be no problem when a MAC changes.
One of our upcoming changes is that DHCP is only used by the bios/uefi to boot the node and the OS then uses purely static network config generated by qlumand. This speeds up the boot and simplifies some corner cases. With that change I think it will be OK to give leases a limited lifetime to solve this issue without having to mess with dnsmasq internals or negative effects.
That's good news. Any idea as to when the lease time will be reduced?
Thanks,
A.