MAAS in LxD commission failed

I am following this video on YouTube

to do step-by-step. After vm created, it keeps commission fail with the following errors

fail log

Reading package lists…
Building dependency tree…
Reading state information…
E: Unable to locate package lldpd

fail log

Traceback (most recent call last):
File “/tmp/”, line 53, in
lldpd_capture("/var/run/lldpd.socket", 60)
File “/tmp/”, line 41, in lldpd_capture
time_ref = getmtime(reference_file)
File “/usr/lib/python3.8/”, line 55, in getmtime
return os.stat(filename).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: ‘/var/run/lldpd.socket’

My LxD version: snap v4.14
My MAAS version 2.9.2 (9165-g.c3e7848d1)

What has went wrong?


@Jason_Lo is “universe” enabled in package repositories in MAAS settings?

This is currently required for the script to run (see also

Thanks for the reply
In my case
Settings → Network → NDS →

This solve the issue.