I’ve recently had to update Ubuntu from 22.04 LTS to 24.04 LTS. After the update I also went ahead and updated MAAS from v3.3 to v3.7 (Debian packages). However, since then I have problems with the DHCP configuration.
So far, I’ve figured out, that /var/lib/maas/dhcpd-interfaces and the respective dhcpd_.conf are all empty. On each restart, the maas-dhcpd_.service fails, because the dhcpd_.conf files are initially missing.
On the Web UI, everything looks good. I have a fabric with VLANs and subnets defined. For some MAAS manages DHCP.
I am having this same issue on two separate maas servers and 3.7.1 hasn’t fixed it for me. I can revert back to 3.6.2 which fixes the DHCP problem, but then I get an internal server error when trying to deploy.
Update for anyone else who may run into this after downgrading back to 3.6. The error was an issue with is_dpu being required for 3.7. I had to manually edit the database with:
“ALTER TABLE maasserver_node ALTER COLUMN is_dpu DROP NOT NULL;”
and that seems to have fixed deployments for now. I hopefully this doesn’t bite me down the road so use with caution.