[02:40] Champs, I am really confused on how to add my VM nodes to the maas controller. Does anyone have a step by step guide on how to create VM using virsh and then provision it in maas controller ? [02:41] MarkBaker ? [05:53] anyone up for helping me figure out why a VM does not leave the commisioning state in my maas [09:30] hi, I found some information that MaaS supports installing CentOS in version 1.7.0, is there any documentation on how to set it up (or where can I find it?) [10:40] p_l, blake_r would be the best person to help, but I do believe there is documentation === lazyPower is now known as lp|Metrics === liam_ is now known as Guest51703 === roadmr is now known as roadmr_afk === roadmr_afk is now known as roadmr === roadmr is now known as roadmr_afk === roadmr_afk is now known as roadmr === lp|Metrics is now known as lazyPower [19:39] experts, am trying to run this command sudo maas-import-pxe-files. It appears a new node tftps to the maas server and looks for files such as pxelinux.0 .. [19:39] Howver that command needs a sources-file. Can somehelp help me by giving me their sources-file contents [20:10] saltlake: what version of MAAS? [20:14] blake_r: I have " Installed: 1.7.0~beta8+bzr3272-0ubuntu1.2" [20:21] blake_r: " [20:21] any ideas ? [20:22] saltlake: yes so your using a command from an older version [20:22] saltlake: just visit the WebUI and go to the images page [20:22] saltlake: you will be able to start the import there [20:22] I did download a ubutnu image from the ui as well [20:22] saltlake: then that is all you need [20:23] However when I start a client node .. I see on the client nodes console: tftp://192.168.122.100/pxelinux.0 ... No such file or directory [20:23] saltlake: did you configure the cluster interface? [20:23] Yes the cluster interface looks connected [20:24] saltlake: no did you go the cluster page and configure an interface to provide dhcp and dns? [20:24] Do I have to add the ndoe manually on the UI or does it show up automatically [20:24] blake_r: yes I did [20:24] saltlake: okay and 192.168.122.100 is the ip address of the maas server? [20:25] blake_r: yes that is so and I set the interface to manage DHCP and DNS and gave it a DHCP range from 192.168.122.101 -200 [20:25] saltlake: okay [20:25] saltlake: check that the import completed successfully [20:25] saltlake: see if there is any errors in /var/log/maas/pserv.log [20:26] I just saw an error when I started the client VM [20:26] blake_r: I started the client VM thus: virt-install --connect qemu:///system -n client1 -r 1024 --arch=x86_64 --pxe --network=network:default,mac=AA:AA:AA:AA:AA:01 --vnc --accelerate --disk=/var/lib/libvirt/images/client1,size=30 [20:26] blake_r: I see this: WARNING The guest's network configuration does not support PXE [20:26] saltlake: that is fine, its a lie [20:27] blake_r: :-( oh [20:27] saltlake: you need to check that pserv.log for me [20:27] saltlake: you can just paste the whole thing if you want [20:27] saltlake: pastebinit /var/log/maas/pserv.log [20:28] blake_r:http://pastebin.com/HgREdVPi [20:29] saltlake: that is only listening of internal interfaces [20:29] saltlake: it should show it connected to an external interface [20:29] is that not enough ? [20:29] saltlake: does the server have an eth0? [20:29] Hmm.. even if it has an image downloaded to it ? [20:30] blake_r: the maas server has eth0 which is the cluster interface network 192.168.122.0 [20:30] network [20:31] the maas server is a VM [20:31] saltlake: okay lets restart the clsuter service [20:31] service maas restart ? [20:31] saltlake: "sudo service maas-clusterd restart" [20:31] saltlake: also I would recommend upgrading to the latest version that we have in stable, [20:32] saltlake: sudo add-apt-repository ppa:maas-maintainers/stable [20:32] saltlake: sudo apt-get update && sudo apt-get dist-upgrade -y [20:32] blake_r: thanks for the tip.. will do .. do you recommend aborting this totally ? [20:32] saltlake: aborting what? [20:33] blake_r: aborting working with 1.7 and update [20:33] saltlake: its just going to upgrade to 1.7.0 stable [20:33] saltlake: the version you have is a beta [20:33] saltlake: just small fixes no large changes [20:33] blake_r: ok I want to wait.. this is the most progress I have made so want to make some more before I tear it down and restart [20:34] saltlake: it can upgrade without a restart [20:34] blake_r: Do i restart the VM [20:34] saltlake: it will restart the services for you [20:34] saltlake: no need to restart anything [20:35] blake_r: ok I srestarted clusterd. Now I see one image in the images section of the UI [20:35] blake_r: the client1 boot window does not progress I think that is given up, do I try to add the node manually ? [20:35] blake_r: By going on the UI->add node ? [20:35] saltlake: no you still need the client to boot [20:36] blake_r: so restart the client VM ? [20:36] saltlake: yes restart the client vm to see if it pxe boots [20:37] blake_r: It appears to be installing!! [20:37] saltlake: awesome [20:38] saltlake: it will not install yet, it will just enlist the node into maas [20:38] blake_r: Muah!! Thank you brother!! So after a cluster interface config. . I shoudl restart the service.. !! [20:38] saltlake: you will need to go to the newly added node in the maas ui and add the power parameters [20:38] saltlake: no you dont need to do that, it will restart the dhcp service for you on save [20:39] saltlake: it was just that for tftp service wasnt listing on an outbound interface, for some reason [20:39] saltlake: could have been that maas-clusterd came online before eth0 was ready [20:39] blake_r: the client rebooted by itself .. is that normal [20:40] saltlake: since this is a vm, maas cannot setup the power parameters for you, you need to add that information [20:40] saltlake: maas did not reboot the machine, virt-install did [20:40] saltlake: you now should power the machine off [20:40] blake_r: OK I will try that now and see if the gues will start back up [20:40] saltlake: add the power parameters on the maas ui and then commission the node [20:40] saltlake: once the node has commissioned you can then acquire and start the node [20:41] saltlake: starting the node will install Ubuntu for you [20:41] saltlake: you will then be able to ssh into your newly installed ubuntu machine [20:41] saltlake: here is some information about using maas to control virtual machine nodes [20:42] saltlake: http://maas.ubuntu.com/docs/nodes.html#virtual-machine-nodes [20:43] blake_r: The status changed to commissioning.. any ideas how long this takes ? I have been stuck at this for many days [20:43] I mean in all the diff install tries i nthe last week [20:43] saltlake: it should take at most 10 minutes [20:43] saltlake: if its stuck there then something went wrong [20:44] blake_r: But should I see something on the console of the client1 vm ? [20:44] I see it stuck on "No bootable devices!! [20:44] saltlake: is maas able to power the node on and off? [20:44] blake_r: It did a power node on for sure [20:44] saltlake: oh that is virt-install for you! it didnt make the first device pxe [20:44] saltlake: you need to change the first boot device to be pxe [20:45] saltlake: i bet its not even set to boot from pxe [20:45] blake_r: It is actually [20:45] saltlake: does it get an ip? [20:46] blake_r: Its got IP 192.168.122.101 but the console window of the client1 vm does not mode. That said.. I just saw the xml file fir the client1 Vm. [20:46] It has boot dev='hd' [20:46] It should have it pxe as u said right !! [20:47] :q! [20:47] yeah "--pxe" with virt-install only means for the first boot [20:47] so if you reboot it manually it will then commission [20:47] blake_r: got it.. let me kill the VM and edit the xml and restart the vm in virsh [20:48] blake_r: Can I PM u for a minute ? [20:48] saltlake: sure [20:58] blake_r: I added the boot order to include nwteork in the client1 virsh file. I restarted the node commissioning This time it does not an IP address and virt-viewer client1 shows "Waiting for guest domain to start" [21:00] blake_r: Thanks a bunch!! The node finally moved from commissioning to "ready" [21:01] saltlake: awesome glad to hear it! [21:01] saltlake: no problem anytime [21:01] blake_r: Thanks really!! You have no idea how frustrated I have been with the state of commissioning!!!!! [21:01] Thank you!! [21:02] saltlake: haha, your welcome! === blake_r is now known as blake_r-travel === zz_CyberJacob is now known as CyberJacob