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

=== wgrant_ is now known as wgrant
Lord_Setbigjools or jtk you around?01:01
bigjoolsyup01:01
Lord_SetDo you have any good examples of comissioning scripts?01:02
bigjoolsI have examples, you might not call them good01:02
Lord_SetOne of our developers was looking to see some examples01:02
Lord_SetAny example will work01:02
bigjoolsif you look in the code metadataserver/models/commissioningscript.py01:04
bigjoolsthe built-in scripts are there01:04
Lord_SetOk thanks01:04
svetmyHi, are there any samples of custom commissioning scripts, i.e. user defined scripts. E.g. I'm trying to install webmin, custom packages, after installation of a node.01:38
svetmy?01:39
bigjoolssvetmy: commissioning scripts are not for installation tasks01:39
bigjoolsyou need to use cloud-init scripts for that01:39
bigjoolsLord_Set: did your friend see my response?01:46
bigjoolssvetmy: hello you pinged out, did you see my response?01:48
svetmyno, sorry, could you pl repost?01:48
bigjoolssvetmy: commissioning scripts are not for installation tasks01:48
bigjoolsyou need to use cloud-init scripts for that01:48
bigjoolsjtv1: was your randomly failing test this one?03:11
bigjoolsFAIL: maasserver.views.tests.test_rpc.RPCViewTest.test_rpc_info_when_rpc_running03:11
jtv1No.03:11
=== jtv1 is now known as jtv
jtvI filed:03:12
jtvhttps://bugs.launchpad.net/maas/+bug/128391803:12
ubot5Ubuntu bug 1283918 in MAAS "Intermittent test failure: test_wait_script_waits_for_lldpd" [High,Triaged]03:12
jtvhttps://bugs.launchpad.net/maas/+bug/128441803:12
bigjoolsok03:12
ubot5Ubuntu bug 1284418 in MAAS "Intermittent test failures in TestDNSConfigModicfications: "dig" returns 9" [High,Triaged]03:12
bigjoolstrying another run03:12
bigjoolsjtv: I am ->this<- close to doing a mass rename of DHCP_CONNECT and DNS_CONNECT03:13
bigjoolsbecause what it actually means is, RUN_DHCP_JOBS03:13
=== mwhudson is now known as zz_mwhudson
jtvI wish there were a way to speed up the build.  It's getting tediously slow.04:15
bigjoolswhich build?04:21
jtv"make"04:22
jtvIn a maas branch.04:22
bigjoolsmine is quick enough04:22
bigjoolsare you pulling deps every time?04:22
jtvThat's what it seems to be doing, yes.04:22
bigjoolsI have a trick for you04:23
bigjools~/.buildout/default.cfg:04:23
bigjoolsdownload-cache = /home/<you>/.buildout/cache04:23
bigjoolseggs-directory = /home/<you>/.buildout/eggs04:23
jtvmkdir ~/.buildout04:23
jtvgvim ./buildout/default.cfg04:23
jtvAnything else that needs to go in there?04:23
bigjoolssigh :)04:23
bigjoolsyou're welcome04:24
jtvDo we have this documented anywhere?04:24
bigjoolsdoubt it04:24
jtvUntil we finally ditch buildout, I mean...04:25
bigjoolswe're moving away from buildout04:25
bigjoolsare you using a sandbox checkout as well?04:25
bigjoolswhich makes things ever moar quickerer04:25
jtvWell let's see about getting this set up first...04:25
jtvAfter that, I'd be ecstatic to speed it up even more.04:25
bigjoolsok I'm going to eat, I'll explain on my return04:26
jtvThanks.04:26
jtvbigjools: the buildout config needed a section header, but with that, I'm down to 8 seconds.  Thanks!04:34
bigjoolsjtv: woops yes sorry05:05
bigjoolsjtv: can speed it up more though05:05
bigjoolsI use no-tree branches05:05
bigjoolsand have a single lightweight checkout with the files05:06
bigjoolsand use bzr switch to change branches05:06
bjfi have maas importing trusty pxe files now. how can i get the maas ui to add trusty as one of the options to install on new nodes?05:26
bigjoolsbjf: you probably need a newer version05:26
bjfbigjools, a newer version of MAAS ? i've installed the stock saucy, do i need to switch to the cloud archive?05:27
bigjoolsbjf: umm, saucy doesnt know anything about trusty, no05:27
bigjoolsyou need a trusty maas running on trusty05:28
bjfbigjools, but in the future i'll always want to be able to install the current development seris05:28
bjfbigjools, as one of the options05:29
bigjoolsbjf: unless someone invents a time machine that won't be possible I'm afraid05:30
bigjoolsI think there's an outstanding bug to support this but it's not high priority05:31
jtvbigjools: get_interfaces_managed_by actually grew out of is_dhcp_managed_by, which had the DHCP_CONNECT check in it.06:09
jtvis_dhcp_managed_by was originally is_dhcp_managed.06:09
jtvSo the DHCP_CONNECT check has been in there for years — I just had to change it from returning a boolean to returning a set of managed interfaces.06:11
jtv(And no, I didn't write the original :)06:11
bigjoolsjtv: ok :)06:21
=== CyberJacob|Away is now known as CyberJacob
jtvrvba: I'd be quite interested to know how you're fixing the scaling on the node/MAC multi-selection widget!08:40
rvbajtv: well, I'm not fixing the whole problem, just part of it.08:40
rvbajtv: making the widget usable when we have hundreds of MAC is doable (that's what I'm doing).08:41
rvbajtv: make the widget usable when we have tens of thousands of MACs is another story.08:41
rvbas/make/making/08:41
jtvThe worry there is of course not so much that the widget won't work well, because people aren't going to do that stuff manually.  The problem there I think is that the page will have trouble loading.08:42
rvbajtv: yes indeed, with tens of thousands of MACs the page will be horribly slow, if not completely broken.08:43
jtvI'll just add a separate card for that.08:44
rvbajtv: What I think we should do is remove the widget entirely if we have more than, say, 500 MACs.08:44
jtvThat'd do it...08:44
rvbaReplace the whole widget with a message saying to use the API.08:44
jtvOr a widget on the Node page.08:47
jtvBut, yes, at scale the API is the more systematic answer.08:48
jtvStepping out for a bit.08:48
bigjoolsrvba: we need two widgets IMO09:08
rvbabigjools: the second widget (the one that can cope with a lot of MACs) would have to be developed from scratch I'm afraid.  It's a lot of work for very little gain.09:16
bigjoolsrvba: it doesn't need to cope with a lot of MACs09:16
bigjoolswe need a node picker, which when picked, sets up the MAC picker09:16
bigjoolsthereby narrowing down the selection09:16
bigjoolscould even do cluster -> node -> mac09:17
rvbaThe first picker will need to cope with a lot of nodes.09:17
rvbaWe're down to the same pb.09:17
bigjoolsyes but picking nodes is easier as we can make it work like the tag picker on LP09:17
bigjoolsyou can search on name09:17
bigjoolspresenting hundreds of nodes to click on is not useful09:17
rvbaRight, it's definitely possible.  But it's not trivial.09:18
bigjoolsthis is an interesting problem - I am inclined to defer it actually rather than rushing :/09:18
rvbaInteresting / JS09:18
rvbaE_CONTRADICTION09:18
bigjools:)09:18
jpdsbigjools: Ping.10:56
jpdsAnyone have any idea how I can debug this? http://people.canonical.com/~jpds/cannot-find-disk.png10:57
jtvjpds: not really, but the error itself is not specific to MAAS.11:20
jtvSome people on the internet seem to be getting that error, but not a lot...  From what I see it looks like it might be a hardware problem of some sort.11:21
jtvHere's someone whose MBR looks to have been corrupt, leading to this error message: http://www.experts-exchange.com/Hardware/Storage/Q_26451031.html11:22
jpdsWell, the machine had just gone through the fastpath installer.11:23
jtvroaksoax or smoser might be able to help.11:24
=== edamato is now known as edu-afk
=== CyberJacob is now known as CyberJacob|Away
roaksoaxjpds: is this after a system install?15:31
roaksoaxjpds: that's either 1. MAAS is telling them to LOCALBOOT to the wrong location15:31
roaksoaxor parameter really15:31
roaksoaxor 2. The disk where the installation is is different?15:32
roaksoaxjpds: i'd suggest looking at the localboot pxe template15:32
jpdsroaksoax: I think UEFI is doing something funny.15:33
roaksoaxmaybe15:34
=== roadmr_ is now known as roadmr
=== zz_mwhudson is now known as mwhudson
Lord_SetGreetings20:50
Lord_SetHow is everyone today?20:50
=== Settite is now known as Lord_Set
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob

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