One way to reproduce this issue (and the workaround):

1) Install and configure MAAS, with DHCP on at least one subnet on the rack
2) purge maas-rack-controller: this will remove /var/lib/maas/dhcpd.conf
3) reinstall maas-rack-controllerL: this will start the rack controller, but 
not recreate /var/lib/maas/dhcpd.conf

Note the lack of a dhcpd, due to no config file.

4) use the CLI to disable dhcp (example is fabric 0, untagged vlan): maas 
SESSION vlan 0 0 dhcp_on=False
5) use the CLI to enable dhcp (same fabric/vlan as #4): maas SESSION vlan 0 0 
dhcp_on=True

Note that we now have a working dhcpd.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1649397

Title:
  maas-dhcpd.service won't start

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1649397/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to