Olaf,

Maas-DHCP fails to start because there is no dhcpd.conf file.

It doesn't exist because:

You may not have enabled DHCP on the VLAN (which needs a NIC on a rack
controller connected to, with an IP)
Or the rack controller is not fully connected.
On Mon, Dec 12, 2016 at 4:55 PM Olaf Becker <1649...@bugs.launchpad.net>
wrote:

> root@sf2-maas00:~# service maas-dhcpd status
>
> ● maas-dhcpd.service - MAAS instance of ISC DHCP server for IPv4
>
>    Loaded: loaded (/lib/systemd/system/maas-dhcpd.service; enabled; vendor
> preset: enabled)
>
>    Active: failed (Result: exit-code) since Mon 2016-12-12 21:32:20 UTC;
> 2min 38s ago
>
> Condition: start condition failed at Mon 2016-12-12 21:34:57 UTC; 1s ago
>
>            ConditionPathExists=/var/lib/maas/dhcpd.conf was not met
>
>      Docs: man:dhcpd(8)
>
>   Process: 2933 ExecStart=/bin/sh -ec      INTERFACES=$(cat
> /var/lib/maas/dhcpd-interfaces);
> LEASES_FILE=/var/lib/maas/dhcp/dhcpd.leases;      [ -e $LEASES_FILE ] ||
> touch $LEASES_FILE;      /
>
>   Process: 2922 ExecStartPre=/bin/mkdir -p /var/lib/maas/dhcp
> (code=exited, status=0/SUCCESS)
>
>   Process: 2893 ExecStartPre=/bin/mkdir -p /run/maas/dhcp (code=exited,
> status=0/SUCCESS)
>
>  Main PID: 2933 (code=exited, status=1/FAILURE)
>
>
>
> Dec 12 21:32:19 sf2-maas00 systemd[1]: Starting MAAS instance of ISC DHCP
> server for IPv4...
>
> Dec 12 21:32:19 sf2-maas00 systemd[1]: Started MAAS instance of ISC DHCP
> server for IPv4.
>
> Dec 12 21:32:20 sf2-maas00 systemd[1]: maas-dhcpd.service: Main process
> exited, code=exited, status=1/FAILURE
>
> Dec 12 21:32:20 sf2-maas00 systemd[1]: maas-dhcpd.service: Unit entered
> failed state.
>
> Dec 12 21:32:20 sf2-maas00 systemd[1]: maas-dhcpd.service: Failed with
> result 'exit-code'.
>
>
>
>
>
> Ok even if you recreate the file with chmod maas:maas when ever you do a
> reboot of the box it is removed automatically even it should not be removed.
>
>
>
> --
>
> You received this bug notification because you are subscribed to MAAS.
>
> 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
>
>

-- 
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