With help from Canonical I was able to figure out something. The maas-import-pxe-files is getting stuck when downloading ephemeral images from ubuntu. I isolated the following:
wget -v xhttps://maas.ubuntu.com/images/query/precise/ephemeral/released-dl.current.txt -O /tmp/aaa.tmp
--2013-10-04 17:12:57-- https://maas.ubuntu.com/images/query/precise/ephemeral/released-dl.current.txt
Resolving maas.ubuntu.com (maas.ubuntu.com)... 188.8.131.52, 184.108.40.206 Connecting to maas.ubuntu.com (maas.ubuntu.com)|220.127.116.11|:443... failed: Connection timed out.
Connecting to maas.ubuntu.com (maas.ubuntu.com)|18.104.22.168|:443... failed: Connection timed out.
Despite the fact that I can telnet www.google.com 80, I can't wget. This is happening because my lab has a proxy. to work around this I had to
export http_proxy= proxy addr
export https_proxy= proxy addr
After that, note that
still doesn't work, but
sudo bash maas-import-pxe-files
I'm not sure yet whether this will also fix the problem reported in the MaaS GUI, but will update as soon as the install is complete.
I've setup MAAS with region and cluster controller in same node. I can log into the GUI, and was able to create the superuser. There are two problems, which might be manifestation of the same issue.
1) The yellow bar on the page is now showing this message:
The region controller does not know whether any boot images have been imported yet. If this message does not disappear in 5 minutes, there may be a communication problem between the region worker process and the region controller. Check the region worker's logs for signs that it was unable to report to the MAAS API.
2) When running:
I get this output:
$ sudo /usr/sbin/maas-import-pxe-files Downloading to temporary location /tmp/tmp.rITlDMoaQl. /tmp/tmp.rITlDMoaQl /var/log/maas 2013-10-03 11:14:46 URL:xhttp://archive.ubuntu.com/ubuntu//dists/precise/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64//linux [4965840/4965840] -> "linux" >  2013-10-03 11:14:48 URL:xhttp://archive.ubuntu.com/ubuntu//dists/precise/main/installer-> amd64/current/images/netboot/ubuntu-installer/amd64//initrd.gz [17446386/17446386] -> "initrd.gz"  2013-10-03 11:14:49 URL:xhttp://archive.ubuntu.com/ubuntu//dists/quantal/main/installer-> amd64/current/images/netboot/ubuntu-installer/amd64//linux [5130968/5130968] -> "linux" >  2013-10-03 11:14:51 URL:xhttp://archive.ubuntu.com/ubuntu//dists/quantal/main/installer-> amd64/current/images/netboot/ubuntu-installer/amd64//initrd.gz [18668122/18668122] -> > > "initrd.gz"  2013-10-03 11:14:52 URL:xhttp://archive.ubuntu.com/ubuntu//dists/precise/main/installer-> i386/current/images/netboot/ubuntu-installer/i386//linux [5015840/5015840] -> "linux"  2013-10-03 11:14:54 URL:xhttp://archive.ubuntu.com/ubuntu//dists/precise/main/installer-i386/current/images/netboot/ubuntu-installer/i386//initrd.gz [15977428/15977428] -> "initrd.gz"  2013-10-03 11:14:55 URL:xhttp://archive.ubuntu.com/ubuntu//dists/quantal/main/installer-i386/current/images/netboot/ubuntu-installer/i386//linux [5171760/5171760] -> "linux"  2013-10-03 11:14:57 URL:xhttp://archive.ubuntu.com/ubuntu//dists/quantal/main/installer-i386/current/images/netboot/ubuntu-installer/i386//initrd.gz [17086667/17086667] -> "initrd.gz"  2013-10-03 11:14:58 URL:xhttp://ports.ubuntu.com/ubuntu-ports//dists/precise-updates/main/installer-armhf/current/images/highbank/netboot//vmlinuz [2978672/2978672] -"vmlinuz"  2013-10-03 11:14:58 URL:xhttp://ports.ubuntu.com/ubuntu-ports//dists/precise-updates/main/installer-armhf/current/images/highbank/netboot//initrd.gz [4958070/4958070] -> "initrd.gz"  2013-10-03 11:14:59 URL:xhttp://ports.ubuntu.com/ubuntu-ports//dists/quantal/main/installer-armhf/current/images/highbank/netboot//vmlinuz [3738504/3738504] -> "vmlinuz"  2013-10-03 11:15:00 URL:xhttp://ports.ubuntu.com/ubuntu-ports//dists/quantal/main/installer-armhf/current/images/highbank/netboot//initrd.gz [6213909/6213909] -> "initrd.gz"  /var/log/maas
( I had to prepend an 'x' in front of http in the posting because I'm not allowed to post more than two links)
The command stay stuck at this point without returning the prompt. Note that:
uname -a Linux myhost 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I did find bug 1067558 and 1070318 but I can't figure out how to go past this.
Any help is appreciated.