For example in my test bed, 2 out of 7 machines fail at commissioning with the same error.
[maas-capture-lldpd]
Traceback (most recent call last):
File "/tmp/user_data.sh.4Jn6tY/scripts/commissioning/maas-capture-lldpd", line 53, in <module>
lldpd_capture("/var/run/lldpd.socket", 60)
File "/tmp/user_data.sh.4Jn6tY/scripts/commissioning/maas-capture-lldpd", line 41, in lldpd_capture
time_ref = getmtime(reference_file)
File "/usr/lib/python3.8/genericpath.py", line 55, in getmtime
return os.stat(filename).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: '/var/run/lldpd.socket'
Interestingly enough, I only see the "Installing apt packages for 20-maas-01-install-lldpd" message from the 5 succeeded machines in rsyslog although all 7 machines should have an identical commissioning configuration.
maas: 1:3.3.0- 13159-g. 1c22f7beb- 0ubuntu1~ 22.04.1
For example in my test bed, 2 out of 7 machines fail at commissioning with the same error.
[maas-capture- lldpd] data.sh. 4Jn6tY/ scripts/ commissioning/ maas-capture- lldpd", line 53, in <module> capture( "/var/run/ lldpd.socket" , 60) data.sh. 4Jn6tY/ scripts/ commissioning/ maas-capture- lldpd", line 41, in lldpd_capture reference_ file) python3. 8/genericpath. py", line 55, in getmtime filename) .st_mtime lldpd.socket'
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- 01-install- lldpd" message from the 5 succeeded machines in rsyslog although all 7 machines should have an identical commissioning configuration.
$ sudo grep -i 'Installing apt packages for 20-maas- 01-install- lldpd' -l /var/log/ maas/rsyslog/ */*/messages maas/rsyslog/ crack-chow/ 2023-02- 22/messages maas/rsyslog/ enough- camel/2023- 02-22/messages maas/rsyslog/ open-bee/ 2023-02- 22/messages maas/rsyslog/ quick-gopher/ 2023-02- 22/messages maas/rsyslog/ wanted- louse/2023- 02-22/messages
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/