/srv/irclogs.ubuntu.com/2014/02/11/#maas.txt

bigjoolssmoser: anyone can, docs are in the source.00:06
bigjoolswhat's up?00:06
smoserbigjools, theres just some invalid stuff there.00:27
bigjoolsfile a bug00:27
smoserbigjools, https://code.launchpad.net/~smoser/maas/fix-ephem-doc/+merge/20567500:32
bigjoolsta00:33
bigjoolsapproved, it's landing now00:34
bigjoolsI'll regenerate the website docs a bit later00:35
bjfbigjools, if i want to take a node that is currently provisioned with saucy and reprovision it with precise do i need to delete the node from maas an go through a complete discovery/commisioning/allocation ?00:51
bigjoolsbjf: provisioned meaning "allocated" ?00:52
bjfbigjools, sure, maas fully installed saucy on it00:52
bjfbigjools, and now i want to put precise on it00:52
bigjoolsand it's up and allocated to a user?00:52
bjfbigjools, it's allocated to "maas" so my maas user i guess00:53
bigjoolsok00:53
bigjoolsare you using the maas ui?00:53
bigjoolsor juju?00:53
bjfi'm not doing any juju, i'm trying to just use the maas-cli00:53
bigjoolsok, stop the node, change its default series, then start it up again00:54
bigjoolsno need to delete - maas is better than that00:54
bigjoolsit's a cloud-like resource, remember00:54
bjfok, i'll try that, i had no luck with that earlier, but i'll try it again00:54
bigjoolsyou have to edit the node's default series00:54
bjfack00:55
bjf doing a "maas-cli <user> nodes list" doesn't show the "Release" or "Power parameters" for the nodes01:45
bigjoolsdon't know what you mean by Release, but you need to be admin to see power IIRC01:46
bjfbigjools, Release is what will be installed on the node (saucy, precise, etc.). i am using the admin account01:46
bigjoolsoh, series01:47
bjfbigjools, the UI says "Release" but yes, the series01:47
bigjoolshmm ok I think the power thing was something we wanted to show to admins only but didn't get around to it yet01:47
bjfack01:47
bigjoolspower has creds in it01:47
bigjoolsand yes the distro series is not returned in the api data01:48
bigjoolsbjf: just read your email, still having cdu trouble?01:51
bjfbigjools, yes, unfortunately01:53
bjfbigjools, i'm able to work around it right now while i learn the ins and outs of MAAS01:53
bigjoolsbjf: it could be a bug in the template for cdu, but it's what we use in the QA lab so it ought to work01:53
bjfbigjools, i looked at the template and it looked right to me, it looked exacly like what i can do from the command line01:54
bjfbigjools, so, that's why i'm confused01:54
bigjools    ${fence_cdu} -a ${power_address} -n ${power_id} -l ${power_user} -p ${power_pass} -o "$@"01:54
bjfexactly01:55
bigjoolsok01:55
bigjoolsare you issuing the command from the same machine as the cluster controller that would issue it?01:55
bjfyes01:55
bigjoolscan you see the power_on task appearing in the celery.log on the cluster?01:56
bjfgot a traceback01:58
bjfhttp://paste.ubuntu.com/6912536/01:59
bigjoolsthat's a power_off command failing02:00
bjfbigjools, i think i known what i'm doing wrong02:00
bigjoolsthe log is a bit crap, it should be showing an error message but there's a bug that hides it02:01
bjfindeed, i'm just an idiot ... fixed02:01
bigjoolsok :)02:01
bigjoolswhat was it?02:01
bjfi normally use the web ui for the CDU and i'd cut/pasted the url into the IP address field for the power param02:02
bjfnot *just* the ip addr02:02
bigjoolsah!02:02
bjfbigjools, i'm using and existing dhcp server. the celery.log is getting lots of messages about dhcp leases file missing. any way to quiet those?02:15
bigjoolsmake an empty leases file02:15
bjfbigjools, there is an empty one at /var/lib/dhcp/dhcpd.leases02:19
bigjoolsbjf: that's not the one maas uses02:19
bigjools/var/lib/maas/dhcp02:19
=== mwhudson is now known as zz_mwhudson
=== zz_mwhudson is now known as mwhudson
bigjoolsjtv: did you get a chance to look at my other branch?04:00
jtvStill reviewing Gavin's.04:01
bigjoolsah I was going to look at that too, will take a peek shortly04:03
bigjoolsneed to get maas-enlist recipe for the daily PPA04:03
bigjoolssince there isn't one :(04:04
=== mwhudson is now known as zz_mwhudson
bradmbigjools: oh, that ipmi stuff we were talking about a while back, I realised our maas controller isn't on the same network as the ilo and is unable to reach it, so it doesn't even matter what the settings are. :)06:16
bigjoolsbradm: !06:16
bradmbigjools: yeah.06:18
bigjoolsbradm: would it be at all scary if we only stored the MAC address of BMCs and ARPed the IP?06:19
bradmbigjools: we were chatting about the possibility of having a ssh proxy type provider that could run ipmitool for you, I wonder how well that'd go, then you could have a locked down box on the managemetn vlan06:20
bigjoolsanother option yeah06:21
bigjoolsif you want to write the maas driver for that, I will accept the patch :)06:21
bradmright, we thought you wouldn't say no to that sort of thing :)06:22
bradmnot saying it will happen, just that alexlist and I were chatting06:22
bigjoolsit's a great idea06:24
bradmits more a question of having time to write it06:24
bigjoolsit will be easier when we finish the driver api06:45
=== zz_mwhudson is now known as mwhudson
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
rvbagmb: I see, manual import of the daily ephemerals for Trusty.  We use to have a config option for this.09:40
gmbrvba: Right. Be nice if we could have one again, really. Although we won't care all that much until 16.04...09:40
rvbagmb: well, it's not really related to LTS vs. non-LTS.  The option would be useful when you want to use the ephemerals of a non-released series (LTS or not).09:43
gmbrvba: Then we should definitely have a way of doing it. I'll file a bug.09:43
gmb(If there isn't one already)09:43
=== mwhudson is now known as zz_mwhudson
rvbagmb: How can I change the status of the bugs created by maas-test?  I'd like to make successes as fixed bugs right from the start.10:27
allenaprvba: There may be permissions issues with doing that. Some statuses can only be set by bug supervisors.10:28
rvbaallenap: oh, I see.  I'll change the default set of tags then.10:28
rvbagmb: btw, didn't we want to include a unique system identifier in the title of the bugs reported by maas-test?10:31
gmbrvba: We talked about it, and then we went for including the whole lshw output and the original idea got lost.10:32
rvbaOkay.10:33
allenaprvba: I wouldn’t worry about fixing everything now. We can always post-process them to normalise titles.10:33
rvbaallenap: it's definitely not urgent indeed.10:36
rvbaI was just wondering if this was in the works or not.10:36
rvbaIt's a bit painful to have all the bugs filed with the same title.  Not the end of the world though.10:36
rvbagmb: (back to the Trusty ephemeral problem) There is an easy workaround: enlist and commission using Precise, deploy using Trusty.10:43
gmbrvba: Aha! Hadn't thought of that.10:43
rvbagmb: I just tried it and it works all right: http://people.canonical.com/~rvb/config.png10:45
gmbSweet10:45
* gmb is remembering why maas-test is such a pain to develop... too much waiting around.11:31
jtvHas anyone else been unable to start a VM with uvtool under Trusty?  I found this helpful post: http://cartesianproduct.wordpress.com/2011/07/31/kvm-starting-the-default-network/11:39
gmbjtv: Interesting. I had problems on Friday but strangely enough it's working fine today with absolutely no modifications whatever.11:41
gmbBut possibly I've killed a chicken I didn't know about or something.11:42
jtvIt's been consistently broken for me since Trusty.11:42
jtvAh yes.  The ritual slaughter of a chicken is sometimes done accidentally.  The Old Ones are odd that way.11:42
jtvPoor documenters.  Probably Unix geeks.11:42
jtv‘What do you mean, “rm -rf *” has no way of stopping you from making a mistake?  It clearly says “no match” the second time you run it.’11:43
allenapAnyone have time for a very quick review? https://code.launchpad.net/~allenap/maas/docs-where-art-thou/+merge/20576112:57
rvbaallenap: approved13:01
allenaprvba: Thanks.13:01
allenaprvba: LP didn’t register your vote on that docs mp. Could you try again?13:38
rvbaallenap: done.14:04
allenaprvba: Ta.14:04
allenaprvba: Do you think this’ll break the build?14:05
rvbaallenap: I don't see why it would.14:06
rvbaallenap: are you thinking about the dependencies' upgrade?14:06
allenaprvba: Yep.14:10
rvbaallenap: the lander is not in the lab anymore.14:10
rvbaSo we don't have the restriction we use to have.14:10
allenaprvba: Cool :)14:12
rvbaallenap: btw, Julian is going to give you a slap on the hand for that commit message: it doesn't state what the problem was at all :).14:22
rvbaallenap: ready for the ugly bug?14:28
rvbaallenap: https://bugs.launchpad.net/maas/+bug/127889514:31
ubot5Launchpad bug 1278895 in MAAS "When any of commissioning scripts fails, the error reported contains the list of the scripts that *didn't* fail" [High,In progress]14:32
=== freeflying_away is now known as freeflying
allenaprvba: It implies that it wasn’t working on Trusty :)15:19
=== freeflying is now known as freeflying_away
rvbaallenap: yeah, but why?15:20
rvba:)15:20
allenaprvba: Sorry mother ;)15:20
rvbaheh15:21
allenaprvba: I’ll have to answer to father later, name of bigjools.15:21
gmbrvba: So, this is interesting... On Trusty, maas-test is consistently hanging around the "Installing MAAS" point. Or rather the VM is hanging; I can be SSH'd into it and then my connection drops, but the machine doesn't go away and m-t just sits there for hours. I'll try and get some debugging information once I've finished with my test details branch.15:34
gmbI wonder if it's OOMing.15:34
rbasakgmb: if you call uvt-kvm with --log-console-output, you should see an OOM message in /var/log/libvirt/qemu/<machine> I think. If you don't use --log-console-output, then you can connect to the live console using "virsh console <name>".15:36
rvbagmb: when you say "on Trusty" do you mean the machine where maas-test runs or the virtual machine deployed by maas-test?15:36
rvbaThe former I suppose… ?15:37
gmbrvba: Trusty Host + default VM series, also Trusty host + trusty VM.15:37
rvbak15:37
gmbrbasak: Thanks for the tip. I'll try that out presently.15:37
gmbWait, what?15:42
* gmb might have just found a heisenbug.15:43
tomixxx4hello guys good news: now its the first time i was able to use the command "maas-cli maas node-groups import-boot-images" :D15:48
tomixxx4(i have re-installed ubuntu server and so on :P)15:48
tomixxx4before today, i always had to execute "sudo maas-import-pxe-files"15:49
tomixxx4after installation: do i have to hit the button "import boot images" in "settings" or is done automatically through commadn above?15:58
tomixxx4the node's output console says the following: "Unablte to locate configuration file : Boot failed"16:02
tomixxx4gmb: sorry, are u online? i have the problem that when a node is commissioning and tires to download its image, it prints out "TFTP prefix: Unable to locate configuration file. Boot failed"16:12
tomixxx4gmb: never had this before16:12
gmbtomixxx4: Hi, I am online, but I'm right in the middle of something that I can't switch away from. Let me see if there's someone else available to help you debug...16:13
tomixxx4gmb: kk16:13
allenaptomixxx4: It doesn’t automatically download pxe files; you do need to ask it to do it.16:15
tomixxx4allenap: hi, i have executed the command "$ maas-cli maas node-groups import-boot-images" on maas-server16:15
tomixxx4allenap: and the yellow warning message disappeared, as expected16:15
allenaptomixxx4: I suspect the error is because the files are not yet downloaded. Have a look in /var/lib/maas/tftp on the region controller (where the webapp runs).16:16
tomixxx4allenap: kk16:16
allenaptomixxx4: That disappears when the first thing gets downloaded. Unfortunately there’s no indication yet of when it’s finished.16:17
tomixxx4allenap: kk, i thought it is ok, if the yellow message disappears16:17
tomixxx4allenap: i mean, i thought this is signalling that everything is downloaded16:17
tomixxx4allenap: ty so far!16:18
tomixxx4allenap: what should iam looking for in the suggested folder above?16:24
allenaptomixxx4: Check that $arch/$subarch/$purpose/{linux,initrd.gz} exist (and maybe root.tar.gz too).16:33
tomixxx4allenap: yes, they exist, for example in "armhf/generic/quantal/commissioning"16:34
tomixxx4allenap: or "amd64/lucid/install&"16:34
allenaptomixxx4: I assume you mean amd64/generic/lucid/install. Btw, we don’t support installing Lucid with MAAS.16:35
tomixxx4allenap: yes, sorry16:35
tomixxx4allnap: also available: precise, quantal, sausy, trusty16:36
tomixxx4allenap: same for i38616:37
tomixxx4allenap: i never had this problem when i used the command sudo maas-import-pxe-files in prior installation-trials16:39
allenaptomixxx4: Can you try booting again?16:39
tomixxx4allenap: i try all the time. nodes reboot automatically after a time16:39
allenaptomixxx4: Fwiw, doing it via the UI/API ends up calling maas-import-pxe-files anyway.16:39
tomixxx4allenap: kk16:39
allenap(We want to rewrite maas-import-pxe-files, so are discouraging people from using it.)16:40
tomixxx4allenap: k16:41
tomixxx4allenap: are u a company behind maas?16:41
allenaptomixxx4: The core team work for Canonical, but MAAS is open source and we take contributions.16:44
tomixxx4allenap: kk16:44
tomixxx4allenap: a question is it important to set "Architecture" in "Edit node" screen to "i386" if i have intel-cpus in my nodes?16:45
allenaptomixxx4: How are you starting your nodes?16:45
tomixxx4allenap: well, i push the power button :-) i have no wake-on-lan16:45
tomixxx4allenap: boot failed again16:47
allenaptomixxx4: Have you acquired the node from MAAS, e.g. by calling maas-cli maas nodes acquire?16:48
tomixxx4allenap: no i have enlisted them via boot media, the same usb-boot-stick which i have used for my maas-server16:49
tomixxx4allenap: however, i do some NAT in order to connect nodes to i-net16:51
allenaptomixxx4: Have the nodes been through a commissioning cycle.16:51
allenap?16:51
tomixxx4allenap: yes, because 2 nodes + 1 maas server work in a prviate network. the maas-server has a second interface card which connects the server to the outside internet network16:52
tomixxx4allenap: y, i have commissioned the nodes16:52
tomixxx4allenap: but now they stuck in "commissioning"16:52
allenaptomixxx4: Okay, that means they’re not finished; commissioning runs some scripts and tells MAAS the outcome. If successful, the node should be ‘ready’ (iirc).16:53
tomixxx4allenap: yeah, the nodes will become "ready" after pxe images are downloaded, as far as i remember. it worked when i tried it a week ago16:54
tomixxx4allenap: but you do not think there is a NAT-problem the cause?16:54
tomixxx4allenap: and the nodes are aware were to download their things? or do i have maybe to set http-proxy settings in maas dashboard?16:55
allenaptomixxx4: Is the NAT between the nodes and the MAAS installation?16:55
tomixxx4no, between the interface of the maas which connects the maas to the nodes and the other interface of the maas, which connects the maas to the internet16:55
tomixxx4allenap: the script which i have used in order to set up NAT, looks as follow: http://pastebin.ubuntu.com/691599416:58
tomixxx4allenap: i have gotten it from gmb16:58
tomixxx4allenap: eth0 connects the server to the nodes, eth1 connects the server to i-net16:59
allenaptomixxx4: I’m really sorry, but I can’t get any deeper into this. Working with NAT and machines that do not have power control is outside of scope for MAAS. It may work, but unfortunately it’s not something I have the time or the expertise to help with.17:03
tomixxx4allenap: kk, ty17:06
=== zz_mwhudson is now known as mwhudson
roaksoaxsmoser: ping23:03
bjfbigjools, after reboot tftp was only listening to localhost. if i simply restarted maas-pserv it would start listening on the correct addr.  i found i needed to add IFACE=eth0 to the upstart job to correct this issue.23:11
=== CyberJacob is now known as CyberJacob|Away

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