[2.4, service-tracking] dhcpd is never started on bionic container in xenial host, and MAAS doesn't show it as failure.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Expired
|
High
|
Unassigned |
Bug Description
A fresh install of MAAS 2.4 in bionic does not start DHCP after enabled. I installed maas from latest trunk from ppa:maas-
1. There are no logs whatsoever showing that anything failed. There are simply no logs.
2. No syslog information of why it failed.
3. maas-dhcpd service shows an error, but MAAS doesn't bubble up that at all.
root@bionic:
● maas-dhcpd.service - MAAS instance of ISC DHCP server for IPv4
Loaded: loaded (/lib/systemd/
Active: inactive (dead)
Condition: start condition failed at Tue 2018-01-16 07:15:29 UTC; 10min ago
Docs: man:dhcpd(8)
Tasks: 0 (limit: 4915)
CGroup: /system.
Jan 16 07:15:29 bionic systemd[1]: maas-dhcpd.service: Failed to reset devices.list: Operation not permitted
Jan 16 07:15:29 bionic systemd[1]: maas-dhcpd.service: Failed to reset devices.list: Operation not permitted
Jan 16 07:15:29 bionic systemd[1]: maas-dhcpd.service: Failed to reset devices.list: Operation not permitted
Jan 16 07:15:30 bionic systemd[1]: maas-dhcpd.service: Failed to reset devices.list: Operation not permitted
Jan 16 07:15:30 bionic systemd[1]: maas-dhcpd.service: Failed to reset devices.list: Operation not permitted
Jan 16 07:15:30 bionic systemd[1]: maas-dhcpd.service: Failed to reset devices.list: Operation not permitted
Jan 16 07:16:20 bionic systemd[1]: maas-dhcpd.service: Failed to reset devices.list: Operation not permitted
Jan 16 07:16:20 bionic systemd[1]: maas-dhcpd.service: Failed to reset devices.list: Operation not permitted
Jan 16 07:16:21 bionic systemd[1]: maas-dhcpd.service: Failed to reset devices.list: Operation not permitted
Jan 16 07:16:22 bionic systemd[1]: maas-dhcpd.service: Failed to reset devices.list: Operation not permitted
So there's two things to fix:
1. It should show as a failure in MAAS, it currently shows as not started.
2. It shouldn't fail.
Changed in maas: | |
status: | Incomplete → Triaged |
Changed in maas: | |
milestone: | 2.4.0alpha1 → 2.4.0alpha2 |
Changed in maas: | |
milestone: | 2.4.0alpha2 → 2.4.0beta1 |
summary: |
- [2.4, trunk 6518-gca32acf] dhcpd is never started on bionic container in + [2.4, service-tracking] dhcpd is never started on bionic container in xenial host, and MAAS doesn't show it as failure. |
Changed in maas: | |
importance: | Critical → High |
Changed in maas: | |
milestone: | 2.4.0beta1 → 2.4.0beta2 |
Changed in maas: | |
milestone: | 2.4.0beta2 → 2.4.0rc1 |
Changed in maas: | |
milestone: | 2.4.0rc1 → 2.4.0rc2 |
Tested on an unprivileged bionic container on a xenial host. Everything seems to work for me.
Is maas-dhcp installed on your xenial host? That might be required to setup apparmor correctly.