The logs show this only for 1 machine, which correctly tells the machine to download the squashfs from the rack controller, and gives it the correct IP of the metadata URL, *but* removes the /MAAS for some reason, which effectively makes it invalid.
On the other hand, there are quite a few other logs that show that the URL is correct, with the same localtion for the images, and the correct URL for the metadata.
From the machine running region/rack 10.244.40.30, we see the following:
1. /etc/maas/ rackd.conf: maas_url: http:// 10.244. 40.33/MAAS regiond. conf:maas_ url: http:// 10.244. 40.33/MAAS
2. /etc/maas/
The logs show this only for 1 machine, which correctly tells the machine to download the squashfs from the rack controller, and gives it the correct IP of the metadata URL, *but* removes the /MAAS for some reason, which effectively makes it invalid.
Mar 28 11:59:18 leafeon maas.kernel_opts: [info] ---: kernel parameters landscapeha-1 "nomodeset root=squash:http:// 10.244. 40.30:5248/ images/ ubuntu/ amd64/generic/ xenial/ daily/squashfs ro ip=:::: landscapeha- 1:BOOTIF ip6=off overlayroot=tmpfs overlayroot_ cfgdisk= disabled cc:{'datasource _list': ['MAAS']}end_cc cloud-config-url=http:// 10.244. 40.33/metadata/ latest/ by-id/b4hrca/ ?op=get_ preseed apparmor=0 log_host= 10.244. 40.33 log_port=514"
On the other hand, there are quite a few other logs that show that the URL is correct, with the same localtion for the images, and the correct URL for the metadata.
Mar 28 12:02:50 leafeon maas.kernel_opts: [info] ---: kernel parameters maas-enlist "nomodeset root=squash:http:// 10.244. 40.30:5248/ images/ ubuntu/ amd64/ga- 16.04/xenial/ daily/squashfs ro ip=:::: maas-enlist: BOOTIF ip6=off overlayroot=tmpfs overlayroot_ cfgdisk= disabled cc:{'datasource _list': ['MAAS']}end_cc cloud-config-url=http:// 10.244. 40.33/MAAS/ metadata/ latest/ enlist- preseed/ ?op=get_ enlist_ preseed apparmor=0 log_host= 10.244. 40.33 log_port=514"
So somewhere in the code the /MAAS is being removed and we need to find out why.