2

I am doing following tutorial:

But I cannot get out from 'Commissioning' state of my virtual MaaS nodes to 'Ready' state. Following image shows my current architecture:

private cloud architecture

Now, I would like to pxe boot MaaS nodes via MaaS Server! I added <dev root='network' /> to VM's XMLs but when I start them, they just say not bootable device. They even do not try to find any DHCP server for pxe boot! I also try to forward UDP packets (tftpd=69, mdnc=68, dhcp=67) from KVM's host to MaaS Server via ip tables but nothing changed!

How I can troubleshoot TFTPD and BOOTP servers at MaaS Server? I could not find any log for them on the system!

Does this architecture allow this booting scenario? If not so, how I should reach the 'Ready' state for my MaaS's nodes!

Thanks in advance!

3 Answers 3

1

Tons of thanks to gPXE, if the node boot up via a gPXE iso as it's cdrom (rather than a network boot), then it can successfully take interaction with MaaS Server and change it's state from Commissioning to Ready!

0

I suspect you're seeing bug 1051626.

I had to change the next-server in /etc/maas/dhcpd.conf to be the IP of the virbr0 interface.

sudo sed -i.dist "s/next-server .*/next-server $MAAS_NEXT_SERVER;/" \
   /etc/maas/dhcpd.conf
sudo service maas-dhcp-server restart
3
  • I do NOT have /etc/maas/dhcpd.conf on MaaS Server's file system! However, USING SAME CONFIGURATIONS, after some more research I could boot up the node from MaaS Server using gPxe (rom-o-matic.net/gpxe/gpxe-1.0.1/contrib/rom-o-matic). It successfully booted up but always connects to MaaS's apache server to download packages rather than archive.ubuntu.com!!! I'll continue after my new year holidays and let you know ;) thanks Mar 17, 2013 at 18:54
  • Hi again; I successfully booted up using gPxe (rom-o-matic.net/gpxe/gpxe-1.0.1/contrib/rom-o-matic). It started booting from MaaS Server's TFTP, downloaded and installed some staff and finally shutdowned itself. I happily gone to MaaS Server WEB UI but still they're in commissioning state :(( Mar 18, 2013 at 14:13
  • OK, previuos comment was a temprory unknown problem; I started an amazing new year because finally I bootstrapped juju using gPXE utility as I described in my answer :) thank you @smoser for developing ubuntu ;) Mar 18, 2013 at 16:05
0

If I were you i would consider connecting to your server with virt-manager gui and set it up that way. It gives a better overview - to me it seems you have misconfigured the networking and therefore the nodes can not fetch the IP address...

4
  • but when I boot up another VM in same network via a Live CD (DSL), it can get a new IP from MaaS Server; I verified this by seeing /var/log/syslog. Mar 13, 2013 at 20:41
  • Yasser, right. Its only an issue with the tftp, and my experience was that it was only on the attempt to load the tftp config. If you're able, just make the tftp server listen on the virbr0 interface address.
    – smoser
    Mar 14, 2013 at 18:14
  • @dhojgaard, the KVM and VMs are on a server machine which cannot have X Windows installed; Can virt-manager display a remore VM via opening itself via Xming Server? Mar 17, 2013 at 19:00
  • 1
    @YasserZamani With virt-manager you can connect to the server running the virtual machines. Try to install it on your laptop or a computer running ubuntu desktop and connect to the network with the server and then connect to that server via virt-manager
    – dhojgaard
    Mar 18, 2013 at 13:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .