Commissioning fails when a node is rebooted in the middle - No such file or directory: '/var/run/lldpd.socket'
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MAAS | Status tracked in 3.6 | |||||
3.4 |
Won't Fix
|
Medium
|
Unassigned | |||
3.5 |
Won't Fix
|
Medium
|
Unassigned | |||
3.6 |
Triaged
|
Medium
|
Unassigned |
Bug Description
maas: 1:3.3.0-
When a node is rebooted in the middle of commissioning with any reasons (a corner case indeed), it seems that already completed commissioning scripts are skipped thus the process fails since lldpd installation is not going to happen in the next boot.
[maas-capture-
Traceback (most recent call last):
File "/tmp/user_
lldpd_
File "/tmp/user_
time_ref = getmtime(
File "/usr/lib/
return os.stat(
FileNotFoundError: [Errno 2] No such file or directory: '/var/run/
Interestingly enough, I only see the "Installing apt packages for 20-maas-
$ sudo grep -i 'Installing apt packages for 20-maas-
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
summary: |
- Commissioning intermittently fails with No such file or directory: - '/var/run/lldpd.socket' + Commissioning fails when a node is rebooted in the middle - No such file + or directory: '/var/run/lldpd.socket' |
description: | updated |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.x |
Changed in maas: | |
milestone: | 3.4.x → 3.5.x |
Failed machine