After installing MAAS 2.4 on Ubuntu 18.04 LTS, I enlisted my nodes properly. When trying to commission, though, none of the commissioning goes thru due to the exact same error in two steps:
First issue: 00-maas-03-install-lldpd: Failed installing dependencies (Status 100) with error as "E: Unable to locate package lldpd"
Second issue: 99-maas-02-capture-lldp: with the log below (exit status 1)
Traceback (most recent call last): File "/tmp/user_data.sh.4tYV3m/scripts/commissioning/99-maas-02-capture-lldp", line 25, in <module> lldpd_capture(*args, **kwargs) File "/tmp/user_data.sh.4tYV3m/scripts/commissioning/99-maas-02-capture-lldp", line 16, in lldpd_capture time_ref = getmtime(reference_file) File "/usr/lib/python3.6/genericpath.py", line 55, in getmtime return os.stat(filename).st_mtime FileNotFoundError: [Errno 2] No such file or directory: '/var/run/lldpd.socket'
MAAS box network defined as:
network: version: 2 renderer: networkd ethernets: enp1s0: addresses: [10.71.101.1/16] gateway4: 10.71.0.1 dhcp4: n nameservers: addresses: [10.10.0.1,10.71.0.1] eno1: addresses: [10.10.0.1/16] gateway4: 10.71.0.1 dhcp4: n nameservers: search: [maas] addresses: [10.10.0.1,10.71.0.1]
eno1 is private MAAS network. enp1s0 is used for internet access via a FW.
All of the failing nodes have two NICs on them. One for AMT power control (on board NIC) with some static IP associated with them (though ifconfig reveals that it is being overridden with maas DHCP assignment) and the second NIC.
When I put the failing node in rescue mode and log in, I see that the second NIC is not even set up with DHCP. Looks like the node is still in pre-commissioned state ( as it was failed maybe).
Scratching my head on this for a while now. I am pretty new with 18.04 as well and its netplan networking.
Is it related to the network I am wondering now? Is it really related to lldpd install?
Any help on this would be greatly appreciated.