/srv/irclogs.ubuntu.com/2014/11/07/#juju-dev.txt

wallyworld_sinzui: the first comment on that bug - i don't think juju needs to change since it already generates metadata for just one stream at a time, leaving the other stream metadata untouched00:01
sinzuiwallyworld_, does implementing option 3 risk releasing beta1 tomorrow?00:25
wallyworld_sinzui: i'll have a fix asap00:25
sinzuiwallyworld_, As much as I don't want to write  hack, I can do it in a 3 hours00:25
wallyworld_sinzui: the hack will be the backup plan?00:25
wallyworld_but i will have juju changed today00:26
wallyworld_promise :-)00:26
sinzuiwallyworld_, it allows my to release, then worry that juju will want to do something different next week00:26
sinzuiwallyworld_, I like your promises, but I don't want you to rush, stress, loose sleep00:26
wallyworld_i'll be fine, we're almost there00:27
wallyworld_i'll have it done b the time you SOD00:27
sinzuiokay, thank you, but if you discover  blocker, remember we have a backup plan00:27
wallyworld_yep, good to know :-)00:27
wallyworld_just finishing 1 other bug, will get straight on to it soon00:27
tvansteenburghis there something i can do to prevent this (see agent-state-info on machine 3)? http://pastebin.ubuntu.com/8859275/00:37
wallyworld_tvansteenburgh: that will be fixed in 1.21 beta100:59
tvansteenburghwallyworld_: \o/ thanks01:00
wallyworld_we expect to release the beta by early next week01:00
tvansteenburghthat's great news, i was about to ask :)01:00
wallyworld_:-)01:00
wallyworld_there's also a lot of other network fixes for maas01:00
wallyworld_well juju/maas01:01
axwtvansteenburgh: you can delete the default VPC in your region if you don't need it; you can't undo that (without AWS support's help)01:23
axwthat should stop the error from occurring01:23
wallyworld_axw: when you have a moment :-) http://reviews.vapour.ws/r/369/01:42
wallyworld_thanks :-)01:50
tvansteenburghaxw: thanks for the tip, although i probably can't/shouldn't do that since these environments are owned by sinzui and co.02:00
axwright, probably not then ;)02:11
wallyworld_axw: i'm off to lunch, so no hurry, but review appreciated http://reviews.vapour.ws/r/370/02:38
axwwallyworld_: sure, enjoy02:42
=== axw_ is now known as axw
ericsnowaxw: when you have a minute could you take a look at http://reviews.vapour.ws/r/342/?  It's a little guy.03:51
axwericsnow: sure03:55
ericsnowaxw: thanks03:55
axwericsnow: done04:10
ericsnowaxw: with that backups is now completely switched over to gridfs :)04:14
axwericsnow: awesome :)04:14
wallyworld_ericsnow: you backporting to 1.21?04:31
ericsnowwallyworld_: planning on it04:31
wallyworld_ericsnow: awesome. curtis will be doing a beta build tomorrow04:32
ericsnowwallyworld_: I guess I'm planning on doing it tonight! :)04:32
wallyworld_\o/04:32
wallyworld_ericsnow: or we can04:32
wallyworld_once it lands, we'll backport04:33
ericsnowwallyworld_: well, there's more than one patch that needs backporting04:33
wallyworld_ericsnow: in that case, don't worry, it can wait04:33
ericsnowwallyworld_: k04:33
wallyworld_it will be a bit of risk04:33
wallyworld_ericsnow: just in case, can you email be the rev numbers that would need merging04:34
ericsnowwallyworld_: will do (shouldn't be more than a handful04:34
wallyworld_ok, ta04:34
=== kadams54 is now known as kadams54-away
=== urulama__ is now known as urulama
ericsnowwallyworld_: I've emailed you those rev numbers (3 of them)06:05
wallyworld_thanks ericsnow :-)06:06
ericsnowwallyworld_: plus the one I'm commiting right now (to master)06:06
wallyworld_righto06:06
ericsnowwallyworld_: you think I should hold off on backporting them?06:06
wallyworld_ericsnow: well, it's really late for you isn't it06:07
ericsnowwallyworld_: sort of :)06:07
wallyworld_so, we'll backport if needed, you go get some sleep06:07
ericsnowwallyworld_: k06:07
wallyworld_have a good weekend06:08
ericsnowwallyworld_: also, are we okay to land http://reviews.vapour.ws/r/371/? (add .reviewboardrc to the 1.20 branch)06:08
wallyworld_can't see why not06:08
ericsnowwallyworld_: k06:08
ericsnowwallyworld_: FYI, we've yet to land the restore side of backups (and we're cutting it close)06:10
wallyworld_ericsnow: i was hoping to be divorced from storage, but if it's not all there, we can wait06:11
ericsnowwallyworld_: I meant the replacement for the juju restore CLI plugin (not storage)06:12
wallyworld_ah, right, yeah that one will have to wait06:13
ericsnowwallyworld_: wait for what?06:13
wallyworld_1.2206:13
wallyworld_ideally we'll have a week to fully test 1.21 beta before release, which is next friday06:14
ericsnowwallyworld_: so does that mean we should yank the new backups (at least the CLI for it)?06:14
ericsnowwallyworld_: they kind of go together06:15
wallyworld_yeah, i'm not across the state of play with that stuff06:15
ericsnowwallyworld_: okay, I'll follow up with Nate tomorrow06:15
wallyworld_ta, but i imagine we'd want to revert the cli06:15
wallyworld_keep curtis in the loop also06:16
wallyworld_as he will be pulling th trigger on the release06:16
ericsnowwallyworld_: got it06:19
wallyworld_ty06:19
ericsnowwallyworld_: have a good weekend :)06:20
=== urulama is now known as urulama__|home|
rogpeppedoes anyone know if the "format" field in metadata.yaml still has any relevance to anything?07:46
rogpeppefwereade: ^07:46
davecheneyrogpeppe: beware format 0 charms07:47
rogpeppedavecheney: there are none07:47
rogpeppedavecheney: AFAICS - i downloaded all the charms in the charm store07:47
rogpeppedavecheney: hi, BTW!07:48
rogpeppedavecheney: do you know the difference between format 1 and format 2 ?07:48
rogpeppedavecheney: the only charms that i can find that explicitly mention format specify 2, which is different from our default. but we don't seem to have any logic (in the charm package anyway) that cares one way or another07:49
fwereaderogpeppe, davecheney: the format stuff was a long long time ago, and I thought all references to it had been purged07:50
rogpeppefwereade: there are still remnants in the charm package07:51
fwereaderogpeppe, davecheney: I can't remember exactly what it did -- some subtle change in hook tool behaviour07:51
fwereaderogpeppe, I think it's safe to ignore them07:51
fwereaderogpeppe, the code that would have been triggering on them does not exist07:51
rogpeppefwereade: i'm just writing a GetYAML method so we can marshal metadata as yaml (finally!) and i'm just making sure that I can always omit the format field.07:51
* fwereade cheers heartily at rogpeppe07:52
fwereaderogpeppe, that sgtm07:52
rogpeppefwereade: cool07:52
rogpeppefwereade: this means that soon you'll be able to programmatically generate charms in tests and produce their yaml metadata, which i think you might find quite useful :)07:53
fwereaderogpeppe, that is why I'm cheering :)07:54
rogpeppefwereade: :)07:54
davecheneyrogpeppe: i think we had this discussion in august 201208:00
davecheneyand determined at the time we'd expunged them all08:01
* rogpeppe forgets most things08:01
davecheneyfrom memory, i think the charm format affected the default output format of charm hooks ?08:01
davecheneyand let me just say, "good riddence"08:01
fwereadedavecheney, that sounds pretty likely08:01
fwereadedavecheney, yeah :)08:02
mattywmorning folks08:02
=== liam_ is now known as Guest18751
rogpeppeanyone fancy a little review? https://github.com/juju/charm/pull/7508:52
TheMuemorning08:55
alexisbmorning TheMue09:07
TheMuealexisb: hey, still in Europe?09:08
alexisbI dont normally get to say that to you09:09
alexisbyes I am in paris09:09
TheMuealexisb: or is you inner clock not yet adjusted back to home? ;)09:09
TheMuealexisb: ah, ok, I thought you were already on your flight back09:10
=== liam_ is now known as Guest78079
rogpeppefwereade:  https://github.com/juju/charm/pull/7509:51
mattywfwereade, are you around?10:23
rogpeppefwereade: i'm not sure what you mean by making the marshaling explicit10:24
rogpeppefwereade: do you mean the field names?10:25
fwereaderogpeppe, yeah10:26
rogpeppefwereade: why is that better? we rely on the default lower casing everywhere else?10:26
rogpeppes/\?$//10:26
rogpeppefwereade: and the tests ensure that it's working correctly10:27
fwereaderogpeppe, (1) we try not to everywhere else10:27
fwereaderogpeppe, (2) it's hard to make those tests good10:27
fwereaderogpeppe, unless we do explicit checks of what gets written out, which have their own problems10:27
rogpeppefwereade: the tests test round-tripping, which seems like a good-enough test to me10:28
fwereaderogpeppe, roundtrip tests don't detect marshalling *changes* though10:28
rogpeppefwereade: yeah, i think they will10:28
rogpeppefwereade: we read in with the standard ReadMeta, and check that when marshaled, and read back, we get the same thing10:28
rogpeppefwereade: so if the marshaling semantics change (e.g. to not lower case the name) the test will fail10:29
rogpeppefwereade: for example, if i change the "Categories" tag so that the name is "Categories", the test fails10:31
fwereaderogpeppe, doesn't that depend on a chain of inference across multiple tests and implementations? I'd rather just have it 100% obvious how something's going to marshal10:31
fwereaderogpeppe, assuming readmeta works and the readmeta test works and this test uses readmeta...10:32
fwereaderogpeppe, vs "that's how it marshals, done"10:32
* fwereade has to go again anyway10:32
rogpeppefwereade: ok, i'll add explicit names, no big deal10:33
rogpeppefwereade: though everything would break if yaml didn't lower-case as it marshaled (i actually don't like that behaviour, as it's doesn't fit with encoding/json, but i think it's reasonable to rely on)10:34
rogpeppefwereade: and the same testing issue applies whether i make the names explicit or not.10:35
fwereaderogpeppe, thanks -- fwiw I've caught at least one proposed fieldname change that would have broken stuff subtly, I'd rather just make that mistake harder across the board10:36
fwereaderogpeppe, granted, but it's that fieldname changes don't *always* trigger hey-changing-marshalling in people's brains10:37
fwereaderogpeppe, this means that marshalling changes must be made explicitly, and will be seen to be explicit in review10:37
rogpeppefwereade: at some point, i plan to implement a backward-compatibility checker that can ensure this kind of stuff automatically10:37
fwereaderogpeppe, that sounds awesome10:37
fwereaderogpeppe, in the meantime, be so kind as to indulge my paranoia ;)10:38
rogpeppefwereade: will do10:38
rogpeppefwereade: the idea is that you run all the tests, check what gets marshaled/unmarshaled, and that gives you your list of stuff that needs to be maintained correctly.10:38
anastasiamacjam, wallyworld_, axw: could u plz cast ur eyes over http://reviews.vapour.ws/r/357/ when u get a chance. this should cater for recomendations based on hardware and user preference11:06
menn0this needs a review. it's a fix for one of the bugs that needs to be sorted for 1.21 beta1. Turns out it's a long-standing issue. http://reviews.vapour.ws/r/377/11:31
rogpeppehere's a tiny PR in the charm package, if anyone wants to take a look: https://github.com/juju/charm/pull/7612:12
TheMuerogpeppe: will do12:18
rogpeppeTheMue: ta!12:18
TheMuerogpeppe: lgtm12:21
rogpeppeTheMue: ta!12:21
TheMueyw12:21
wallyworld_anyone know where fwreade is?13:06
alexisbwallyworld_, I am looking at him13:06
wallyworld_alexisb: ah, in that case i really need to talk to him13:06
wallyworld_fwereade: !!13:06
wallyworld_a couple of things, could you please look at http://reviews.vapour.ws/r/377/13:07
wallyworld_we need to land this for 1.2113:07
fwereadewallyworld_, ok, looking13:07
wallyworld_it looks ok, but i have a coupleof concerns, bt may be ok13:08
fwereadewallyworld_, I think that LGTM, but what are the concerns?13:10
wallyworld_fwereade: what happens if someone changes the number of sub ords after a relation is added13:10
wallyworld_then it could become invalid13:10
fwereadewallyworld_, don't understand the question13:11
fwereadewallyworld_, a service can't change its subordinacy13:11
wallyworld_fwereade: i had a couple brief other questions, quick chat?13:11
wallyworld_or you may be busy13:11
fwereadewallyworld_, in a sprint room, private irc if you don't want to pollute here?13:12
fwereadewallyworld_, happy to talk ofc13:12
fwereadewallyworld_, just not convenient to do so out loud13:12
fwereadewallyworld_, also my connection is rather spotty13:12
=== urulama__|home| is now known as urulama
lazyPowerperrito666: thanks for the follow up, dimitern and ericsnow got me sorted. I should have sent un-ping ;)13:54
perrito666np14:00
perrito666you can thank fwereade that told me you where looking for me, he told it to me after 3 beers, but the information persisted nevertheless14:00
wallyworld_perrito666: is nate around?14:04
perrito666wallyworld_: there he is14:20
dimiternanyone can review a trivial patch to fix bug 1307677? http://reviews.vapour.ws/r/380/diff/14:20
mupBug #1307677: juju tries to use lxcbr0 when local provider is configured with kvm containers <cloud-installer> <config> <kvm> <local-provider> <juju-core:In Progress by dimitern> <https://launchpad.net/bugs/1307677>14:20
wallyworld_perrito666: tis ok, i was just going to ask for a branch to be backported, but i've just done it14:20
dimiterncmars, TheMue, as OCR, can you have a look? ^^14:23
perrito666wallyworld_: uh, I should postpone answering to you more often14:23
wallyworld_indeed :-)14:25
lazyPowerfwereade: tap me next sprint and i'll get ya a beer14:25
lazyPowerperrito666: same to you *hattip*14:26
dimiternthanks wallyworld_ !14:26
wallyworld_dimitern: np, sorry about brief comments, beena long day14:27
wallyworld_is this for 1.21 also?14:27
dimiternwallyworld_, yeah14:27
TheMuedimitern: *click*14:27
wallyworld_great, really happy to see these network issues get fixed14:28
wallyworld_natefinch: hey14:29
wallyworld_or perrito66614:30
natefinchyo14:32
wallyworld_hey nate14:33
wallyworld_for 1.2114:33
TheMuedimitern: you've got a review14:33
dimiternTheMue, thanks!14:33
wallyworld_i landed menno's fix for bug 138275114:33
TheMuedimitern: yw14:33
mupBug #1382751: non subordinate container scoped relations broken  <regression> <relations> <subordinate> <juju-core:Fix Committed by menno.smits> <juju-core 1.20:In Progress by menno.smits> <juju-core 1.21:In Progress by menno.smits> <https://launchpad.net/bugs/1382751>14:33
wallyworld_pr 107514:33
wallyworld_i backported to 1.2114:33
wallyworld_and tried to land in pr 107714:33
wallyworld_but14:34
wallyworld_there was test failure, due to a missing file http://juju-ci.vapour.ws:8080/job/github-merge-juju/1229/console14:34
wallyworld_i'm totally buggered, after 12:30am here14:34
wallyworld_could you possibly take a look and fix the issue and land?14:34
wallyworld_it should be small and easy hopefully given it's anded in master already14:34
natefinchwallyworld_: sure14:35
wallyworld_tyvm14:35
wallyworld_the goal is to get 1.21 beta blessed today14:35
natefinchwallyworld_: seems likely something changed between 1.21's charm.v4 revision and master's charm.v4 revision14:40
wallyworld_ah could be, charm.v4 has changed, yes14:41
=== liam_ is now known as Guest54104
wallyworld_natefinch: maybe also poke wayne about bug 136131614:47
mupBug #1361316: juju status panic if state conn is shutdown || closing. <cts-cloud-review> <panic> <status> <ui> <juju-core:Triaged by wwitzel3> <https://launchpad.net/bugs/1361316>14:47
wallyworld_should be a one line fix14:47
natefinchwallyworld_: yep, I'll ping him.  he was going to start looking at it yesterday, I'll make sure he's just doing the easy fix and not the hard fix :)14:47
natefinchwwitzel3: ^14:48
wallyworld_yeah, juju status is messed up14:48
wallyworld_even with err != nil, you are expected to still print partial status14:48
wallyworld_anyone know that state of bug 138161914:48
mupBug #1381619: Failed to destroy-environment when node is in commissioning or new state <cloud-installer> <oil> <juju-core:Triaged by mfoord> <MAAS:Incomplete> <https://launchpad.net/bugs/1381619>14:48
wallyworld_comments on the bug made me think that the fix was well understood14:49
dimiternwallyworld_, voidspace started on that yesterday IIRC14:49
natefinchrogpeppe: You just changed something in charm.v4 about testing and charm repos... we're trying to backport a change from master to 1.21 and it's getting this error: ... Panic: open /home/ubuntu/juju-core_1.21-beta1/src/gopkg.in/juju/charm.v4/testing/repo/quantal/logging-principal/metadata.yaml: no such file or directory (PC=0x4144D6)14:49
wallyworld_hopefully will be done today as it's marked critical for 1.21 :-)14:49
wallyworld_anyways, gotta sleep, good luck with final bug fixes14:50
rogpeppenatefinch: looks like you've got the wrong dependencies14:50
perrito666yay windows is fun14:51
rogpeppenatefinch: or... do you need the new changes in the charm package?14:51
natefinchrogpeppe: well, so 1.21 uses charm.v4 from before your latest change...14:51
natefinchrogpeppe: that or we make the ported fix work with charm.v4 from before your change14:51
rogpeppenatefinch: if that's the case, then how could my change in charm.v4 affect it?14:51
wwitzel3natefinch: ok, I can add the status check and put up a review14:51
rogpeppenatefinch: i think you'll have to do that14:52
natefinchrogpeppe: the fix was made to master after your change14:52
rogpeppenatefinch: that's part of the backport14:52
natefinchrogpeppe: right, so my question is - what's different?14:52
natefinchwwitzel3: cool14:52
rogpeppenatefinch: we moved the testing charms repo from charm.v4 to juju-core14:53
rogpeppenatefinch: but...14:53
rogpeppenatefinch: that error message looks like you haven't updated the charm.v4 package14:53
natefinchrogpeppe: right, I'm just concerned that if we update the charm.v4 revision that 1.21 uses, that it'll break a whole lot more stuff14:54
rogpeppenatefinch: because charm.v4/testing/repo/quantal *should* exist in the old charm.v4 package14:54
rogpeppenatefinch: yes, it will. don't do that.14:54
natefinchoh hmm14:54
natefinchok, good, so that's what I assumed14:54
rogpeppenatefinch: it's possible that the logging-principal test charm was added recently14:55
natefinchhttps://github.com/juju/juju/pull/1077/files14:55
natefinchit was added in this PR14:55
rogpeppenatefinch: what version of charm.v4 is being used?14:55
natefinchrogpeppe: f97c8d630e45651f7b39ce352dd7329082f134c414:55
rogpeppenatefinch: right, that's your problem14:56
natefinchwell, so, I'm not sure how to fix this.  If updating the charm.v4 revision will break a bunch of stuff... but this test won't work in 1.21 because charm.v4 at that revision expects the testcharm to be under its own testing/repo directory15:00
rogpeppenatefinch: i see the issue15:00
natefinchIt seems like the only fix is to update 1.21's dependencies to use charm.v4 with your change15:01
rogpeppenatefinch: and this is also a reason that the changes we've made in charm.v4 are good - it will prevent things like this from happening again15:01
natefinchyes definitely15:01
rogpeppenatefinch: yes15:01
natefinchand then fix whatever else falls out of that15:01
rogpeppenatefinch: those changes were sweeping but pretty much automatics15:02
rogpeppes/cs$/c/15:02
natefinchk15:02
rogpeppenatefinch: and the compiler will tell you if you've gotten it wrong15:02
rogpeppebackporting is such fun15:02
natefinchwhat's doubly aggravating is that this is just  for the test.  The actual production code is fine.15:03
natefinch(in theory)15:03
natefinchwell, I'm glad we made the fix so it won't happen again... too bad we hit it one last time though15:03
ericsnownatefinch: standup?15:08
ericsnowsinzui: FYI, the restore side of backups has not landed for 1.21, which renders the rest of the new backups code kind of pointless for 1.2115:33
ericsnowsinzui: I'm planning on getting a change into 1.21 that simply removes the new backups CLI but leaves the rest of the backups code intact (to lessen the risk of removing so much)15:34
ericsnowsinzui: that patch should be up in a little bit15:34
wwitzel3natefinch: http://reviews.vapour.ws/r/382/ fix for lp:136131615:35
sinzuiericsnow, thank you15:38
wwitzel3also wallyworld_ if you're still around - http://reviews.vapour.ws/r/382/15:40
sinzuinatefinch, can you organise an effort to backport the fix for bug 1382751 to beta1 (1.21 branch)? It may be in progress already15:41
mupBug #1382751: non subordinate container scoped relations broken  <regression> <relations> <subordinate> <juju-core:Fix Committed by menno.smits> <juju-core 1.20:In Progress by menno.smits> <juju-core 1.21:In Progress by menno.smits> <https://launchpad.net/bugs/1382751>15:41
natefinchsinzui: yeah, it's in progress by me ;)15:42
natefinchsinzui: just updated the bug to reflect that15:42
sinzuiyou rock natefinch15:43
natefinchsomeday I'll tell the story of changing the keys on my keyboard so the bottom row spelled out "NATEROCKS" :)15:43
natefinchok, well, actually, that's the whole story15:43
sinzui:)15:46
wwitzel3thanks for the review TheMue15:47
TheMuewwitzel3: yw15:48
wwitzel3I just got an email from Amazon trying to get me to pay $99 to stick a device in my home that will listen to everyting in my house and send all that data to them ...15:49
wwitzel3I feel like they should pay me for that15:49
voidspacehah15:49
voidspacewwitzel3: what's the device called?15:49
voidspaceI've not heard of that15:49
wwitzel3Amazon Echo ..15:49
voidspacewwitzel3: the NSA probably did that for you for free15:49
wwitzel3if it was April .. I would of thought it was a joke15:50
voidspacehttp://www.amazon.com/oc/echo15:50
voidspaceinteresting15:50
natefinchI saw a thing about that yesterday.  It seems interesting, but don't we all have something like that in our pockets already?  I guess not with a halfway decent speaker15:51
wwitzel3see, the NSA did it wrong, all they needed to do was has a nice landing page and charge people for PRISM and it would of been a hit15:51
natefinchhaha15:51
natefinchhonestly, the main problem with this thing is that it's audio-only.  You now how many times I'm going to listen to it read out a wikipedia page?15:52
voidspace:-)15:52
wwitzel3natefinch: though it is probably more effective than when your friends read a wikipedia page off their phone, they always leave out the citation needed part :D15:53
voidspaceaxw: ping15:53
natefinchhaha15:54
voidspaceaxw: although I really doubt you're around15:54
wwitzel3voidspace: it is like 5am saturday morning, who isn't up (still) then? ;)15:55
wwitzel3voidspace: since you are OCR today, mind looking at http://reviews.vapour.ws/r/382/15:55
voidspaceah, am I?15:56
wwitzel3voidspace:  you and fwereade I believe15:56
ericsnowsinzui, natefinch: 1.21 backups CLI removal patch: http://reviews.vapour.ws/r/383/15:56
voidspacewwitzel3: you're looking at the wrong friday I think...15:56
wwitzel3voidspace: probably15:56
wwitzel3voidspace: will you look anyway *eyebat*15:56
voidspaceheh15:57
ericsnowwwitzel3: cmars and TheMue are OCR15:57
voidspacewwitzel3: seeing as I'm very unlikely to get this high priority bug completed anyway *sigh*15:57
voidspacewwitzel3: I think I know where in the code to fix it at any rate15:57
natefinchwwitzel3: you got a ship it from TheMue15:57
wwitzel3voidspace: which are you working on?15:57
voidspacewwitzel3: there's even a comment from axw predicting that there would be a problem with the code...15:57
wwitzel3natefinch: don't we still need two?15:57
TheMueyeah15:57
voidspacewwitzel3: bug #138161915:58
mupBug #1381619: Failed to destroy-environment when node is in commissioning or new state <cloud-installer> <oil> <juju-core:Triaged by mfoord> <MAAS:Incomplete> <https://launchpad.net/bugs/1381619>15:58
natefinchwwitzel3: no?15:58
wwitzel3oh, I was still under the impression we needed two LGTM/Ship It on reviews, ok :)15:58
voidspacewwitzel3: have you seen how RB renders that diff?15:59
voidspaceericsnow: ^^15:59
natefinchwwitzel3:  I don't think we've needed 2 LGTMs since before we hired you :)15:59
voidspaceanyway LGTM *sigh*15:59
voidspacewwitzel3: couldn't you just remove registering the command, whilst leaving the rest of the code in there?15:59
natefinchericsnow: yeah, that's what I was thinking ^16:00
wwitzel3voidspace: huh?16:00
natefinchwwitzel3: I think he keeps typing you instead of ericsnow16:00
voidspacewwitzel3: basically, only do the change in cmd/juju/main.go16:00
perrito666natefinch: when I entered whoever induced me, which I believe was mgz said that 1 for trivial changes 2 for anything importan16:00
perrito666t16:00
voidspaceoh16:00
wwitzel3voidspace: what?16:00
voidspaceis it ericsnow who asked for the review16:01
voidspacewwitzel3: no, you asked for a review on 38316:01
wwitzel3oops16:01
wwitzel3wrong thing16:01
voidspacewwitzel3: which removed backups16:01
natefinchhaha16:01
natefinch383 is eric's code16:01
voidspaceah, ok16:01
wwitzel3voidspace: http://reviews.vapour.ws/r/382/ sorry .. but I apparently don't need your review anyway :P16:01
voidspaceericsnow: for 383... couldn't you just remove registering the command and leave everything else in place?16:01
voidspacewwitzel3: hah ok :-)16:02
ericsnowvoidspace: too easy <wink>16:02
voidspaceericsnow: :-)16:02
voidspaceericsnow: if the code is good, and it's tested, why not leave it in place16:02
ericsnowvoidspace: good point; it hadn't crossed my mind16:03
mattywfwereade, you got 30 seconds?16:07
fwereademattyw, yeah, more or less :)16:07
ericsnowvoidspace: yeah, that makes for a much simpler change :)16:10
natefinchericsnow: +116:11
ericsnownatefinch: could you give me a ship-it?16:11
natefinchericsnow: done16:12
ericsnownatefinch: thanks16:12
natefinchericsnow: just make sure all the tests still pass16:12
ericsnownatefinch: they do16:12
natefinchcool16:12
voidspacegah, virsh can't use a storage pool on another physical drive due to strange permissions problems16:18
voidspacebut you can create a filesystem in a file and then mount that as if it's on the partition it wants it on16:18
voidspaceand it will use that happily16:18
voidspacethat took me nearly half a day to work out16:19
voidspacebut now I have two maas nodes16:19
voidspacenot using hard drive space on my boot disk16:19
voidspaceso now I can bootstrap *and* deploy a service - to try and reproduce the bug I'm meant to be working on16:19
wwitzel3voidspace: progress :)16:20
voidspacewwitzel3: yeah, slow and painful - but definite16:20
voidspacealthough juju bootstrap hasn't started the node16:21
voidspace"competent-bait" is resolutely off16:21
voidspacebut the power reporting works, so maas could boot the node if it wanted to16:21
voidspacestatus is "Deploying" but power is off16:22
voidspaceINFO 0 minutes ago Node powered on16:22
voidspaceno it didn't...16:22
voidspaceand if I switch it on it shuts down again16:23
natefinchvoidspace: it's like one of those boxes that you turn on and a hand comes out and turns itself off.16:24
voidspacenatefinch: unfortunately so...16:25
voidspace"useless box"16:25
voidspacevery qppropriate16:25
voidspacenope, maas changes the node state to Deploying, they start and then shutdown almost immediately16:42
voidspacethe only record in the logs (libvirtd, maas and qemu) is that libvirtd kills the qemu process (shuts down the node)16:43
voidspacecommisioning works fine16:44
voidspaceand now it's working (after another manual kvm image start)16:52
voidspacefor no fathomable reason16:52
voidspacelooks like pxe booting isn't working, but manual starting is now working (didn't before)16:54
voidspacethat's good enough16:54
voidspaceheh, so I can't quite reproduce the bug17:51
voidspacebut if I manually release a maas node and then call destroy-environment, juju hangs17:51
voidspaceI don't know for how long...17:51
=== kadams54 is now known as kadams54-away
voidspaceah...17:52
voidspacethat was releasing the bootstrap node17:52
voidspace*state server node17:52
voidspacenot what I intended17:52
voidspaceno it wasn't17:53
voidspaceI released the right node17:54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
natefinchwhoever is responsible for files in Juju that are over 2000 lines long should be flogged.  (really, anything over ~500 is too much)19:08
* natefinch goes to fix a test failure at line 2440 in apiserver/client/client_test.go19:09
=== psivaa_ is now known as psivaa-holiday
* TheMue likes the good old Smalltalk. no files and methods seldom with more than 20 lines19:12
natefinchThat's one of the things I like about Go - you can subdivide into as many files as you want. They're all effectively just cat'ed together by the compiler19:12
natefinch(per package)19:13
TheMuenatefinch: yes, no need to put everything in one file19:13
TheMuenatefinch: but otherwise, one file per unit of code and a rule of few lines leads to small units (classes, packages, modules, etc)19:14
natefinchyep19:14
natefinchbig files aren't the end of the world, honestly, it's just a little annoying having to page through them in diffs and in the editor.  Big functions are the really killer... we have some 200 line functions in Juju that I've seen.  Biggest function I've seen in my career was a 1000 line behemoth, but that was a long time ago19:15
TheMueouch, that really hurts19:16
voidspacehappy weekend everyone19:19
voidspaceg'night all19:19
natefinchsee ya voidspace19:19
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
natefinchsinzui: btw, backporting https://launchpad.net/bugs/1382751 is turning out to be a big mess.  It requires porting another change, and that then requires a third change....21:00
mupBug #1382751: non subordinate container scoped relations broken  <regression> <relations> <subordinate> <juju-core:Fix Committed by menno.smits> <juju-core 1.20:In Progress by menno.smits> <juju-core 1.21:In Progress by natefinch> <https://launchpad.net/bugs/1382751>21:01
sinzuinatefinch, :(21:03
sinzuinatefinch, is the chain for pain for 1.21 or both 1.21 and 1.20?21:04
natefinchsinzui: I would imagine it's possibly even more difficult for 1.20, though I haven't even looked at 1.20 yet21:05
sinzuinatefinch, okay. I really appreciate you working on this. I am not sure we will release 1.20.12...well I need to work out how since 1.21 has permanently changes streams21:06
natefinchsinzui: I think I have most of what needs doing done... just running the tests now, which is always its own adventure21:21
sinzuifab21:22
natefinchsinzui: so, I have  PR for the prerequisite code that needs to go in before I can backport the fix21:40
natefinchsinzui: but it seems unwise to simply dump all this into 1.21 on Friday afternoon.  What do you think?21:40
sinzuinatefinch, if I see a pass tomorrow morning, I am happy to release. A failure may mean the antipodians have a regression to fix21:42
natefinchsinzui: what i hear is "merge it and we'll see what happens" ... is that correct? :)21:43
sinzuinatefinch, yes, let's be hopeful21:44
natefinchsinzui: does the merge bot work on the 1.21 branch?21:44
sinzuinatefinch, if it turns out bad, we are still are ahead of delaying until our monday21:44
natefinchsinzui: yep21:44
sinzuinatefinch, yep, just works21:44
natefinchok21:44
cmarsnatefinch, is reviewboard spewing lots of errors for you when you try to view this diff? http://reviews.vapour.ws/r/384/diff/#21:47
natefinchtyp21:47
natefinchyup21:47
cmarsericsnow, any ideas? ^^21:47
* ericsnow looks21:48
cmarsnatefinch, ok, just wanted to confirm. i'll review in my dev env21:48
natefinchsinzui: I'll hafve to finish up the second PR with the fix in the morning, I'm out of time today. It's just merging PR 1075 into 1.21 ... I've just run out of time trying to wrestle with git and github to get it to do that21:51
sinzuinatefinch, okay, Thank you for your time21:51
ericsnowcmars: looks like a classic merge conflict (as the error messages imply)21:53
ericsnowcmars: why?  I'm not immediately sure21:53
ericsnowcmars: I'm guessing something didn't line up right when Nate initially made his pull request, which caused RB trouble and it hasn't been able to get back on its feet to try again21:56
cmarsericsnow, could be the target branch is 1.21 instead of master? it doesn't look like it has a conflict21:56
ericsnowcmars: 1.21 is definitely the trigger, but the cause of the problem is unclear21:57
ericsnowcmars: FYI, other 1.21 PRs have generated proper review requests without incident21:57
ericsnowcmars: I wonder if Nate used rbt to post the diff21:58
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away

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