Commissioning fails with cloud-init meta-data unavailable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned |
Bug Description
1. I have attached the contents of /var/log/maas/*
2. $ dpkg -l '*maas*'|cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 2.1.0~alpha2+
ii maas-cli 2.1.0~alpha2+
un maas-cluster-
ii maas-common 2.1.0~alpha2+
ii maas-dhcp 2.1.0~alpha2+
ii maas-dns 2.1.0~alpha2+
ii maas-proxy 2.1.0~alpha2+
ii maas-rack-
ii maas-region-api 2.1.0~alpha2+
ii maas-region-
un maas-region-
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-
ii python3-django-maas 2.1.0~alpha2+
ii python3-maas-client 2.1.0~alpha2+
ii python3-
3. Steps to repro and expected result:
I have created 2 KVM machines, and on one I have installed Ubuntu 16.04.1 and MAAS 2.1.0 alpha2.
I have created an OVS bridge for both machines and connected them to my physical LAN. After enabling DHCP on the MAAS controller, and PXE booting the 2nd virtual machine, it gets an IP address and loads the ephemeral image. Unfortunately, it fails during this commissioning stage, as both 169.254.169.254 and the default gateway are not responding with the cloud-init meta-data:
http://
http://
I have enabled the backdoor as described here:
https:/
$ cat /proc/cmdline
BOOT_IMAGE=
I cannot determine where that 192.168.2.73 address in the command line came from.. perhaps it was the IP address that was assigned during the initial DHCP PXE boot, then the system picked up a different address after cloud-init failed to find any meta-data?
I'm attaching the /boot/cloud- init.log and /boot/cloud- init-output. log files.