Maas DHCP keeps resetting

2019-03-04T16:12:56.056235+01:00 lego maas.service_monitor: [info] Service ‘maas-dhcpd’ has been started and is ‘running’.
2019-03-04T16:13:26.011035+01:00 lego maas.service_monitor: [info] Service ‘maas-dhcpd’ is not on, it will be started.
2019-03-04T16:13:26.052013+01:00 lego maas.service_monitor: [info] Service ‘maas-dhcpd’ has been started and is ‘running’.
2019-03-04T16:13:56.013554+01:00 lego maas.service_monitor: [info] Service ‘maas-dhcpd’ is not on, it will be started.
2019-03-04T16:13:56.051340+01:00 lego maas.service_monitor: [info] Service ‘maas-dhcpd’ has been started and is ‘running’.
2019-03-04T16:14:26.007807+01:00 lego maas.service_monitor: [info] Service ‘maas-dhcpd’ is not on, it will be started.
2019-03-04T16:14:26.050038+01:00 lego maas.service_monitor: [info] Service ‘maas-dhcpd’ has been started and is ‘running’.
2019-03-04T16:14:56.014893+01:00 lego maas.service_monitor: [info] Service ‘maas-dhcpd’ is not on, it will be started.
2019-03-04T16:14:56.056588+01:00 lego maas.service_monitor: [info] Service ‘maas-dhcpd’ has been started and is ‘running’.

I keep getting these messages every 30 seconds. Anyone knows why that might be?
I have set up DHCP on the web interface, and the machines I want to PXE boot does not receive any IP address.

Hi there,

There may be a problem in which the DHCP service is failing to start and maas keeps retrying. Can you check what it says in the journal for the ‘maas-dhcp’ service?

It seems the problem might have been a too large reserved dynamic range. we were testing a /8 network, and reserved almost the entire range, barring a few 100 addresses. Usually the MAAS web interface has been very good at calling out problems with the DHCP reserved dynamic range (i.e. not letting us save bad ranges), but this one “worked”.

Hi there,

If you believe this is an actual bug in MAAS, please do file a bug report in https://bugs.launchpad.net/maas/+filebug and provide all relevant information:

  • Version of MAAS
  • Logs (/var/log/maas/*.log), dhcpd journal, etc
  • Configs (/var/lib/maas/dhcpd.conf)
  • Step by step reproduction steps.