/srv/irclogs.ubuntu.com/2012/09/14/#maas.txt

smoserjtv, do we have dhcpd fixes in?00:48
bigjoolshe won't be around for another hour00:56
smoserppa seems uninstallable for me00:58
smoserbigjools, http://paste.ubuntu.com/1203854/00:59
smoserthat is from daily ppa00:59
bigjoolsdarn it00:59
bigjoolssmoser: a change was made in the code that now needs a packaging change I think, I'll dig01:03
bigjoolsyeah postinst call01:03
smoserright.01:03
bigjoolsnot sure why it was removed in the 1.1 branch :/01:04
bigjoolsI'll do a branch to fix it01:06
smoserbigjools, it seems like it is more than just '--dhcp-interfaces' -> '--interface' (which also seems like potentially a deeper issue because the debconf question is asking for plural and this seems to expect singular)01:10
bigjoolssmoser: yes we're making 1.1 only manage one interface01:11
bigjoolstrunk supports multiple01:11
smoserhttp://paste.ubuntu.com/1203878/01:11
smoserafter fixing the simple --interface, that is the command that the postinst runs and fails as shown01:12
bigjoolsoh ffs01:12
bigjoolssomeone has backported too much01:12
smoserthis is daily ppa of trunk01:12
bigjoolsoh ok01:13
bigjoolsI think a data migration is needed01:13
smoserbigjools, do you happen to have a reason for 'suite=' on the kernel cmdline ?01:13
bigjoolsI'll file a bug01:13
bigjoolssmoser: I doubt it - most of those were cargo culted from cobbler01:14
smoserk. i'm dropping it.01:14
bigjoolsfeel free to fix as you see fit01:14
smoserhttps://code.launchpad.net/~smoser/maas/kernel-cmdline-cleanup/+merge/12422601:14
smoseri haven't fixed tests yet, but the kernel cmdline is much cleaner now01:14
bigjoolsI'll review it shortly, just putting up the packaging fixes01:14
smoserthe tests wont pass01:15
bigjoolsok, do you need help with those?01:15
bigjoolssmoser: https://code.launchpad.net/~julian-edwards/maas/packaging.precise/+merge/12432801:16
bigjoolsARGH01:16
bigjoolswait01:17
smoseri'll take help with them. sure. as i was hoping to get out of here.01:17
bigjoolsso if you ignore the rules change everything else is ok in that branch :)01:18
smosermy description is hopefully fairly complete in describing what i dropped.01:18
bigjoolsjust pushed up a fix01:18
bigjoolsok01:18
bigjoolsif you check my packaging change I'll try to fix tests01:18
bigjoolsin yours01:18
smoserbigjools, well, i dont think your pakcaging change does fix it01:19
smoseras that pastebin above01:19
smoseri basically made that change locally and hten hit a python trace01:19
bigjoolssmoser: it will fix packaging01:19
bigjoolsa separate change is needed upstream01:19
bigjoolsbecause it's assume some data is present, which is not there01:19
smoserah. well packaging still wont install :)01:19
bigjoolsone thing at a time :)01:19
smoserbigjools, i can ACK that packaging change.01:20
bigjoolsthanks01:21
smoserper removal of rule schange fix.01:21
bigjoolsyeah - it's changing to lp:maas/12.04-nocobbler01:21
bigjoolsas it was wrong in the target branch anyway01:21
bigjoolsdiff has updated now01:21
smoseryou could make that a variable01:21
smoserwhen you want to fix it01:21
smoser./debian/rules BZR_BRANCH=lp:maas/12.04-nocobbler01:22
smoserapproved.01:22
bigjoolsthanks01:22
smoseri'm gonna head out for the night.01:23
bigjoolsI'll poke it in trunk packaging too01:23
bigjoolscheers01:23
bigjoolssleep well01:23
smoserlp:~smoser/maas/maas-pkg-test01:23
smoserthats mostly just junk, but its what i'm working on as a setup/test for the packaged stuff.01:23
bigjoolscool01:23
smoserit allows me to get to booting and enlisting (assuming non-broken packaging)01:23
smoserand it has to be kept up.01:24
smoserbut its a start.01:24
bigjoolsyep01:24
jtvsmoser: no dhcpd fixes yet to my knowledge.  Needs the packaging changes first, in both quantal and precise.01:44
jtvI am writing that command that gives you a cluster's managed DHCP interfaces though.01:53
bigjoolsmorning jtv01:54
jtvHi01:54
* jtv cries at the sight of his reviews01:54
bigjools:)01:54
bigjoolsI am looking at the long one but dunno how much I can review01:54
bigjoolsconflicts FTL01:55
bigjoolshmm just one stray marker01:58
bigjoolsweird01:58
bigjoolsunless you messed up a merge and forgot to remove it01:58
jtvWhich one is that?01:59
bigjoolshttps://code.launchpad.net/~jtv/maas/bug-1025582-task/+merge/12390002:00
ubot5Ubuntu bug 123900 in SchoolTool "Better Zonki" [Wishlist,Fix released]02:00
bigjoolsubot5: you suck02:00
jtvI never had any conflicts on that one.  I think it's just weirdness with the way conflicts propagate through dependent branches.02:01
jtvI resolved my conflicts on the -api branch.  Will propagate the resolutions through the dependent branches.02:01
roaksoaxhowdy02:20
roaksoaxbigjools: so 'maas config_master_dhcp' enables MAAS DHCP server if not enabled right?02:22
roaksoaxbigjools: is it possible to add a command that disables it?02:22
bigjoolsroaksoax: it does02:22
roaksoaxsuch as maas disable_master_dhcp02:22
bigjoolsanything's possible :)02:22
bigjoolswhy do you need it?02:22
roaksoaxbigjools: so thatn when maas-dhcp gets uninstalled, or dpkg-reocnfigure and set to NO, it gets disabled in MAAS02:22
bigjoolsfair enough02:23
roaksoaxbigjools: btw.. short response to the email on adding releases support02:24
roaksoaxbigjools: most of what scott discussed is already addressed02:25
roaksoaxbigjools: and the support has been added02:25
roaksoaxbigjools: https://code.launchpad.net/~andreserl/maas/add_ubuntu_releases_lp101314602:25
bigjoolsroaksoax: yeah I figured you guys were working on it02:25
roaksoaxbigjools: i also have the juju stuff worked out, and tested02:26
roaksoaxbigjools: the only thing needed is modify the maas unnittests02:26
bigjoolsok02:26
roaksoaxok cool02:27
roaksoaxit should be proposed next week though02:27
roaksoaxi need to updated and resolve conflicts with the new trunk02:27
bigjoolsroaksoax: I don't like the magic enum, FWIW02:27
roaksoaxbigjools: yeah i need to change that02:27
bigjoolsit means restarting maas for a new release02:28
bigjoolsrelease should be a DB table02:28
bigjoolsthen we can add pickers for it later02:28
roaksoaxbigjools: you bean enum UBUNTU_RELEASES?02:28
bigjoolsalso a customer might have a custom release02:28
bigjoolsyeah02:29
roaksoaxbigjools: well I think we should rely on distro info for that02:29
roaksoaxbigjools: that's the accurate way to obtain the ubuntu supported releases02:29
bigjoolswhy should someone be restricted to deploying ubuntu supported releases?02:29
roaksoaxbigjools: and wouldn;t mean harcodign releases, and SRU'ing new changes on and on02:29
bigjoolsI am proposing to make it data-driven02:30
roaksoaxbigjools: well that means that every time there's a new release, we have to SRU02:30
roaksoaxwhich is a clear PITA02:30
roaksoaxbigjools: this was an issue we had in cobbler02:30
bigjoolsNo, we don't :)02:30
bigjoolsI think what you have is ok short term, because it will need a lot of changes in the UI to do what I propose02:31
bigjoolsif it's data driven we can add new releases in the UI02:31
roaksoaxbigjools: right sounds fair02:32
roaksoaxbigjools: i will get that to trunk first02:32
roaksoaxbigjools: and we can go from there02:32
roaksoaxas it is currently blocking me on other stuff until there's no real quantal support in02:32
bigjoolsroaksoax: yeah02:33
roaksoaxalright then.02:33
bigjoolsroaksoax: oh also we *might* want to call it series, not release02:34
bigjoolsto be consistent with Launchpad02:34
roaksoaxbigjools: yeah that's one of the changes I need to make02:34
bigjoolsrelease was intended to be point releases02:34
bigjoolsah cool02:34
roaksoaxbigjools: What's your preference? series, ubuntu_series or os_series02:35
bigjoolsdistro_series02:35
roaksoaxok cool02:35
bigjoolsthanks!02:35
bigjoolsroaksoax: let us know if you want help with tests02:36
roaksoaxbigjools: yep, rvba already offered himself :)02:36
bigjoolscool02:36
bigjoolsjtv: done02:58
bigjoolsand now I shall eat luncheon02:58
jtvThanks!02:58
jtvI'll be going to mine too.02:58
bigjoolsmine will involve biking over Mount CootTha though02:59
jtvAAAAArgh.  Semantic conflict with Raphaël's changes.03:03
jtv*bash* *bash* *bash*03:03
jtvThree days of begging for a review, and when I finally get one, my code is obsolete.03:04
jamdisconnected ... :(08:57
jtvVery.08:58
jamjelmer: would you like to come back on mumble?09:03
jelmerjam: yep09:04
jamjelmer, mgz: poke when you get back. I have to go in about 15 min.12:06
smoserhey12:38
smoserwhats the simplest way to be albe to run unit tests ?12:38
smoseri'm assuming that 'make install-dependencies' will get me stuff, but i dont think i need all that.12:38
smoserjtv,rvba?12:46
jtvHi there12:46
rvbaHi smoser.12:46
smosersorry for direct ping.12:46
jtvTry "make test".12:46
smoserwell, fails: Error: pg_config executable not found.12:47
jtvThen have you tried "make install-dependencies"?  :)12:47
smoserwell i said that is plain silly.12:47
smoseri just want to run tests.12:47
jtvHave a look in required-packages.12:47
rvbasmoser: maybe you're missing the package 'libpq-dev'.12:48
jtvI think the make target gives you the "base" and the "dev" ones, not the "optional" ones.12:48
smoserrvba, well clearly i am.12:48
smoserand i can peicemeal get the stuff.12:48
smoserbut 'make install-dependencies' gets all sorts of things that surely are not necessary for 'make test'12:49
smoseri just want to run unit tests12:49
smoser(so maybe maketest is too broad anyway)12:49
jtvYes, there's a bunch of stuff in "base" that should be in a separate list.12:49
jtvBut the fact is we just haven't gotten around to breaking that down any further.12:49
smoserk.12:49
smoserthats a fine answer.12:49
jtvThank you.12:49
smoserso basically you'll just 'make install-dependencies' ?12:49
smoserjtv, i'm assuming you thought i was being sarcastic :) but this time i actually wasnt.12:50
jtvOr do it piecemeal, as you say; I think the stuff in dev is all needed at least.12:50
smoseri just wanted to know if i was doing something stupid.12:50
jtvNo worries!12:50
smoserso on your system youve just got the whole shebang12:50
smoserthats fine. the schroot buildup was just going for a couple minutes before i got bored with it.12:51
smoserso do we think that the daily ppa is installable now?12:51
jtvI think for testing you should be able to do without bind9, probably bind9utils & dnsutils & isc-hdcp-common, ipmitool (I hope!), and maybe syslinux-common.  And you can probably do without wget.12:51
jtvI haven't looked at the python-* packages in detail; I expect you'd need most or all.12:53
guimalufanyone know how can I set up a smarter partition scheme when deploying a node? Partman can only handle one partition, so I've tried late-command, but isn't working. :/ any hint?12:54
jtvNo idea how you'd tell the installer that.  :/12:55
smoserguimaluf, well, you probably want partman_early_command13:02
smoserlate_command is (no surprise) too late.13:02
smoseri'm fairly sure you can preseed just about whatever you want as a partition layout, but i really havent ever played with it.13:03
smoserhttp://bryars.eu/2011/08/automating-debian-preseed-installs-with-raid-and-lvm/13:03
smoserseems reasonable a s a starting point13:04
smoserjtv, is 'make test's install of dependencies direcotory specifi c ?13:04
smoserie, if i hvae trunk.my-feature and trunk-my-fix dirs, do i need one for each or are they somehow shared13:05
jtv"make test" doesn't install anything.13:05
smoserwell, its dependencies do13:05
jtvIt may run buildout, which may be set up to share a cache across branches.13:05
smosers/install/buildout/13:05
smoserfor being technical13:05
smoserk13:05
jtvAh.  Then the answer is: I think it depends on your local setup.13:05
guimalufsmoser, I've tried many recipes and use multiple disks(I said wrong, partman can only handle one DISK), none of this worked for me :/ I dont know why... my solution was using guided lvm installation with 15% of disk space. It's working fine, but I want to partitionate the other 3 disks.13:06
guimalufsmoser, I'll try to use this early command13:06
smoserguimaluf, well this is n't really maas specific.13:07
smoserand as i said, i've never really done this.13:07
smoserbut i do believe it shoudl be possible13:08
guimalufsmoser, I know it's not related directly with maas, but it's a customization I want to use with maas.13:20
smoserunderstood.13:21
smoserok. i have a python quesiton13:50
mgznooooo....13:50
smoserKernelParametersBase is a named tuple13:50
smoserbut how do values for each key get set?13:50
mgzconstruct it with args/kwargs13:51
smoserat least i see code expecting 'params.purpose' to have some value, but i dont understand where it gets said value.13:51
smoserok. got it.13:52
mgzeg, I see in tftp: `KernelParameters(**data)`13:53
mgzand also by defined names in maasserver.api13:54
mgzsmoser: a question in return, constraining by arch -13:54
mgzcurrently juju/ec2 allows 'i386' and 'amd64' which must match exactly, or '?' to mean either13:55
mgzas you can stick an i386 image on a amd64 box to satisfy the contraint, what should maas do when told to acquire an i386 machine?13:56
mgzthere's no way of picking images currently, right?13:56
smoserthere is no way of picking images, no.13:56
smoserwell, as what hsould maas do... it should install i38613:57
smoserthats easy!13:57
smoseras to whether or not it can, i dont know.13:57
smoserwas that the question, mgz?13:58
mgzso, Node has an architecture param right now, and I added a constraint to just match that,13:58
mgzsee <https://code.launchpad.net/~gz/maas/arch_constraint/+merge/123789>13:58
mgzI should special case accept both 'amd64' and 'i386' there, and add some logic to pick the right image?13:59
mgzor just accept that this is overly limiting for now, till we have some image fanciness?13:59
smoseri think near term there are no images.14:00
mgzso near term, if a node says it's amd64, it really is going to end up 64 bit?14:00
smoseri think i agree with what you're saying. basically if i386 comes in as a constraint, or it is otherwise told to install i386 that it should just allow it if the node is amd6414:01
smosermgz, this is not un-related to the "multiple release" issue14:01
smoserwe had the same problem there, really.14:01
smoserthere is just a global "release"14:01
smoserand we're now attachign that as an attribute of the node14:02
mgzright, that is similar.14:02
smoserbut really we want an "instance" ("deployment" or whatever) table14:02
smoserand that instance/deployment would say "i386" is the arch14:02
smoserbut we dont have that now.14:02
smoserand if you change the node's arch for a deploy, then you have to store the *real* arch to avoid downcasting permenantly.14:02
smoserie, for release we just said that Node.os_release would just be set back to None on 'release'14:03
smoserwhat are the values acceptable for "purpose" of KernelParameters ?14:05
smoserthe only code i see looks for 'commissioning'. so thats the only string i ssee that is seemingly valid.14:05
mgzprobably that's all that's defined as having a meaning right now14:06
smosermgz, did you follow what i was saying above?14:12
smoserits reasonable that you could accept that constraint.14:12
smoserbut if someone asks for i386, you shoud'nt give them amd64 and just pretend you did what they asked.14:12
smoserthe use case for i386 on amd64 is very slim, and honestly i386 in general. but i tihnk maas should install an i386 distro if its asked to do so.14:13
mgzright, until we can actually stick an appropriate image on the machine, the current constraint is correct14:13
smoserbut to do that you ahve to change the arch of that node14:13
smoserand then you have to store what it *really* was so you can put it back later.14:13
jtvsmoser: any luck getting the dhcpd apparmor profile into precise and quantal?14:24
smoserjtv, its in quantal14:25
smoserit wont be in precise until it works for you in quantal14:25
jtv!14:26
smoseri'm not SRUing anything that isn't known functional14:26
smoser(that is a SRU requirement)14:26
smoserthat it is fixed in the development release, and i personally dont consider "fixed but not verified as useful" the same thing as "fixed released"14:27
jtvAt least now I can move ahead with the quantal side I guess.14:27
smosercorrect14:28
smoseroh. hey. one question, jtv14:28
smoserhow do you kick a build of daily ppa ?14:28
smoserits out of date14:28
smoser(and uninstallable)14:28
jtvIsn't a daily PPA supposed to build daily?  In which case, the trick would be to find out what's been stopping it from building.14:31
smoseryeah i would have thought hte same14:32
smoserbut afaiks https://launchpad.net/~maas-maintainers/+archive/dailybuilds?field.series_filter=quantal is revno 987 but https://code.launchpad.net/~maas-maintainers/maas/trunk is at 100014:34
jtvMy guess is that pushing a "build again" button probably wouldn't do much good, if the build doesn't come through.14:35
jtvsmoser: Hmm... I see a 20-hour-old package at 994.14:36
jtvIsn't that the one you want?14:36
jtvAh, it's not built14:36
smoserok. i'm blind. where do you see this?14:37
smoseri see 0.1+bzr987+dfsg-0+994+83~ppa0~quantal114:37
smosergay14:37
smosernever mind14:37
smoser:)14:37
smoseri have no idea what i saw at 98714:38
smoseroh. as you said, the newer isnt built14:38
smoseri'm really confused14:38
jtvSo am I.14:39
jtvNo idea what the 994 stands for.14:39
jtvI need to run out for a bit.14:40
roaksoax994 is bzr branch14:41
roaksoax987 is the bzr branch on the packaging branch14:41
roaksoaxand 994 is the branch the daily build is creating14:41
roaksoaxi mean, [packaging14:41
jtvThanks!  Problem solved then, I hope.14:42
smoserroaksoax, ok. can i get a new trunk ?14:42
smosera build of new trunk14:42
smoseri want 0.1+bzr100014:42
roaksoaxsmoser: you want one released today?14:43
roaksoaxsmoser: or someone can just fire up a new daily build14:43
smoserroaksoax, i'm sorry for being confusing.14:44
smoseri want the daily ppa to have the latest trunk14:44
smoser(and i think generally i always want that.... no?)14:44
roaksoaxsmoser: so someone needs to fire up a new build then14:45
roaksoaxsmoser: 0.1+bzr987+dfsg-0+1000+83~ppa0~quantal114:45
roaksoaxthat's what you want14:45
smoserso bzr987 is the packaging version?14:50
smoserbut anyway, yes. thats what i want.14:50
smoserand generally if we can have per-commit, that'd be good too.14:50
smoseri think14:50
smoserat least it would seem.14:50
smoserjtv, what is the correct style for this: http://paste.ubuntu.com/1204901/14:52
smoserspecifically i'm asking about the line 8 and the replacement of that method (get_ephemeral_name)14:52
smoser(lines 93-106)14:52
smoserrvba, ^ ?14:59
rvbasmoser: use patch(), let me give you an example…15:00
smoseri see it.15:01
smoserthanks15:01
rvbasmoser: ok, cool.15:01
smoserrvba, ok. now i ask for review.15:09
smoserhttps://code.launchpad.net/~smoser/maas/kernel-cmdline-cleanup/+merge/12422615:09
rvbasmoser: ok, I'm finishing up a branch and then I'll review it.15:12
fjlacostesmoser: daily builds builds _daily_15:16
fjlacostebuildd resources are scarce :-)15:16
smoserfjlacoste, can you poke it manually?15:18
smoser(just curious)15:18
fjlacostesmoser: yes15:20
fjlacostesmoser: you can always push a button to build now15:20
fjlacostethere is probably an api to request it15:21
fjlacoste(i'm really speculating here)15:21
fjlacosteso we could automate it (as a post-jenkins action)15:21
smoserwhere is the button?15:24
* smoser sucks with web uis15:24
smoserfjlacoste, ^15:25
=== fjlacoste is now known as flacoste
flacostesmoser: it's not you, it's LP :-)15:27
flacostesmoser: the button is on the recipe page15:27
flacostewhich isn't obviously linked from the archive page15:28
flacostei got to it from the package details15:28
flacosteexpand a build15:28
flacostethen click on the recipe build15:28
flacostevery very obvious :-)15:28
flacostehere's the link:15:28
flacostehttps://code.launchpad.net/~julian-edwards/+recipe/maas-daily-precise15:28
flacostethere is a Request a build link at the bottom15:28
flacostewhich asks for which series to build to15:28
flacosteprecise is building now15:28
flacostei'll ask quantal15:28
smoserthanks.15:30
smoserflacoste, would you be upset if i linkd that from the daily build ppa description?15:34
flacostesmoser: not at all, users always find a way ;-)15:34
smoserdone15:36
smoserthank you.15:36
smoserBAH15:53
smoserhttps://code.launchpad.net/~maas-maintainers/+archive/dailybuilds/+recipebuild/30695015:53
smoserstrange. seems to have uploaded though anywah15:53
smoserfudge. still uninstallable15:55
smoserroaksoax, http://paste.ubuntu.com/1205032/15:55
roaksoaxsmoser: that's becuase dhcp now needs you to specify IP and it hasn't yet been done15:56
roaksoaxsmoser: rvba just pointed it out to me today so I haven't done that just yet15:56
roaksoaxif you want you can go ahead and fix it though :)15:57
jtvsmoser: meanwhile, I think we have to shelve this idea of the dhcpd upstart script getting its interfaces list from the maas database.  Not the rest, so we still need to run our own dhcpd, but since there's no database locally, we might as well just store this information in /var/lib and have the upstart script read directly from that.16:00
jtv(Contacting the API at that point in bootstrapping would be difficult)16:00
jtvNow, where is that directory where I can put my apparmor config snippets for dhcpd?16:01
smoserjtv, thats fine.16:17
smoserjtv, the packaging already lays one down16:18
smoserhttps://code.launchpad.net/~smoser/maas/packaging.lp1049177/+merge/12408316:18
smoseralso see examplecommand line there16:19
jtvThanks smoser — I don't see the example command though.  I see it's a different approach from the include-a-directory one we discussed… how do we get apparmor to apply our profile to dhcpd?  Link the executable?16:24
rvbasmoser: branch approved with a few remarks.16:25
smoserjtv, well, there could be a bug in the packaging... i'm not exactly sure how it gets updated. but you should not worry about that.16:27
jtvOkay, I'll try not to.16:28
smoserjtv, command line example is in comment 0 https://code.launchpad.net/~smoser/maas/packaging.lp1049177/+merge/124083/comments/26707216:28
jtvAh16:29
jtvToo tired.16:29
=== matsubara is now known as matsubara-lunch
smoserroaksoax, https://code.launchpad.net/~smoser/maas/packaging.aa-update/+merge/12447817:00
smoserjtv, ^ that has the fix to apply the apparmor profile on maas installation/upgrade17:00
roaksoaxsmoser: approved17:12
smoserroaksoax, are you working on the ipaddr fix ?17:18
roaksoaxsmoser: nope17:20
roaksoaxplop17:24
roaksoaxrvba is gone17:24
roaksoaxand i just finished the release stuff17:24
smoseroh. good.17:32
smosercan i see ?17:32
roaksoaxsmoser: https://code.launchpad.net/~andreserl/maas/add_distro_series_support_lp1013146/+merge/12448217:32
roaksoaxsmoser: and this is for juju: http://paste.ubuntu.com/1205229/17:33
=== matsubara-lunch is now known as matsubara
smoserwhy do you use the word series?17:34
roaksoaxsmoser: bigjools requested so17:34
smoserthen maybe change KernelParameters release=17:35
smoserdont you think its just confusing to insert inconsistency of a string inside the code?17:35
roaksoaxsmoser: yeah I'll do that too after this stuff gets merged because tests will have to get changed, and there's plety of tests to fix with this MP17:36
roaksoaxsmoser: yes it is confusing, but bigjools says it matches LP code when referring to a release.17:36
smoserline 1017:37
smoseryou are adding a commissionoing_distro_series to the node, right?17:37
smoseroh i see. you're not. lever mind then.17:38
roaksoaxsmoser: no17:38
roaksoaxsmoser: that's just saying if there's no node or the node is commissioning, the present the series for commissioning17:38
roaksoaxthat's for the kernel parameters17:38
smoserright17:38
smoseri thought you were setting a field on the node but only referencing the global default17:39
smoserbut you're not setting the field on the node.17:39
smoserso thats fine.17:39
roaksoaxsmoser: yes, we are not, when we set the node is on juju http://paste.ubuntu.com/1205229/17:39
smoserroaksoax, how do i build package from daily ppa ?17:40
roaksoaxsmoser: i don't know TBH... julian set that up17:41
smoserhmm. well 'bzr bd -S' just fails for me.17:42
Davieysmoser: https://code.launchpad.net/~julian-edwards/+recipe/maas-daily-precise/+request-builds17:57
smoserDaviey, yeah, thats fine. i wanted to build locally17:58
Davieyok17:58
smoserits not extracting the upstream tarball at all.17:59
smosermatsubara, around?18:11
smoseri tihkn i have it back into place now.18:14
smosermatsubara, had added a file in the debian branch (tests/integration.py directly) rather than as a debian/patches and debuild complained due to18:15
smoserDEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -I --source-option=--abort-on-upstream-changes"18:15
matsubarasmoser, hi, yes18:23
smosersee above.18:23
smoserhttps://code.launchpad.net/~smoser/maas/packaging.next-server/+merge/12449318:23
smoserits fixed in that merge propposal there.18:23
matsubarasmoser, jibel suggested that I should add tests/ at the root of the packaging branch rather than debian/tests/18:24
matsubarasmoser, that's for the autopkgtest work.18:24
smosermatsubara, hm.. well, i'm not sure.18:25
matsubarasmoser, hmm those tests don't modify any upstream files...18:25
smoserbut i dont think its right (and debuild complained to me) to lay down that file from the debian overlay.18:25
smoserit modifies a file (creates it) outside of debian/18:26
smoserwhich its not supposed to do18:26
matsubaraah, I see18:26
smoseri honestly dont know about autopkgtest though18:26
matsubaraI'll ask jibel about it then. the thing about leaving it as a patch is that I think autopkgtest might ignore it18:26
smoseri'm sure somehow those 2 things have been resolved if others are doing this.18:26
smosernah.18:26
smoseri woudl doubt it18:27
smoserthe first thing that dpkg does is apply patches when it extracts source.18:27
smoserso unlikely that the autopkgtest would operate before that18:27
smoserroaksoax, does something magically pull the approved branchesinto  packaging branch ?18:28
smoseror do i have to do that manually?18:28
roaksoaxsmoser: the lander does it18:28
roaksoaxsmoser: did you add the commit message?18:28
smoseryeah18:28
smoserjust di18:28
smoserd18:28
matsubarasmoser, cool. your mp should be fine then. I'll talk to jibel on monday and see if there's a standard18:28
matsubaraand then do any modificaton that's needed18:29
smosermatsubara, thanks.18:29
smoserand roaksoax it seems like it just got landed18:29
smoserroaksoax, https://code.launchpad.net/~smoser/maas/packaging.next-server/+merge/12449318:29
smosernow review that please18:29
smoser:)18:29
smoserwe're almost installable!18:29
smoserwweeeee!18:29
roaksoaxsmoser: why is there a patch for add-maas-ingration.py18:31
smosersee above.18:31
smoseryou're not supposed to write files outside of debian/18:31
smoserdpkg --source-option=--abort-on-upstream-changes complains about that.18:31
roaksoaxoh i see18:32
smoserso once the lander lands that i'll push the "build" button and i think we might have it installable18:34
Daviey\o/19:03
roaksoaxarrgh I have one more test to fix in juju and we should be deploying series with juju too19:04
smosershoot19:16
smoserhttps://launchpadlibrarian.net/115990138/buildlog.txt.gz19:16
smoseranyone have ideas on that?19:17
roaksoaxnope19:19
roaksoax:/19:19
smoseri kind of hope it is as simple as my stupid patch name19:24
smoser(ended in .py)19:24
smoserbut i'm trying to build the recipe now and see if i can make it fail here and then succeed19:24
matsubararoaksoax, I'm trying to build a package from the precise branch: https://code.launchpad.net/~matsubara/+archive/maas/+packages but it doesn't build python-django-maas. Is there anything special I need to do in the recipe?19:29
roaksoaxmatsubara: nope, the like above hasn't yet built precise though19:30
matsubararoaksoax, ah, it takes a while to build all the packages? just the maas is published first?19:32
roaksoaxmatsubara: when you upload to PPA it is all related to the score19:33
roaksoaxmatsubara: so it has to build the mpackage and then it will publish the biinaries19:33
roaksoaxmatsubara: look at build status19:33
roaksoaxhttps://code.launchpad.net/~matsubara/+archive/maas/+build/378775419:33
matsubaraI see19:34
matsubarathanks19:34
roaksoaxno prob :)_19:34
smoserroaksoax, https://code.launchpad.net/~smoser/maas/rename-patch/+merge/12450620:26
smoserplease.20:26
smosermatsubara, it seems i screwed up20:26
smoserplease review the above20:26
smoserit sucks. we can try to find a better fix later, per jelmer its a bug in the builder20:27
matsubarasmoser, looks good, isn't going to fail to build because of the file in outside the debian dir? or is it just a warning?20:28
smoserthat was only reproducable locally20:28
smoserbut the other way was only reproducible on the server20:28
smoser:-(20:28
smoserat least i tihnk. but it could have been user error.20:28
smoseranyway, it *did* build the way you had it. so i  hope it will again.20:29
matsubara:-)20:29
smoserpush 'approve' ?20:29
* roaksoax lunch20:32
smoserok. one more time i abuse the builder20:32
smoserhopefully this time it works.20:32
smoserhttps://code.launchpad.net/~maas-maintainers/+archive/dailybuilds/+recipebuild/30713720:32
smoserok. so it built. YEAH!20:36
smoserhttps://launchpadlibrarian.net/115995593/buildlog.txt.gz20:36
smoserk. matsubara roaksoax the daily ppa is installable and built21:02
smoserbut it doesn't seem to register boot files21:02
smoseri see a message about 'No boot images have been registered yet"21:02
smoserits possible i have to wait 5 minutes (it says i might) but if thats the case, that is broken21:02
smoser(broken as in, test is going to need to say "how about you do that NOW and block until its done")21:03
smoserjtv, if you see the above, i think that was code you recently committed.21:04
roaksoaxawesome21:13
roaksoaxsmoser: thanks for making it build21:13
matsubarasmoser, I'll give it a try later on. I need to step off to eat21:20
=== matsubara is now known as matsubara-afk
smoseryeah, so still see the "no boot images" message21:32
smoserafter 32 minutes.21:32
smoserhttp://paste.ubuntu.com/1205716/ is celery.log21:34
smoserlp:~smoser/maas/maas-pkg-test/ is what i have done21:34
smoserto get this far21:34

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