/srv/irclogs.ubuntu.com/2015/05/15/#maas.txt

WillI have maas installed on an orange box. using juju I can load OpenStack. I want to use maas by itself to install/boot several nodes. However, on the nodes page I select a few nodes and run the bulk action but always get an error message: The action "Start selected nodes" could not be performed on 1 node because its state does not allow that action.04:10
WillAny idea about what state it is taking about?04:11
mupBug #1415493 changed: MAAS raises 'Cluster Master' (some UUID); no connections available' when changing a cluster interface <MAAS:Invalid> <https://launchpad.net/bugs/1415493>10:44
mupBug #1415493 was opened: MAAS raises 'Cluster Master' (some UUID); no connections available' when changing a cluster interface <MAAS:Invalid> <https://launchpad.net/bugs/1415493>10:50
mupBug #1415493 changed: MAAS raises 'Cluster Master' (some UUID); no connections available' when changing a cluster interface <MAAS:Invalid> <https://launchpad.net/bugs/1415493>10:56
=== jfarschman is now known as MilesDenver
mupBug #1455560 was opened: when I move servers between tags, list in nodes view is out of sync <oil> <MAAS:New> <https://launchpad.net/bugs/1455560>16:12
elurkkiWhat could be the problem when Commisioning new KVM virtual machine with MaaS the virtual machine gets IP nicely from DHCP, uses it, prints it on the screen, but the IP is not added to the Node. The IP can not seen in the node and from this DNS is not updated.20:34
elurkkiThe IP can be found from "Discovery Data" list aka. lsww:setting: ip: ip, value: 10.0.0.20120:35
elurkkiThanks a lot for any tips20:35
mupBug #1455643 was opened: 1.8 regression: Node listing extends past the edge of the screen <MAAS:Triaged by ubuntudotcom1> <https://launchpad.net/bugs/1455643>20:36
mupBug #1455656 was opened: 1.8beta6: not filter for tags doesn't work <oil> <MAAS:New> <https://launchpad.net/bugs/1455656>21:16
ahasenackelurkki: commissioning is something temporary, after that the machine changes into Ready and gets powered off, so no IP21:18
ahasenackelurkki: do you get that far? To the Ready state and power off?21:18
elurkkiThere I get yes21:21
bleepbloopIs there a way to tell how many disks maas thinks a machine has?21:21
elurkkiahasenack: Should the MaaS handle the IP to the DNS ?21:21
ahasenackelurkki: during commissioning it will use an IP from the so called "dynamic range" that you configured in the cluster21:22
ahasenackelurkki: but after all that, with the machine Ready and off, the IP is free21:22
elurkkiahasenack: Yep, I can see it gets the IP from DHCP pool21:22
ahasenackelurkki: you need to start it21:22
elurkkiTesting again21:22
ahasenackelurkki: once you start it (or deploy, in maas 1.8 terminology), it will get an OS installed and an IP from the "static range". That will be in DNS21:22
elurkkiCommisioning with fast boot now21:23
ahasenackno21:23
ahasenackcommissioning is only done once21:23
ahasenackif it's in the Ready state, you don't need to commission anymore21:23
elurkkiCan not boot it21:23
elurkkiHangs in the PXE21:23
elurkkiAnd timeouts21:23
elurkkiSo thought to commision it again21:24
ahasenackI thought you said the machine was in the "Ready" state21:24
elurkkiIt is21:24
elurkkiPower OFf21:24
elurkkiIf I power it on21:24
ahasenackthese are two things: Ready, and powered off21:24
ahasenackif it's Ready, it means it commissioned correctly before21:24
elurkkiand the machine is powered off in ready state I assume ?21:25
elurkkipysically powered off21:25
ahasenackbleepbloop: in maas 1.7, go to the node page in maas and click on "discovered details", you will have to search a bit21:25
ahasenackelurkki: it's written in the node list page, it's a collumn. What does it say for this machine?21:25
elurkkiStatus: Ready21:25
ahasenackelurkki: ok, then select it and from the drop down action menu select "start"21:26
elurkkidone21:26
elurkki"Deploying"21:26
bleepbloopahasenack: okay, do you happen to know what canonical landscape looks for exactly there? I'm having an issue where landscape is attached to maas and is not seeing as many drives as there actually are21:26
ahasenackbleepbloop: are you sure it's drives, and not networks? That's what usually trips people (networks)21:27
ahasenackbleepbloop: there is one checklist item that wants both on a machine: two disks, and two nics. The later attached to actual networks (can be the same, but must be attached)21:28
bleepbloopahasenack: the failing condition is "At least three machines with more than one disk have been commissioned"21:28
ahasenackbleepbloop: ok, then landscape will look for that hardware information from maas, in the "discovered details"21:28
ahasenackthe disks need to be larger than 1Gb, and cannot be virtio disks21:28
ahasenack(if using a VM)21:28
bleepbloopOkay, they are all physical machines, I guess what is most likely messing it up is it is detecting one of the disks as 1gb even though it is larger21:29
ahasenackbleepbloop: there is a virtual disk that maas uses for commissioning, it appears in that output, but is ignored21:29
ahasenackit's a QEMU something something disk21:29
ahasenackbleepbloop: one other case I saw once was about raid disks21:30
ahasenacksome confusion between the actual disks, and the raid device21:30
bleepbloopIt is probably the raid disks, I have raid enabled, I'm guessing I should just completely disable raid for this case?21:30
ahasenackbleepbloop: is it a dell?21:30
bleepbloopIt is 2 ibm's and an hp21:30
mupBug #1455656 changed: 1.8beta6: not filter for tags doesn't work <oil> <MAAS:New> <https://launchpad.net/bugs/1455656>21:31
ahasenackbleepbloop: ok, try disabling raid21:31
ahasenackthen commission again21:31
ahasenackif that still doesn't work, enlist again. I'm not sure commissioning picks up this kind of hardware change21:31
bleepbloopahasenack: Will do, I don't have access to the hardware where I am right now, however I will definitely try that monday, thank you! Do you think it will be enough to tell the raid controller to treat each drive as a simple volume? I am only asking because it seems everyone has really struggled with completely disabling raid on this machine, its an IBM x365021:34
ahasenackbleepbloop: all that matters in the end is what linux sees once it boots21:35
ahasenackbleepbloop: the code runs the "lshw" tool, you can try it somewhere else if you want21:35
ahasenackit two disks are shown as something like /dev/md0, then that will count as one disk only, and the checklist will fail21:35
ahasenackunless you have 4 disks ;)21:35
ahasenackbleepbloop: the two disks are required because one is used for the OS, and the other is used entirely for storage (ceph or swift)21:36
ahasenackso access to the actual disk is needed (the block device)21:36
mupBug #1455656 was opened: 1.8beta6: not filter for tags doesn't work <oil> <MAAS:New> <https://launchpad.net/bugs/1455656>21:37
mupBug #1455658 was opened: 1.8beta6: There is no documentation for the filter syntax <oil> <MAAS:New> <https://launchpad.net/bugs/1455658>21:37
mupBug #1455659 was opened: 1.8beta6: No way to filter to find nodes that don't have any of a list of tags <oil> <MAAS:New> <https://launchpad.net/bugs/1455659>21:37
bleepbloopahasenack: Gotcha, okay I will have to play around with a livecd boot on all of the machines and see what it is really seeing, so out of curiousity, if the machine has 3 drives which are all detected, will it use them all or just use 1 for os and 1 for storage?21:39
ahasenackbleepbloop: I think it will use the other 2 for storage21:40
ahasenackbleepbloop: we pass it a list of devices from /dev/sda to /dev/sdz, and the storage charm tries them all21:40
ahasenackof course, it won't wipe /dev/sda if that's where the OS is :)21:41
ahasenacks/wipe/use/21:41
bleepbloopahasenack: very cool, okay thats really useful, does the os always get installed on the first one seen or is it smart about using the smaller one for the os and larger ones for storage?21:41
ahasenackbleepbloop: maas installs the OS for the autopilot,21:42
ahasenackbleepbloop: I believe it's very simple in that regard: something like alphabetical order of the block devices21:42
bleepbloopahasenack: ah so thats pretty much up to maas at that point21:42
ahasenackright21:42
ahasenackjuju asks maas for an ubuntu trusty machine, maas delivers21:43
mupBug #1455658 changed: 1.8beta6: There is no documentation for the filter syntax <oil> <MAAS:New> <https://launchpad.net/bugs/1455658>21:43
mupBug #1455659 changed: 1.8beta6: No way to filter to find nodes that don't have any of a list of tags <oil> <MAAS:New> <https://launchpad.net/bugs/1455659>21:43
ahasenackthen the autopilot says what will be installed there in terms of services21:43
ahasenackI have seen a case where the machine had /dev/sda, /dev/sdb and /dev/nvmsomething21:43
ahasenackand /dev/nvm* was chosen for the OS21:43
ahasenackit was a high end ssd21:44
ahasenackhad to customise a bit the installation step to have it use /dev/sda, which is what we wanted21:44
mupBug #1455658 was opened: 1.8beta6: There is no documentation for the filter syntax <oil> <MAAS:New> <https://launchpad.net/bugs/1455658>21:46
mupBug #1455659 was opened: 1.8beta6: No way to filter to find nodes that don't have any of a list of tags <oil> <MAAS:New> <https://launchpad.net/bugs/1455659>21:46
bleepbloopahasenack: Interesting, really wish there was a bit more documentation on just how maas works, it does some stuff where it seems to try to abstract away as much stuff as possible from the user and leaves you wondering just what its going to do in a specific situtation21:46
elurkkiahasenack: This node which is trying to "Deploying" just hangs to the "Booting under MAAS direction". Probably my MaaS server just is not capable enough and does have something configured wrong.21:49
ahasenackbleepbloop: I think in general it's thought that if you have dozens of machines, grouped somehow, they are bound to be similar21:49
ahasenackelurkki: yeah, something else is wrong then, sorry21:50
ahasenackelurkki: did the vm do anything else since you clicked on start?21:50
elurkkiahasenack: Oh, after 7th boot try it started to go forward from the PXE21:50
ahasenacklike, install the OS? You would have seen a big wget output here it downloaded images21:50
ahasenackelurkki: it's a pretty straight forward setup, we use it all the time (maas with VMs), it's probably a networking issue of some kind21:51
elurkkiahasenack: It just powered on, acquired IP from DHCP and then started to try PXE21:51
ahasenackdon't forget to disable dhcp on the network where you attach maas to, for example21:51
ahasenackthe only dhcp server should be maas21:51
elurkkiYes, there is only MaaS DHCP21:52
bleepbloopahasenack: Well thanks for your help, I'll give disabling the raids as much as possible a go and hope it works!21:52
elurkkireading MaaS syslog to see21:52
ahasenackbleepbloop: good luck21:52
elurkkiBut I agree about other problems21:52
ahasenackbleepbloop: if you hit more issues, you can try askubuntu.com with the autopilot and/or landscape tags21:52
ahasenackbleepbloop: I rarely idle here21:52
elurkkiI assume this old Fujitsu RX100 S4 with deadly old virtualization support is just pulling my leg21:53
ahasenackI mean, I *idle* here :)21:53
ahasenackelurkki: I created it all in virt-manager21:53
bleepbloopahasenack: Will do, I was eyeing that up as well however figured I'd try here first :P21:53
ahasenackelurkki: network, vms21:53
ahasenackbleepbloop: sure21:54
elurkkiahasenack: I am using bridged network. It might be problem as well21:54
ahasenackhm21:54
ahasenackelurkki: I used NAT, what virt-manager calls NAT21:54
ahasenackelurkki: just disabled DHCP21:54
ahasenackelurkki: then created the vm for maas, and for the nodes, attached to this network21:55
ahasenackelurkki: that's the simplest case and should work. Later on you can try more advanced scenarios21:55
elurkkiahasenack: yep, probably have to test that scenario first21:55
ahasenackthat's isolated enough, and allows the nodes to reach the internet without problems21:55
elurkkiI agree21:56
ahasenackbut you can only reach the nodes from your machine, of course21:56
ahasenackI'm gonna go21:57
ahasenackgood luck guys21:57
ahasenacksee you around21:57
elurkkithanks a lot for all the help21:57
elurkkicu later21:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!