/srv/irclogs.ubuntu.com/2012/12/18/#maas.txt

roaksoaxrvba: howdy13:50
roaksoaxrvba: so what's the status of the SRU stuff ?13:50
roaksoaxrvba: is it ready for upload?13:51
rvbaroaksoax: Hi Andres.14:03
rvbaroaksoax: upstream is good. But there is bug 1090334 for the packaging.14:04
ubot5bug 1090334 in maas (Ubuntu) "MAAS (in precise) requires django >= 1.3.1-4ubuntu1.5" [High,Confirmed] https://launchpad.net/bugs/109033414:04
roaksoaxrvba: right, there's an SRU for that14:06
rvbaroaksoax: I thought the SRU was for the python-django package.  This is for updating the dependencies of maas with the right version of python-django.14:07
roaksoaxrvba: nope, there's SRU bugs with the stuff we require, such as GenericIPAddressField etc etc14:08
rvbaroaksoax: right now, if you already have python-django and maas installed on precise and upgrade to the the SRU maas, the upgrade fails.14:08
roaksoaxrvba: https://bugs.launchpad.net/ubuntu/precise/+source/python-django/+bug/108139214:09
rvbaroaksoax: ok, so maybe you should close this bug with a pointer to the right SRU bug.14:09
ubot5Launchpad bug 1081392 in python-django (Ubuntu Precise) "[SRU] Include upstream fix for bug 15496" [High,New]14:09
rvbaroaksoax: ok, but shouldn't we also update the dependencies needed by maas?14:10
rvbaEven if the new version of python-django gets released, it will still be possible to break maas unless we force the version of python-django right?14:10
roaksoaxrvba: in packaging? no not really14:12
roaksoaxit will be released in -updates and as part of upgrading, it will also upgrade dependencies frist14:12
rvbaIs the behaviour of apt-get different when the package is in a ppa then?14:13
rvbaBecause it's easy to break maas right now:14:13
rvba- on precise, install maas (the one which was released with precise)14:14
rvba- add the testing ppa14:14
roaksoaxrvba: yes, the one in PPA has a higher version from the one in arcdhives, and that's why you are able to use that instead14:14
rvba- apt-get install maas => upgrade broken because python-django was not upgrade (although a new version is available in the ppa)14:14
roaksoaxmaybe there's a newer version on the archives now14:15
rvbaAll I'm saying is that if there is an old version already installed, upgrading maas does not automatically upgrade python-django, and this results in a broken maas.14:15
roaksoaxrvba: right, so a sudo apt-get upgrade or (dist-upgrade) will upgrade dependencies first14:16
roaksoaxhence, upgrading python-django14:17
roaksoaxrvba: in any case, we can always add a hard requirement14:17
roaksoaxfor that particular version14:17
roaksoaxbut we shouldn'y really need on14:17
roaksoaxlets just wait till django hits archives14:17
rvbaOk, you're the expert here.  It's just weird to open up the door for breakages.14:17
roaksoaxright14:18
roaksoaxi agree, lets just wait for the dependencies to be released, then we take care of the final upgrade testing14:18
rvbaroaksoax: same thing with isc-dhcp-server14:19
roaksoaxyep14:20
rvba(there is no bug for that one)14:20
roaksoaxrvba: there is14:21
rvbaroaksoax: if you're going to update the packaging (to add hard requirements), that's probably something you can do now.  After all, the right versions are in the ppa that we use for testing.14:21
roaksoaxrvba: https://blueprints.launchpad.net/ubuntu/+spec/servercloud-r-maas-next-steps14:22
rvbaroaksoax: I suppose somewhere in that page there is the mention of the need to add a hard requirement for maas with the right version of isc-dhcp-server ;)14:24
roaksoaxrvba: sure i don't have any objections on adding them14:25
roaksoaxrvba: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/104917714:25
ubot5Launchpad bug 1049177 in maas (Ubuntu Precise) "isc-dhcp-server apparmor profile should have include ".d" " [Undecided,New]14:25
rvbaroaksoax: Again, I leave these changes up to you.  But one user managed to break its maas installation while testing the package the other day.14:25
roaksoaxrvba: TBH i have no objections on making those changes14:26
roaksoaxsince it shouldn't break anything14:26
roaksoaxrvba: btw.. i'm gonna do this. 1. upload quantal changes to raring14:27
roaksoaxrvba: 2. bug someone over getting the SRU's processed14:27
roaksoax3. check if there's something else to upload to raring again.. and then SRU back to both quantal and precise14:27
rvbaroaksoax: I think the most important right now is to get the SRU uploaded.14:28
rvbaroaksoax: we have a weird problem with raring right now.14:28
rvbaroaksoax: when we package trunk for quantal, all is fine, the integration tests pass.  When we package the same thing for raring, some of the tests fail.14:29
roaksoaxrvba: the quantal version we have *has* to be uploaded to raring in order for us to SRU14:29
rvba(but the package installs ok)14:29
roaksoaxweird14:29
rvbaroaksoax: ok then14:29
roaksoaxrvba: so the thing is that since we are backporting a new upstream release14:29
roaksoaxthe release hsa to be released in ubuntu+114:30
rvbaroaksoax: I see14:30
roaksoaxthen backported(SRU) back to previous releases14:30
roaksoaxso we *have* to upload it to raring14:30
=== matsubara is now known as matsubara-lunch
roaksoaxrvba: are there other changes we'd like to add to the stabilization branch?14:32
rvbaroaksoax: there is one fix that we did not backport.  It's a very minor fix that fixes a tiny problem on the dev instance only (r 1279).  It does not affect the prod environment at all.  It is worth backporting that?14:34
roaksoaxrvba: not really14:35
rvbaroaksoax: ok, then we're good.14:35
roaksoaxrvba: ok, I'd like to squeeze in the fence_cud power method for the QA team to use14:36
rvbaroaksoax: as I said on the ML yesterday, the packages I've uploaded to the testing ppa have been tested (both using the integration test suite and manually)14:36
roaksoaxI'll work on it now though14:36
roaksoaxrvba: great!14:36
jtvsmoser: hi scott — question: do I remember correctly that user_data as retrieved from the metadata API really isn't supposed to be more than 16KB?14:41
smoserin ec2 it is 16kb binary blob.14:42
smoserbut that isnt any sort of requirement for maas14:42
jtvAh OK14:43
jtvSo then I wasted my time explaining in my MP why "kilobyte vs kibibyte" is missing the point entirely.14:43
smoserjtv, you probably do want some limit though.14:47
jtvWell...  we no longer need it user-editable AFAICS; we have custom commissioning scripts now.14:48
smoseras the user storing that in the database could gro quite large.14:48
smoseruser-data is user-editable14:48
jtvAnd it looks to me as if some ¾ of the script could be moved into that mechanism, cutting the main thing down to 5KB.14:48
smoserthat *is* a requirement.14:48
jtvUser-data, or the commissioning script which we send to a commissioning node as user-data?14:49
smoserthe former.14:49
jtvAh OK14:49
jtvI've been neck-deep in the commissioning script today, so I'm rather conflating the two now.14:49
jtvThe main commissioning script AFAICS no longer needs to be editable because there's a way for admins to inject their own code there.14:50
jtvAnd the IPMI code & configs look like prime candidates for moving into that mechanism.  The main commissioning script is far too large and unwieldy, and if we're going to download a tarball from the server anyway, we might as well put that code there.14:53
roaksoaxjtv: i already have plans to move the IPMI stuff out of commissioning and enlisting14:56
roaksoaxjtv: by moving them into their own scripts and used by commissioning/enlistment user dat14:56
jtvroaksoax: great — we have a mechanism that can accommodate this easily15:01
roaksoaxjtv: yeah, but we were thinking on putting these in a separate package15:02
roaksoaxjtv: because maas-enlist is a utility being used to enlist machines manually, and detecting ipmi could be used as well15:02
roaksoaxjtv: not only for commissioning/enlistment15:02
jtvroaksoax: being able to unit-test the code separately, or even to make manual tests easier, would be a big advantage.15:19
roaksoaxjtv: that's the plan15:20
=== matsubara-lunch is now known as matsubara
jtvrvba: did you find the problem with the packaging?  I guess only user_data.template is not being installed, since the rest of the files are python?16:53
rvbajtv: I don't know.  The html templates in ./src/maasserver/templates are shipped all right.16:55
jtvroaksoax, do you know what it would take to make the packaging install this new file, src/metadataserver/commissioning/user_data.template alongside the surrounding python files?16:56
roaksoaxjtv: yes, setup.py16:56
roaksoaxjtv: let check16:56
roaksoaxjtv: wasn't there a file in the source that listed what to include and what to exclude?17:01
rvbaroaksoax: probably MANIFEST.in17:03
roaksoaxrvba: ah yes thanks!!17:05
roaksoaxjtv: yeah add something to fence_cdu -a 192.168.1.11 -n Panda_a42 -l ubuntu -p ubuntu -o status17:06
jtv\o/17:06
jtvroaksoax: that last one was meant for someone else I guess?17:06
roaksoaxjtv: yeah :)17:07
jtvPhew.  I thought I'd gone mad.17:07
jtvrvba: are you making that change or do you want me to?17:07
rvbajtv: fix is coming up17:07
jtvGreat17:07
jtvBecause I'm almost asleep :)17:07
roaksoaxjtv: so you could add something like: http://paste.ubuntu.com/1447968/17:07
roaksoaxor: http://paste.ubuntu.com/1447971/17:08
roaksoaxcan't remember what wil work17:08
rvbajtv: https://code.launchpad.net/~rvb/maas/missing-files/+merge/14049917:08
jtvroaksoax: rvba  did something like that in the above MP ^17:14
jtvReviewed.17:14
roaksoaxjtv: we no longer ship a file etc/maas/commissioning-user-data?17:18
jtvNope.17:18
jtvIt's generated on the fly now.17:18
roaksoaxjtv: ack17:21
jtvroaksoax: most of the file is now in src/metadataserver/user_data.template, but some embedded python scripts are now separate files in src/metadataserver/snippets.17:24
jtvThis means we can run our lint checkers and import formatters on those, and who knows, maybe even unit- test them.17:24
roaksoaxjtv: cool, one thing though, where can I add custom scripts17:25
jtvroaksoax: custom scripts, as provided by the admins, are now stored in the database.  Plus MAAS itself can also add in custom scripts that travel through the same mechanism, but aren't editable.17:29
jtvCurrently there's only one such script, the tiny lshw one, so it's kept in-line in a name/content dict.  I imagine we'll want to replace this with a directory at some point, and the separate ipmi-configs package could install files into that directory.17:30
roaksoaxjtv: ack!17:33
roaksoaxrvba: if you have the time, could you take a look at: https://code.launchpad.net/~andreserl/maas/lp1073462_fence_cdu_power_type/+merge/14050417:35
roaksoaxplease?17:35
roaksoaxthanks!!17:35
rvbaroaksoax: I've got to step out now but I'll have a look at it tomorrow morning first thing unless jtv grabs it first.17:47
jtvrvba: it's Wednesday today, but not yet working hours.  :)17:51

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