/srv/irclogs.ubuntu.com/2012/06/28/#maas.txt

jtvroaksoax: I've got a branch going in soon that assumes that both the power-action templates directory and the pxe templates directory live in the same respective directories as the modules that make use of them.  So if you can install src/provisioningserver/pxe/templates in the same directory as src/provisioningserver/pxe/pxeconfig.py, and src/provisioningserver/power/templates in the same directory as src/provisioningserver/power/poweraction.py, that'll so08:54
jtvroaksoax: Hi.  I just landed a branch that should fix the problems you ran into yesterday with the pxe/power template directories, provided that the installed package install each of those two template directories in the same location as the respective module that makes use of it.09:34
jtvI'm stepping out now, back later!09:34
=== matsubara is now known as matsubara-lunch
=== matsubara-lunch is now known as matsubara
=== mrevell_ is now known as mrevell
jtvrvba: reviewed your branch.  Thanks for writing it.13:10
rvbaroaksoax: I've fixed most of the incompatibility issues I've seen yesterday (the only one remaining is about the API doc generation so it's not critical).  If you create a new package with the current trunk we will be able to investigate the wsgi issue.13:58
roaksoaxrvba ok cool14:00
roaksoaxleave me a few14:00
jcharettemorning, i'd like some help with maas and juju14:21
roaksoaxhi jcharette , ask your question and if someone is able to help you, he/she will14:33
allenapmatsubara: \o/ re. Jenkins14:34
matsubaraallenap, I'm pleased that you liked that your Highness. :-)14:36
allenapHaha :)14:36
roaksoaxrvba: btw.. did you see the new yui3 package i uploaded to testing PPA?14:39
rvbaroaksoax: ah, no I didn't.  I'll check it out.14:40
jcharettei'm trying to get juju and maas talking14:43
jcharettei've configured my juju environment to load the precise series14:44
jcharettejuju seems to try to talk to maas14:44
jcharettebut maas reports back that no matching node is available14:44
jcharettenot really sure what that means, the maas console shows 6 nodes14:45
roaksoaxjcharette: have the nodes been "Accepted & Commissioned"?14:46
jcharettehrm, they are stuck on 'commissioning'14:46
jcharetteperhaps something is up with dhcp14:46
jcharettei'll investigate14:46
jtvhi there roaksoax — got my messages earlier?  About the failure with the templates directory that you hit the other day?14:47
jcharetteis it possible to have a maas server dual homed14:48
roaksoaxjtv: howdy! Yes I did, I'm building a new package to test14:48
roaksoaxjcharette: you have to commission the nodes14:48
roaksoaxjcharette: this means that for some reason WoL didn't work and didn't turn on the servers for them to commission14:48
jcharettei think its because i'm trying to dual home the maas server and have it handle dhcp for a private network of nodes14:49
jcharettehence WoL isn't kicking the boxes for provisioning14:49
jcharetteis there a way to tell a node to stop trying to commission the box14:51
jcharettesorry, tell MAAS to stop trying14:51
jcharette(reading console and typing is a bad idea without coffee)14:51
roaksoaxjcharette: maas is not trying to commission the node, maas is waiting for it to commission14:52
jcharetteyeah, i want to remove the node and try an alternate approach14:52
roaksoaxrvba: ^^14:53
rvbajcharette: hi, please have a look at this faq entry: http://askubuntu.com/questions/141106/how-do-i-delete-a-node-from-maas-after-removing-it-from-cobbler14:54
jcharettervba: thanks14:54
roaksoaxrvba: ok just uploaded a new version for you to play with. should build and publish soon14:58
rvbaroaksoax: great14:58
roaksoaxjtv: it seems to be working now: http://pastebin.ubuntu.com/1064431/15:00
roaksoaxjtv: so does this mean maas-import-isos will eventually be ditched?15:01
jcharetteroaksoax: looks like the problem i'm having is that VirtualBox doesn't support WoL15:15
roaksoaxjcharette: plop, that's the nissue then15:23
roaksoaxi thought you were using a real network15:23
roaksoax:)15:23
roaksoaxrvba: any luck?15:47
rvbaroaksoax: I was working on something else, I'm just getting started with the package now.15:48
roaksoaxrvba: oh ok :)15:48
rvbaroaksoax: Just installed the package.  There is an issue with the JS libs but the homepage loads ok (no wsgi error).15:53
rvbaI'll investigate the JS libs issue.15:53
roaksoaxrvba: uhmmmm now yui is installing in /usr/share/javascript/yui315:53
roaksoaxrvba: but I patched the settings15:53
roaksoaxrvba: now, I wonder why this is not working in precise!15:53
rvba(I'm testing on Quantal)15:54
roaksoaxrvba: right, but we are gonna be backporting this, so it *has* to work on precise15:54
rvbaroaksoax: I know but I'm got only two hands and one brain so I'm taking this one step at a time :)15:55
roaksoaxlol15:55
roaksoaxrvba: btw.. can you quickly review https://code.launchpad.net/~andreserl/maas/pxe_power_template_install/+merge/112593 ?15:57
roaksoaxwhen you have the chance15:57
rvbaI'll get to it, just one sec.15:57
roaksoaxrvba: no worries, take your time15:57
roaksoaxthanks tyhough15:57
rvbaroaksoax: libjs-raphael has not been installed when installing maas.  I suspect it's simply missing from the dependencies.16:00
roaksoaxrvba: that's weird, I haven't removed it16:01
roaksoaxrvba: did you make any change to source from the actual package instead?16:01
rvbaroaksoax: I simply installed the package from the PPA on a brand new quantal install.16:02
roaksoaxrvba: right, but I mean, in the maas source, did you do any change on how raphael is being sourced (i.e from /usr/share/javascript/raphael16:03
rvbaroaksoax: no.  I installed the package manually and now it's picked up correctly.16:03
rvbaroaksoax: so it's only a matter of adding it as a required dependency.  I /think/.16:04
roaksoaxrvba: ok good16:04
rvbaroaksoax:16:04
rvbaarg16:04
rvbaroaksoax: I found the issue:  there is a problem with the package.  Some files are missing.16:05
rvbaroaksoax: all the files "*-min.js" it seems.16:05
rvba(that's in the copy of YUI in the tree): ls yui-base: yui-base-debug.js  yui-base.js  yui-base-min.js16:06
roaksoaxrvba: so you use both? yui full's and mins's?16:06
roaksoaxrvba: then install libjs-yui-min16:06
rvbaThat's in the package: ls yui-base: yui-base.js16:06
roaksoaxrvba: I'll also depend on libjs-yui-min then16:06
rvbaMAAS uses "-min" or the normal files depending on a debug setting.  But the default is to use "-min".16:07
* rvba installs libjs-yui3-min.16:08
roaksoaxrvba: i'll just depend on both16:08
rvbaSounds sensible.16:09
roaksoaxrvba: btw.. I just realized we can't really ditch yui from trunk16:10
roaksoaxnor raphael16:10
rvbaroaksoax: why is that?16:11
rvbaPrecise compatibility I guess…16:11
roaksoaxrvba: exactly16:11
roaksoaxrvba: unless we also SRU raphael/yui, which we would be better off by not doing so16:12
roaksoaxDaviey: I think we'd need to know the exact info as the packaging will differ at some point.16:12
roaksoaxDaviey: at the moement, we were looking on ditching YUI/raphael from trunk but we can't since we are going to be backporting16:13
roaksoaxrvba: ok so we need to make sure we don't introduce changes in wsgi that will make it not work in precise16:14
rvbaroaksoax: sure.16:14
rvbaroaksoax: I found one problem: we now have a new step to generate one js file.  When running "make enums", it will produce src/maasserver/static/js/enums.js.16:15
roaksoaxrvba: got it.16:16
roaksoaxrvba: is python-celery precise's version supported for MAAS? or we need quantal one?16:17
rvbaroaksoax: we've been experimenting with precise so far.16:17
roaksoaxrvba: ok so I'll get a maas version uploaded for precise that continues to ship yui from trunk16:19
rvbaroaksoax: precise is still the main target platform for us.  I'm the only one helping you with quantal right now.16:19
rvbaroaksoax: we'd like to get rid of the copy in our tree if that's possible of course.  But whether or not it's feasible to have the JS package in precise is up to you guys.16:20
rvbaroaksoax: you're MP has been approved by Gavin "The Hawk" allenap. :)16:21
roaksoaxrvba: right, IMHO, while we can backport raphael easily, I don't know about yui3 since it is cimpletely a new source package16:21
roaksoaxrvba: lol, "The Hak"16:22
roaksoaxrvba: lol, "The Hawk"16:22
roaksoaxlol16:22
roaksoaxallenap: \o/, Hawk!!16:22
rvbaAlways on the look-out for a MP to review :).16:22
roaksoaxhaha16:23
rvbaIf I copy manually enums.js, the JS loads up correctly.  I spotted another tiny problem but it has nothing to do with packaging so I'll spare you the description.16:25
roaksoaxrvba: hehe ok16:26
roaksoaxrvba: who handles the installer stuff?16:30
roaksoaxrvba: makefiles/setup.py16:30
rvbaroaksoax: you mean who in our team is the most familiar with the top-level file setup.py?16:32
roaksoaxrvba: yeah... cause I think it would be better to have the enums.js file generation on the setup.py rather than in a makefile16:32
rvbaallenap will know. :)16:32
roaksoaxallenap: ^^16:32
allenaproaksoax: I have to go in -5 minutes, but I've been looking at that stuff recently. I was considering using Paver to streamline the process.16:36
roaksoaxallenap: not in precise though :(16:37
allenaproaksoax: We can borrow Paver's ideas though.16:41
allenapAnyway, got to go! roaksoax, shall we talk about this tomorrow?16:41
roaksoaxallenap: sure thing16:42
roaksoaxthanks16:42
rvbaroaksoax: I need to go too… I'll test the package on precise tomorrow morning and let you know how it works.16:45
roaksoaxrvba: cool, thanks! Have a good one man16:45
rvbaYou too.16:45
=== matsubara is now known as matsubara-afk
roaksoaxDaviey: ok I have a working MAAS package for quantal and precise. Will upload yui3 on friday though, and then maas20:14
roaksoaxsmoser: ^^20:14
Davieyroaksoax: awesome!20:15
Davieyroaksoax: gah, dammit.. I was going to give you a squashfs20:16
roaksoaxDaviey: hehe ok :)20:17
smoserwow, roaksoax ! nice work.20:18
roaksoaxsmoser: heh, it wasn't that bad as last cycle :)20:18
smoseri was hopign to get a response on my suggestion for oauth fix from bigjools20:18
smoseroauth timestamp fix20:18
Davieysmoser: bigjools won't be around much the next couple of weeks.20:18
roaksoaxsmoser: good thing is that we are still before FFe so we can upload to quantal as many times as we can20:18
roaksoaxsmoser: we can get things tested in quantal, and once ready we can just take care of precise20:19
smoserDaviey, roaksoax did you read my mail?20:20
smoserwhat did you think of that solution.20:20
smosermoderately hacky, requires a "web time service"20:20
roaksoaxsmoser: reading at it now20:20
roaksoaxsmoser: sounds good to me, simple enough and very SRU'able20:22
roaksoaxsmoser: free? would you care to review https://code.launchpad.net/~andreserl/maas/quantal_packaging_changes_bzr697/+merge/112649 ?20:44
smoseri'll take a quick look20:44
roaksoaxsmoser: thanks20:47
smoserroaksoax, is your start on right?20:51
smoserit doesn't seem right to me20:52
roaksoaxsmoser: it is not a final revision to be released20:52
smoseryou can start without all network devices up, but need *some* device up?20:52
smoser(well, you asked for review!)20:52
smoserwhat does celeryd do?20:53
smoserand shouldn't you be telling it to use celeryconfig.py ? somewhere?20:53
roaksoaxsmoser: celeryd is basically the cobbler replacement20:55
smoserok.20:55
smoseri just dont see how you are giving it any configuration20:55
smoseror how it would know about maas in any way20:55
roaksoaxsmoser: the configuration lies in it being in the pythonpath20:56
roaksoaxsmoser: same way as it is being done with maas_local_settings.py20:56
smoserwhat pythonpath?20:56
roaksoaxit is installed in /etc/maas/ and symlinked into /usr/share/maas/20:56
smoserhow are you telling pythopath to celeryd?20:56
smoseri'm confused.20:56
smoseroh... the maas user maybe?20:56
roaksoaxsmoser: celeryd by default sources those paths20:57
roaksoaxso if the config is available to it, then it is used20:57
roaksoaxsmoser: I don't know the design principles of it, but that's how it works20:57
roaksoaxsmoser: similar way to how twistd does it20:57
smoser"by default sources those paths"21:00
smoserwhat paths?21:00
roaksoaxsmoser: PYTHONPATH21:00
smoserwell, that does make senes. so the maas user has PYTHONPATH set to /etc/maas ?21:01
roaksoaxsmoser: nop21:01
roaksoaxsmoser: maas is installed in /usr/share/maas21:01
smoserright.21:02
smoseri see that.21:02
roaksoaxsmoser: the configs are installed in /etc/maas/maas_local_settings.py and /etc/maas/celeryconfig.py21:02
smoseris thre a reason you link it into /etc/maas ?21:02
roaksoaxsmoser: then they are symlinked into /usr/share/maas, where they are sourced from21:02
smosero.21:03
smosertha tmakes rasonable sense.21:03
smoseryou refreshed: debian/patches/01-fix-database-settings.patch21:03
roaksoaxsmoser: yep21:03
smoserjust because. i guess thats fine.21:03
roaksoaxsmoser: heh, not just because but there were offsets that I thought would be best not to have21:04
smoserok. so i have to run21:06
smosermy only request then is that you comment in /etc/init/maas-celery.conf that the config is picked up out of /etc/maas/21:07
smoserand maybe say how21:07
smoserfor dummies like me21:07
smoserto whom that is not obvious21:07
roaksoaxsmoser: done, if you feel ok to approve it would be great21:10

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