I have a MAAS server running Xenial and MAAS 1.10 from maas/next. The server has 14.04 images from the Release stream.
On the node, there are three NICs and all three are set to AutoAssign and are assigned 10.0.0.125, 126 and 127.
On boot, the installer ephemeral boots but then cloud-init tries to get data from 169.254.169.254. It does this for 120 seconds, THEN tries calling 10.0.0.1 which also fails, and then it finally just gives up.
At this point, the node is up, and stuck and I had to backdoor it to get logs.
The logs are attached from the node, the biggest thing I noticed was this:
2016-02-22 16:50:25,132 - util.py[WARNING]: Failed fetching metadata from url http://10.0.0.1/MAAS/metadata/curtin
2016-02-22 16:50:25,133 - util.py[DEBUG]: Failed fetching metadata from url http://10.0.0.1/MAAS/metadata/curtin
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cloudinit/sources/DataSourceMAAS.py", line 84, in get_data
paths=self.paths)
File "/usr/lib/python2.7/dist-packages/cloudinit/sources/DataSourceMAAS.py", line 236, in read_maas_seed_url
ssl_details=ssl_details)
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line 704, in read_file_or_url
exception_cb=exception_cb)
File "/usr/lib/python2.7/dist-packages/cloudinit/url_helper.py", line 257, in readurl
raise excps[-1]
UrlError: 500 Server Error: INTERNAL SERVER ERROR
However, when I try that metadata, after getting in via the backdoor, it seems to work:
I have a MAAS server running Xenial and MAAS 1.10 from maas/next. The server has 14.04 images from the Release stream.
On the node, there are three NICs and all three are set to AutoAssign and are assigned 10.0.0.125, 126 and 127.
On boot, the installer ephemeral boots but then cloud-init tries to get data from 169.254.169.254. It does this for 120 seconds, THEN tries calling 10.0.0.1 which also fails, and then it finally just gives up.
At this point, the node is up, and stuck and I had to backdoor it to get logs.
The logs are attached from the node, the biggest thing I noticed was this:
2016-02-22 16:50:25,132 - util.py[WARNING]: Failed fetching metadata from url http:// 10.0.0. 1/MAAS/ metadata/ curtin 10.0.0. 1/MAAS/ metadata/ curtin python2. 7/dist- packages/ cloudinit/ sources/ DataSourceMAAS. py", line 84, in get_data self.paths) python2. 7/dist- packages/ cloudinit/ sources/ DataSourceMAAS. py", line 236, in read_maas_seed_url details= ssl_details) python2. 7/dist- packages/ cloudinit/ util.py" , line 704, in read_file_or_url cb=exception_ cb) python2. 7/dist- packages/ cloudinit/ url_helper. py", line 257, in readurl
2016-02-22 16:50:25,133 - util.py[DEBUG]: Failed fetching metadata from url http://
Traceback (most recent call last):
File "/usr/lib/
paths=
File "/usr/lib/
ssl_
File "/usr/lib/
exception_
File "/usr/lib/
raise excps[-1]
UrlError: 500 Server Error: INTERNAL SERVER ERROR
However, when I try that metadata, after getting in via the backdoor, it seems to work:
backdoor@ubuntu:~$ echo $url 10.0.0. 1/MAAS/ metadata/ curtin 10.0.0. 1/MAAS/ metadata/ curtin ==
http://
backdoor@ubuntu:~$ sudo python $maasds --config=$cfg get $url
== http://
2012-03-01
latest
backdoor@ubuntu:~$ sudo python $maasds --config=$cfg crawl $url/latest/ meta-data/ 10.0.0. 1/MAAS/ metadata/ curtin/ latest/ meta-data/ instance- id == d6b9-11e5- 8cc4-eca86bfb9f 66
== http://
node-9c831f44-
== http:// 10.0.0. 1/MAAS/ metadata/ curtin/ latest/ meta-data/ local-hostname ==
x-wing.maas
== http:// 10.0.0. 1/MAAS/ metadata/ curtin/ latest/ meta-data/ public- keys == AAAADAQABAAABAQ D0UpxLhAfnGngLG dgK720nezbgSKgY fV8WyNA4f2X6ATt MEt28Kx7UdO4udh BeINbHlfNrt9ddm +VrKC4MhPGeKLna 71IKu07UUbZVWz0 kHd8+gwpeoc7VA8 p02ZSbXcXBSLhDB EWa8ly2opmuFvs6 jG2UdusAUe2oosk TL+itRE68QBD2um 90MgbmM5efYayGX 97c++0ogxM21osS jpapiJrXap2zUDo lq0IDVQA0YujyGw 85BgojmuaSvLDvn ynic610Ogkrd00T SAniZ8h18C5xZur 8Ex1yfa/ p4h87AH/ Equ0fblbSxJkhP5 9HUnYiaUvGJ3JXb 4YQcEX2UJMb bladernr@ critical- maas
ssh-rsa AAAAB3NzaC1yc2E
== http:// 10.0.0. 1/MAAS/ metadata/ curtin/ latest/ meta-data/ x509 ==
backdoor@ubuntu:~$ sudo python $maasds --config=$cfg crawl $url/2012- 03-01/meta- data/ 10.0.0. 1/MAAS/ metadata/ curtin/ 2012-03- 01/meta- data/instance- id == d6b9-11e5- 8cc4-eca86bfb9f 66
== http://
node-9c831f44-
== http:// 10.0.0. 1/MAAS/ metadata/ curtin/ 2012-03- 01/meta- data/local- hostname ==
x-wing.maas
== http:// 10.0.0. 1/MAAS/ metadata/ curtin/ 2012-03- 01/meta- data/public- keys == AAAADAQABAAABAQ D0UpxLhAfnGngLG dgK720nezbgSKgY fV8WyNA4f2X6ATt MEt28Kx7UdO4udh BeINbHlfNrt9ddm +VrKC4MhPGeKLna 71IKu07UUbZVWz0 kHd8+gwpeoc7VA8 p02ZSbXcXBSLhDB EWa8ly2opmuFvs6 jG2UdusAUe2oosk TL+itRE68QBD2um 90MgbmM5efYayGX 97c++0ogxM21osS jpapiJrXap2zUDo lq0IDVQA0YujyGw 85BgojmuaSvLDvn ynic610Ogkrd00T SAniZ8h18C5xZur 8Ex1yfa/ p4h87AH/ Equ0fblbSxJkhP5 9HUnYiaUvGJ3JXb 4YQcEX2UJMb bladernr@ critical- maas
ssh-rsa AAAAB3NzaC1yc2E
== http:// 10.0.0. 1/MAAS/ metadata/ curtin/ 2012-03- 01/meta- data/x509 ==