Maas-dhcpd won't start

I am running a new install of maas version 2.5.1 (7508-gb70537f3d-0ubuntu1~18.04.1)
Problem is that maas-dhcpd won’t start because there are missing files /var/lib/maas/dhcpd-interfaces and /var/lib/maas/dhcpd.conf. Although dhcp is enabled on the subnet I want dhcp to run.

Machine-readable output follows:
{
“name”: “172.31.0.0/24”,
“vlan”: {
“vid”: 0,
“mtu”: 1500,
“dhcp_on”: true,
“external_dhcp”: null,
“relay_vlan”: null,
“id”: 5001,
“primary_rack”: “ynsxk8”,
“secondary_rack”: null,
“name”: “untagged”,
“fabric_id”: 0,
“space”: “undefined”,
“fabric”: “fabric-0”,
“resource_uri”: “/MAAS/api/2.0/vlans/5001/”
},
“cidr”: “172.31.0.0/24”,
“rdns_mode”: 2,
“gateway_ip”: “172.31.0.254”,
“dns_servers”: [
“172.31.0.48”
],
“allow_dns”: true,
“allow_proxy”: true,
“active_discovery”: true,
“managed”: false,
“id”: 1,
“space”: “undefined”,
“resource_uri”: “/MAAS/api/2.0/subnets/1/”
}

What is the problem?
Please adise.
Thx

My suggestion is that when you try to use it, before that you will clear coockies and after that you will see the problem will solve easily or mass is opened.

data recovery

I had a case where this happened for me and restarting the maas-rackd service fixed my issue. My issues were after an upgrade to 2.6.1 from 2.4.

1 Like

Same with us. Had the same problem.