Hello folks!
(Edit: MAAS Version is snap-3.0.0-10029-g.986ea3e45)
On my MAAS staging environment I’m having some DHCPD issues with my rack controller. DHCPD service is bouncing with the following logspam:
2021-06-30T22:27:23Z dhcpd[50891]: Internet Systems Consortium DHCP Server 4.4.1
2021-06-30T22:27:23Z dhcpd[50891]: Copyright 2004-2018 Internet Systems Consortium.
2021-06-30T22:27:23Z dhcpd[50891]: All rights reserved.
2021-06-30T22:27:23Z dhcpd[50891]: For info, please visit https://www.isc.org/software/dhcp/
2021-06-30T22:27:23Z dhcpd[50891]: Config file: /var/snap/maas/common/maas/dhcpd6.conf
2021-06-30T22:27:23Z dhcpd[50891]: Database file: /var/snap/maas/common/maas/dhcp/dhcpd6.leases
2021-06-30T22:27:23Z dhcpd[50891]: PID file: /var/snap/maas/common/maas/dhcp/dhcpd6.pid
2021-06-30T22:27:23Z dhcpd[50891]: Wrote 0 deleted host decls to leases file.
2021-06-30T22:27:23Z dhcpd[50891]: Wrote 0 new dynamic host decls to leases file.
2021-06-30T22:27:23Z dhcpd[50891]: Wrote 0 NA, 0 TA, 0 PD leases to lease file.
2021-06-30T22:27:23Z dhcpd[50891]: Bound to *:547
2021-06-30T22:27:23Z dhcpd[50891]: Listening on Socket/7/eth0.11/vlan-5002
2021-06-30T22:27:23Z dhcpd[50891]: Sending on Socket/7/eth0.11/vlan-5002
2021-06-30T22:27:23Z dhcpd[50891]: Server starting service.
2021-06-30T22:27:25Z dhcpd[50914]: Internet Systems Consortium DHCP Server 4.4.1
2021-06-30T22:27:25Z dhcpd[50914]: Copyright 2004-2018 Internet Systems Consortium.
2021-06-30T22:27:25Z dhcpd[50914]: All rights reserved.
2021-06-30T22:27:25Z dhcpd[50914]: For info, please visit https://www.isc.org/software/dhcp/
2021-06-30T22:27:25Z dhcpd[50914]: /var/snap/maas/common/maas/dhcpd.conf line 34: semicolon expected.
2021-06-30T22:27:25Z dhcpd[50914]: address 2001:
2021-06-30T22:27:25Z dhcpd[50914]: ^
2021-06-30T22:27:25Z dhcpd[50914]: /var/snap/maas/common/maas/dhcpd.conf line 119: failover peer failover-vlan-5002: not found
2021-06-30T22:27:25Z dhcpd[50914]: failover peer "failover-vlan-5002"
2021-06-30T22:27:25Z dhcpd[50914]: ^
2021-06-30T22:27:25Z dhcpd[50914]: Configuration file errors encountered -- exiting
2021-06-30T22:27:25Z dhcpd[50914]:
2021-06-30T22:27:25Z dhcpd[50914]: If you think you have received this message due to a bug rather
2021-06-30T22:27:25Z dhcpd[50914]: than a configuration issue please read the section on submitting
2021-06-30T22:27:25Z dhcpd[50914]: bugs on either our web page at www.isc.org or in the README file
2021-06-30T22:27:25Z dhcpd[50914]: before submitting a bug. These pages explain the proper
2021-06-30T22:27:25Z dhcpd[50914]: process and the information we find helpful for debugging.
2021-06-30T22:27:25Z dhcpd[50914]:
2021-06-30T22:27:25Z dhcpd[50914]: exiting.
I had a go at disabling DHCP for that vlan, but got an error:
~$ maas $PROFILE vlan update fabric-0 11 dhcp_on=False
RackController matching query does not exist.
It looks like the rack thinks there’s some sort of HA on one of the vlans, but that’s not the case. Please can someone advise the correct way to rectify this? I’m not certain what caused this in the first instance, but I have been testing out different DHCP scenarios including IPV6 so it seems likely at some point that got stuck in some invalid state…