/srv/irclogs.ubuntu.com/2014/12/17/#juju-dev.txt

menn0thumper: ping?00:18
thumperotp00:18
menn0thumper: kk00:18
katcoanastasiamac_: ping00:21
thumpermenn0: ok, back but need food00:59
thumperwhazzup?00:59
* thumper finds the tag "fallout" amusing00:59
* thumper needs food badly01:00
menn0thumper: I just finished lunch. let me know when you're available01:20
ericsnowcan anyone tell me if wwitzel3 and I need to implement storage for the new GCE provider?01:20
ericsnowmy understanding is that we don't01:20
thumpermenn0: my lunch is cooking but I have a few minutes now01:22
menn0thumper: ok01:23
menn0thumper: so this maas issue is that since dimiter's big address handling change01:23
menn0thumper: no state server thinks it is the master any more01:23
thumperhahaha01:23
thumperoops01:23
thumperwhy?01:24
menn0in mongo.IsMaster01:24
menn0the address for the replicaset master is compared against the machine's internal address01:24
menn0if they match then IsMaster returns true01:24
menn0but they no longer match01:24
thumpercan we compare across all addreses for the machine?01:25
menn0it seems on maas the replicaset master address comes back as the DNS address of the host. e.g. juju-qa-maas-node-29.maas01:25
menn0but the "best" internal address that it gets compared against is an IP01:26
menn0I have a fix which does just that01:26
menn0I just wanted to check that you thought it was a sane idea01:26
menn0I guess there's a risk of 2 machines thinking they are master01:27
thumpera fix which compares against all?01:27
menn0yes01:27
thumperit is unlikely to cause two to think they are master will it?01:27
menn0if the replicaset master addr comes back as say "localhost" or some machine/link local address01:27
menn0and the machine also has that in it's list01:27
menn0but I don't think that's likely because I think link local addresses are already being filtered out01:28
* thumper thinks01:28
thumperI say "it may well fix it and doesn't look like it'll hurt, and whoever is up next can back it out and fix another way if they are so inclined"01:28
thumperso do it01:29
menn0cool01:29
menn0i'll make sure dimiter knows what i've done so that he can verify01:29
* thumper nods01:29
menn0there might also be another way to skin this cat that he knows about01:29
* menn0 thought he might actually be able to commit something today...01:30
menn0(that wasn't a CI unblocker)01:30
waiganimenn0: the mover of blocks01:31
menn0my 1 year old son is good at moving blocks01:31
waiganimust be in the genes01:32
thumperha01:32
anastasiamacmenn0: take "the mover of blocks", my one would have been "meen0: the unblocker" :)01:40
menn0thumper: here's that fix: http://reviews.vapour.ws/r/647/01:55
* thumper looks01:55
thumperthe unblockenator01:56
menn0unblockenologist01:56
menn0thumper: this fix is for 1.2101:56
menn0thumper: i'll forward port it once it's in01:57
thumpershipit01:57
anastasiamacmenn0: i think that u r certainly turning unblocking into an art more than a science :-) of course, if u r happy with the title..01:59
anastasiamacthumper: menn0: there should be a reward for unblocking CI the most..01:59
menn0beer!01:59
menn0actually scotch might be more appropriate...01:59
anastasiamacmenn0: as suprising as it may be, not everyone will be encouraged by beer ...02:00
anastasiamacmenn0: or scotch02:00
waiganimenn0 will be02:00
anastasiamacmenn0: but certainly a start02:00
thumpermenn0: what sort of scotch?02:00
* thumper is not a fan02:00
menn0thumper: I like less challenging single malts02:01
menn0thumper: I don't really go for the really smoky/peaty ones02:01
thumpermenn0: how is scotch different from whiskey?>02:02
menn0thumper: scotch is "scotch whiskey" ... whiskey from Scotland02:03
thumperah02:04
katcothumper: hey thank you again for green-lighting that branch. i'll have more things landing in the coming days to get it into shape.02:27
thumperkatco: ack02:27
katcothumper: ?02:27
katcothumper: ack as in TCP/IP ack?02:28
thumperkatco: that is a general positive response "ok, got it"02:28
thumperyes02:28
katcothumper: ah ok :)02:28
thumpersorry, more irc specific geekiness02:28
katcothumper: you'll be happy to know that the stderr flag is coming back out now that machine agent is refactored02:28
* katco enjoys geekiness, just wanted to make sure ;)02:28
* thumper nods02:31
thumperI can hear the girls watching avengers... again...02:32
anastasiamacanyone could have a look at https://github.com/juju/names/pull/35?... with a pretty plz?02:38
anastasiamacwaigani: ^^02:38
anastasiamacthumper: i've heard avangers r beta than lion king :)02:40
jw4anastasiamac: I'm a little cautious about reusing the validUserPart regex if it just *happens* to co-incide with the charm usage02:44
jw4anastasiamac: is that usage semantically correct too?02:44
* jw4 breaks for supper - sorry :)02:46
waiganijw4: it's not exported so not intended for reuse, right? anastasiamac?02:46
jw4waigani: I just mean reusing it in charm.go from user.go02:46
* jw4 leaves for real this time02:47
anastasiamacwaigani: not intented for re-use outside but m re-using it in names itself02:48
anastasiamacwaigani: should I not?02:48
anastasiamacwaigani: if user reg ex changes for whatever reason, i'd like my part to still identify valid user02:49
waiganiah right, well, the definition of schema in the code is // schema:~user/series/name-revision02:49
menn0ok fixes for the CI blocker merged into 1.21 and master02:54
menn0re-enabling the build-revision jenkins job now02:54
mattywmorning all02:54
waiganianastasiamac: so there would be an issue if the format of the "user" in the schema and the "user" in the validation functions changed. But, I don't see why that would happen, and if the format changes, you'd have problems regardless and given charm.go is in the names package I think it's fine for there to be a package level "user" that it uses02:54
waiganianastasiamac: so, LGTM from me.02:55
anastasiamacwaigani: thnx :-)02:56
jw4anastasiamac: and LGTM from me - I didn't know the definition of the schema used the ~user part :)02:59
anastasiamacthnx jw4 :) and here I thought u were going to leave for real...02:59
jw4lol03:00
jw4confession: I'm actually BACK03:00
jw4I scarfed03:00
* thumper looks at anastasiamac's names branch03:01
thumperanastasiamac: just a few easy tweaks03:03
jogmenn0, looks like build revision 2179 has your fix for the MaaS upgrade and is being run through CI now03:10
menn0jog: yep03:12
menn0jog: i'm fairly confident it'll pass now03:12
jogmenn0, are you done with finfolk?03:12
menn0I am03:13
jogI should stop the server that running there, so this revision build can run when it gets to that test03:13
menn0only the MAAS server is running now03:13
menn0jog: I killed the other machine03:14
menn0jog: but please check that everything is in order03:14
menn0jog: I've cleaned up what I was using03:15
* menn0 heads out to get some groceries03:15
jogmenn0, thanks! and yeah it's just the MaaS server that we shutdown03:15
jogmenn0, thanks for the quick help on this one!03:15
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
anastasiamacthumper: about separate var blocks...03:29
anastasiamacthumper: wanted to group exported vars vs non-exported...03:29
anastasiamacthumper: u don't like this grouping?03:29
anastasiamacthumper: one var block for all is beta?03:29
thumperI don't see why they need to be separated03:36
thumperexported vars have comments03:36
thumperinternal ones don't03:36
thumperthe comments are enough separation I think03:36
thumperoh my god03:39
thumperthis coffee is good03:39
thumperI feel I may need another real soon now03:39
anastasiamacthumper: k since u have found a gr8 coffee, I'll put vars in one block...03:40
thumperwaigani: you can't land stuff until this page: https://bugs.launchpad.net/juju-core/+bugs?field.tag=ci+regression&field.tags_combinator=ALL has no criticals03:40
thumperdidn't find... made03:40
waiganithumper: good to know, I was using a different filter on lp03:41
thumperthe tags stay there until CI passes, then it removes them03:41
thumperthat is when master is open for landing again03:41
jw4thumper: I thought it was only Critical though?  And not including Fix Released?   I shortened that to: http://goo.gl/4zd1e903:42
thumperjw4: it is, that's why I said no criticals03:43
jw4thumper: doh :)03:43
anastasiamacthumper: if u made a gr8 coffee, does it mean u r k with me merging my PR into names?03:43
thumperjw4: I saved that page, so now I just start typing "regression" and hit enter03:43
jw4thumper: nice03:43
thumperanastasiamac: do you feel strongly that they should be separate?03:44
anastasiamacthumper: not strongly enough :)03:44
anastasiamacthumper: they r distinct03:44
anastasiamacthumper: whether we r separating them otherwise si a style03:45
anastasiamacthumper: I am pendantic and will separate and teeth things apart until I get to nano levels03:45
thumperanastasiamac: I'm happy that the local and exported vars are grouped within the var statement03:46
thumperbut we don't need multiple var statements03:46
anastasiamacthumper: excellent! I merge then? :P03:46
thumperanastasiamac: are they grouped yet?03:46
* thumper refreshes03:47
thumpersorry hadn't been looking03:47
anastasiamacthumper: they r :)03:47
thumperline 36 of charm.go03:48
thumperthey are almost...03:48
anastasiamacthumper: ur coffee must b really good! m on it :-)03:49
thumperunfortunately my coffee is finished03:49
thumperI did consider making a big cup 4 shot one03:49
thumperbut decided against it03:49
thumperperhaps I should have03:49
waiganianastasiamac: merge, quick! while you've still got a chance!03:49
anastasiamacthumper: should be perfect now but I'll re-order it for mattyw03:51
mattywanastasiamac, waigani sorry - I jumped in at the wrong/ right time :)03:51
thumpermattyw: surely URI not URL03:52
anastasiamacwaigani: m weaning myself off coffee (and onto the coke) so will not b as quick as all these "real coffee" drinkers :D03:52
thumperwhy no coffee?03:52
thumperthat just seems cruel03:52
thumpercoffee is so much better for you than coke03:53
mattywthumper, I think so - but isn't the accepted name CharmURL?03:53
thumpermattyw: probably03:53
anastasiamacthumper: apparently my coffee is not up to wallyworld's standard... so coke it is atm03:53
thumpertut-tut03:53
mattywI used to despise decent coffee - it felt like a waste of money03:53
mattywall it took was one trip to Dunedin03:53
thumpermattyw: and now you want to buy an espresso machine?03:54
menn0jog: thank you for the debugging help03:54
mattywthumper, thinking about it03:55
mattywanastasiamac, I'm basically not too fussed about the name03:55
jogmenn0, np... the maas upgrade tests should start fairly soon for 217903:55
mattywanastasiamac, but changing the ordering I think is a small change but very useful03:56
mattywanastasiamac, at least for me :)03:56
thumperI was half joking about URI vs URL03:56
anastasiamacmattyw: the ordering is a bit of a thing for me, actually..03:56
anastasiamacmattyw: i was hoping to group local and exported vars03:57
anastasiamacmattyw: m look n and may change in a sec :)03:57
mattywanastasiamac, that makes a lot more sense, to be totally explicit - what confused me was I expected charmStoreSchemaSnippet to be the regex for the whole thing charm url - and then when I read the definition I was suprised03:58
anastasiamacmattyw: ic03:59
mattywanastasiamac, ordering based on exported or not makes a lot of sense - I'd be happy with just a comment above local and charm store snippet I think03:59
mattywanastasiamac, although the more I talk about it the more I think it's fine as it is03:59
anastasiamacmattyw: let's talk some more than :)03:59
mattywanastasiamac, haha03:59
anastasiamacmattyw: well, this area my be confusing04:00
anastasiamacmattyw: and I'd like it to b clear from a glance04:00
anastasiamacmattyw: there is a block comment above the whole of var block04:00
mattywanastasiamac, ah - I was about to suggest something like that04:01
anastasiamacmattyw: explaining what the whole URL (URI ***looking at thumper***) is04:01
mattywanastasiamac, yeah - that's amazing - just land it as is - ignore me :)04:01
anastasiamacmattyw: r u sure?04:01
mattywanastasiamac, I'd be tempted to add a comment above validCharmRegEx saying - this is the regex for the whole CharmURL04:02
mattywanastasiamac, but then the actual regex basically says that04:02
mattywanastasiamac, so even that feels redundant04:02
mattywanastasiamac, I'm definitely in bikeshedding territory now though - just land it :)04:03
anastasiamacmattyw: k. I'll land as is and might come back to it as needed coz m still planning to head to juju/charm with it before even getting to juju/juju...04:03
* anastasiamac landed tiny PR 04:05
mattywanastasiamac, tiny PRs are the worst :)04:08
thumper:)04:08
mattywwaigani, ping?04:12
waiganimattyw: pong04:33
mattywwaigani, just looking at http://reviews.vapour.ws/r/474/diff/ -> what is OtherState for in storeManagerStateSuite?04:34
waiganimattyw: it's the state for another env, I should probably rename it to make that clear04:34
waiganimattyw: also that branch is a WIP, I'll be pushing up the latest tomorrow04:35
mattywwaigani, that's what I was going to suggest :)04:35
mattywwaigani, ok cool04:35
waiganimattyw: AND the fam is demanding that I join them for dinner, which I better do unless I want to sleep outside tonight!04:36
mattywwaigani, enjoy!04:36
menn0jog: the maas upgrade test for 1.21 just passed04:42
jogwoo hoo!04:42
jw4yay04:43
jw4how long does it usually wait on the "Attempting to connect to 10.0.30.173:22" line?04:43
jw4menn0: can you mark as fix released or does that need to be someone else?04:44
menn0jw4: it waits a while.. it's trying to make an API connection as the instance comes up04:45
jw4menn0: yeah - it seemed to be several minutes04:45
menn0menn0: I think someone from QA is supposed to do it. jog?04:45
jogjw4, menn0, in this case it's waiting for MaaS to boot a machine... usually around 10 minutes04:46
menn0jw4: that's what I was seeing while manually testing with maas04:46
jw4jog: I see04:46
jw4menn0: cool - so you were testing your changes on the same hardware that's running the tests?04:46
menn0jog: do you know how CI becomes unblocked? does it require a manual step by someone on the QA team or is it automated based on test results?04:47
jw4menn0, jog  it also looks like we only have one (or limited) hardware groups for maas?04:47
jw4menn0: I think it's automated once the bug is marked Fix Released, but I could be wrong04:47
menn0jw4: yeah I was using the host that Jenkins uses for MaaS tests (on KVM)04:48
jw4menn0: interesting.  Cool, but surprising04:48
jogmenn0, I believe fixed-released will unblock04:48
menn0jw4: suprising?04:49
menn0jog: it's a shame that the "Fix Released" has 2 meanings04:50
menn0s/ the//04:50
menn0oh well04:50
jw4menn0: I guess setting up a maas environment isn't trivial - but it seems like while you were working on finfolk none of the CI tests could run04:50
jogerr actually fixed-committed04:50
jw4jog: I don't think fixed committed will unblock CI?04:51
jogjw4, we're working on fixing that... finfolk was upgrade last week, so we can run multiple environments04:51
menn0jw4: that's what sinzui told me to do :)  he disabled one of the top level CI jobs04:51
jw4jog, menn0 I see04:52
menn0jw4: the bug needed fixing and that was the fastest way to get it sorted04:52
jw4menn0: well (relatively speaking) it WAS lickety split fast04:52
menn0jw4: i'd like to get my machine set up to do MaaS on KVM locally04:52
jw4menn0: yeah me too04:53
menn0jog: yeah I don't think Fix Committed alone is enough to unblock CI04:54
jogit's also possible to downgrade the bug from critical to high and it will unblock04:54
menn0jog: it's still blocked now and I marked this ticket as Fix Committed quite some time ago04:54
menn0jog: there must be something else to it04:54
jw4menn0, jog : I bet if you mark it as fixed released it'll unblock04:54
jw4menn0: maas-upgrade-trusty-amd64 looks set to pass momentarily too04:55
menn0jw4: I think you're right but is that actually the correct process?04:55
* jw4 shrugs 04:55
menn0woot!04:55
jw4that's where I'm lost too04:55
jogshall we wait for the second upgrade test to pass... there are two mass tests one for devel (which already passed) and one for stable maas04:55
jogthe upgrade is actually going on now04:56
jw4jog, yeah - the second one is the one I'm willing on as we watch :)04:56
jw4woot04:58
menn0jog: so when do the maas upgrade tests for master run?05:05
jogwhen a commit is picked up from that branch05:05
jogmenn0, did you already apply this fix there?05:08
jogah yes it looks like you did05:08
menn0jog: yep I did. I merged them one after the other.05:10
menn0jog: i'm about to EOD (and I imagine you were supposed to have quite some time ago)05:11
jogmenn0, it's building now http://juju-ci.vapour.ws:8080/job/build-revision/2180/console05:13
menn0jog: ok cool05:13
jognice and we have a blessed build for 1.2105:15
joghttp://reports.vapour.ws/releases/217905:15
menn0jog: \o/05:17
* menn0 is EOD05:25
jw4FWIW sinzui, mgz_, et. al. - I believe https://bugs.launchpad.net/juju-core/+bug/1403200 has passed all tests and deserves to be marked fix released05:39
mupBug #1403200: maas upgrades do not complete <ci> <maas-provider> <regression> <upgrade-juju> <juju-core:Fix Committed by menno.smits> <juju-core 1.21:Fix Committed by menno.smits> <https://launchpad.net/bugs/1403200>05:39
mattywdavecheney, ping?06:03
mattywdavecheney, you know what - cancel that and ignore me forever06:03
* mattyw needs to read docs more carefully06:03
jam1morning axw and wallyworld, how are you guys doing?06:05
jam1axwwallyworld sorry, keep getting dc here if you ansnwered06:33
=== urulama is now known as urulama|out
anastasiamacjam1: axw is off until Jan, I think07:02
anastasiamacjam1: wallyworld is off for the day ;)07:03
anastasiamacjam1: wallyworld will b back tomorrow07:03
=== liam_ is now known as Guest72494
anastasiamacjam1: did u get my last msgs about axw and wallyworld?07:08
=== ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Bug reports: https://bugs.launchpad.net/juju-core/
dimiternCI no longer blocked07:33
dimiternpreviously failed PRs re-queued for merging07:49
jam1anastasiamac: yes, apparently you didn't get mine:07:50
jam1jam107:50
jam109:0507:50
jam1anastasiamac: thanks, looking at the calendar it looks like both of them are off today07:50
anastasiamacjam1: yes, b oth r off today07:51
anastasiamacjam1: and ian is back tomorrow :)07:51
dimiternmenn0, hey are you around?08:11
menn0menn0: kinda :)08:12
dimiternmenn0, :)08:19
dimiternmenn0, so your fix worked08:19
dimiternmenn0, thanks for the quick response08:20
menn0dimitern: no problems.08:21
menn0dimitern: is it the best fix though?08:21
dimiternmenn0, I don't know about the best, but it's fool-proof at least08:22
dimiternmenn0, I'll propose a slight fix to change the ordering of addresses returned by maas's instance.Addresses method08:23
dimiternmenn0, which will make it slightly faster and in your patch the loop will do a single iteration most of the time08:23
* dimitern needs to step out for a while08:26
menn0dimitern: that sounds good08:27
menn0dimitern: that loop doesn't get called that often and there's not going to be huge numbers of addresses to check through so I don't think performance is much of an issue08:28
jam1hi axw09:11
axwjam1: heya09:11
jam1mark's in another discussion right now, so I've got some time if you want to give/get feedback on anything09:11
axwjam1: I have only just started looking at comments, nothing really controversial09:12
axwI really don't like count,size but maybe it's just me09:12
jam1man, I wish I could use VIM to edit Google docs :)09:12
jam1axw: so what mark really likes is clean, easy to read syntax09:12
jam1and he feels that : an x, etc add a lot to how hard it is to read a given string09:13
axwjam1: my take on it is that the number doesn't mean anything when you see it first. so then you have to go digging into documentation, rather than it being obvious in the first case (Nx being a fairly universal way of representing a multiplier, I think). but admittedly it doesn't work when you don't have a size09:14
axwjam1: glad to see NFS out of scope :)09:16
axwjam1: "pool" is just the new term for "source"?09:27
axwI don't recall there being talk of pools previously09:27
mattywdimitern, ping?09:38
dimiternmattyw, hey09:38
jam1axw: pool is being explicitly fleshed out as a way to start passing extra parameters into the system, without overloading the "—storage" parameter.09:46
axwjam1: yeah, just read over that section a bit more. I like it.09:46
axwjam1: any general feedback/news before I head off?09:47
jam1axw: I think we're pretty happy with what we've gotten to, and I'm just trying to make sure the current doc is consistent09:48
jam1axw: we're soliciting feedback at this point (from maas, antes, etc)09:48
axwjam1: cool09:48
axwalright, I'm going to go have a holiday then ;)09:49
axwjam1: thanks, ttyl09:49
jam1axw: enjoy09:51
voidspaceTheMue: dimitern: I'm going to be a few minutes late to standup, sorry09:59
dimiternvoidspace, ok, np09:59
TheMuevoidspace: ok09:59
dimiternmgz_, hey, do you know when 1.21-beta4 is due?10:00
jam1dimitern: I'm pretty sure it was due at least a week ago10:52
jam1Our original promise was 1.21 on Nov 1510:52
jam1which we are *way* past.10:52
dimiternjam1, Oh, I see - well with the api-endpoints fix landed it can be release now10:55
dimiternjam1, although during my live testing I discovered an issue fixed on master and not backported to 1.21 which is important10:56
dimiternjam1, I'll file a bug for it and have a chat with sinzui should 1.21-beta4 wait for it10:56
jam1dimitern: sounds like something that should block, and you've got a couple hours before mgz/sinzui would possibly build a 1.21-beta4 release :)10:57
jam1dimitern: I'm happy for you to delegate that backport, but if you've found something serious, we should be serious about it.10:57
dimiternjam1, right, now's the time then10:58
dimiternjam1, the issue is apt-get retrying logic is faulty - we're calling cmd.CombinedOutput more than once, which errors out after the first call as Stdout is already set10:59
jam1dimitern: sounds like a real, but not too hard to fix, bug, rigthH?11:00
dimiternjam1, the fix is in juju/utils/apt, so 1.21 needs to (carefully - as there are about a month of changes in utils since) start using a newer utils11:00
jam1or we backport to what they are currently using11:00
jam1yes, it sucks, but it might be less mental overhead11:01
* jam1 heads to lunch11:04
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
mgz_dimitern: yeah, beta4 is overdue, we're trying to release it currently - have got a good rev after your fix backport12:30
dimiternmgz_, there's an issue I discovered during my live tests - apt-get retry logic is not working12:31
mgz_do you have an idea when it regressed?12:31
dimiternmgz_, which is already fixed on master, but not backported to 1.2112:31
dimiternmgz_, I know as I fixed it in juju/utils/apt, but 1.21 uses an earlier rev of utils12:32
mgz_well, certainly backport12:32
dimiternmgz_, should we hit the red button until this lands?12:32
mgz_but is this a new breakage that wasn't in beta3?12:32
dimiternmgz_, let me check12:34
dimiternmgz_, it was broken since at least alpha3 (or beta2 - not quite sure; the commit log is ambiguous)12:38
mgz_okay, so I think we try to get your fix for this beta, but it's not the end of the world if we don't12:39
dimiternmgz_, scratch that - alpha3 is more likely12:42
dimiternmgz_, ok, I'll file a bug then and target it12:42
* dimitern thinks *everyone* should rebase and merge minor commits before they end up in master12:43
dimiternor at least be aware they will end up on master and use helpful commit logs - sifting through like 30 commits like "fix dependencies.tsv", "update dependencies.tsv" or "add dependencies of dependencies to dependencies.tsv", are *not* helpful at all to point to *what* changed12:44
mgz_thanks dimitern12:45
=== kadams54 is now known as kadams54-away
dimiternmgz_, there's a pre-existing bug 1394524 which I now retargeted for 1.21-beta412:52
mupBug #1394524: juju/utils/apt retrying logic is poorly tested and can fail the second time <bootstrap> <juju-core:Fix Committed by dimitern> <juju-core 1.21:In Progress by dimitern> <https://launchpad.net/bugs/1394524>12:52
jw4ericsnow: ping13:25
wallyworldjam1: sorry, was away today but am online for a short time now13:50
natefinchfwereade: was there a decision about what to do about exposing zones to charms?  Are we just going to let charms set their zone in their relation data the old fashioned way?14:07
fwereadenatefinch, ah, sorry14:07
fwereadenatefinch, we should certainly expose it, but I don't think there's any reason to dump it into relation data by default14:08
fwereadenatefinch, those that need it can add it14:08
fwereadenatefinch, and personally I would prefer to expose it via $JUJU_AVAILABILITY_ZONE than by tacking it onto unit-get14:08
fwereadenatefinch, (and IMO we should not expose lists of zones at this stage -- I'm willing to hear proposals, but the ones I've seen have not been adequate )14:09
natefinchfwereade: agree on list of zones. There seemed to be no need for that.14:09
natefinchfwereade: how about exposing zone of related units?  I think that was in the proposal too, so you can see what zone your DB is in, for example.14:10
fwereadenatefinch, strong -1 to that14:10
fwereadenatefinch, zone-scoped relations would be kinda cool14:10
fwereadenatefinch, but they also bump up against the yuckiness of local-scoped non-subordinate relations14:11
fwereadenatefinch, ie they have exactly the same opaque failure modes14:11
fwereadenatefinch, and we should figure out how to do them *both* right14:11
fwereadenatefinch, *if* charms want to put that info over their relations, ofc we can't stop them14:12
fwereadenatefinch, exactly the same in peer rels and pro/req rels14:12
fwereadenatefinch, but I don't think it's something we want to make into a feature14:12
natefinchfwereade: ok14:12
natefinchfwereade: that sounds good.14:13
natefinchfwereade: so the spec is now - simply expose zone via $JUJU_AVAILABILITY_ZONE and that's it?14:15
fwereadenatefinch, I think that's the MVP, yes ;)14:15
natefinchfwereade: ok :)14:16
sinzuinatefinch, do you have a minute to review http://reviews.vapour.ws/r/650/14:24
natefinchsinzui: ship it!14:25
sinzuithank you natefinch14:25
natefinchwwitzel3: 1:1 in moonstone?14:33
ericsnowjw4: pong?15:14
jw4ericsnow: morning :) - Hey I've addressed all your issues on PR 616, with two issues asking for your agreement to drop in favor of a TODO : http://reviews.vapour.ws/r/616/15:15
jw4ericsnow: care to take a quick gander and drop or object?15:15
* ericsnow takes a look15:15
ericsnowjw4: thanks so much for addressing my concerns.15:22
jw4ericsnow: thanks for raising them :)15:22
ericsnowjw4: I'm fine with dropping the first one and while I'm not convinced on the second one I guess I'm okay with dropping it for now too15:23
ericsnowjw4: what's the concern with using IsolationSuite15:23
ericsnowjw4: it's not like the mongo suite or something :)15:24
jw4ericsnow: I think you make a good point in your comments.  I was hesitant to pull in a big suite, but I think you're right - IsolationSuite is okay15:24
jw4ericsnow: I'll do that and clean up the pr and ping you again15:25
ericsnowjw4: yeah, if you look at the code, it doesn't add much but what it does add is super helpful15:25
ericsnowjw4: thanks!15:25
jw4ericsnow: thanks too15:25
ericsnowjw4: glad to do it15:25
jw4gah - I missed the window while CI isn't blocked - teh suk15:42
=== ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: 1403546
sinzuinatefinch, can you find someone to look into bug 140354615:53
mupBug #1403546: cannot get environment config: invalid series vivid <ci> <local-provider> <regression> <vivid> <juju-core:Triaged> <https://launchpad.net/bugs/1403546>15:53
natefinchoh FFS15:54
natefinchsinzui: the bug description has a typo that makes it hard to understand15:56
natefinch"As vivid really in in streams, hosts that don't know about vivid in ubuntu.csv must still work."15:56
natefinchshould that say "vivid really is in streams"?15:56
sinzuinatefinch, yes, I will fix it15:56
natefinchsinzui: why do we have vivid in streams but not in ubuntu.csv?  ubuntu.csv was how we were going to support new series15:57
natefinchwait... I have vivid in ubuntu.csv15:57
sinzuinatefinch, That data is delivered to hosts in updates. note everyone get series knowledge that the same time15:58
sinzuinatefinch, since vivid is in devel, we can expect a period of months where we make agents, (Lp did), but the host machine doesn't have the release info yet15:59
natefinchthis is quite aggravating, since the whole point of using ubuntu.csv was to avoid this problem.  Do you have an idea on how we can fix this?16:01
sinzuinatefinch, an entry in ubuntu.csv is canonical (in the real sense of the world), and other series for win, osx, centos, or ubuntu must be accepted.16:03
sinzuinatefinch, ubuntu.csv is really about knowing the dates of when series expire, not about every series that will exist16:04
* sinzui wonders if the recent failures to build osx clients are the same reason16:05
natefinchsinzui: the main problem is translating a random series to an OS16:07
sinzuiyeah16:07
sinzuinatefinch, in the case, if we made a agent, then I think juju should accept it, maybe ignore it. I can run vivid container on these machines though, so the user might want to expect to use the unknown series.16:10
ericsnowperrito666: standup?16:21
perrito666ericsnow: wjy not_16:22
perrito666sinzui: Ill take a look16:39
sinzuiperrito666, thank you16:40
jam1fwereade: natefinch: do we have a spec about default-hook ?16:49
fwereadejam1, 90% sure natefinch wrote one, will have a quick look16:49
natefinchlooking16:50
fwereadejam1, natefinch: sorry, can't find it16:51
fwereadejam1, natefinch: bloody google ;)16:51
natefinchjam1, fwereade: I honestly can't remember if one was written...16:52
natefinchjam1, fwereade: does anm email thread count?  search for "First customer pain point pull request - default-hook"16:53
fwereadenatefinch, yeah, that was what I just found16:54
jam1natefinch: fwereade: did it land in 1.21? I see it listed in the release notes, but I don't see it in the code yet16:54
natefinchjam1, fwereade: from Aug 1516:54
fwereadenatefinch, afraid it mostly devolved into discussion of something-changed16:54
natefinchjam1. fwereade: it did not land... it shouldn't have been in the notes16:54
natefinchjam1, fwereade: we decided it required juju-min-version (aka feature flags) first16:55
natefinchjam1, fwereade: which moonstone will get to sometime after the holiday break16:55
alexisbjam1, why do you ask16:57
voidspacedimitern: ping17:31
dimiternvoidspace, pong17:31
voidspacedimitern: hey, hi17:31
voidspacedimitern: sorry to bother you so late17:31
voidspacedimitern: the topic of filling in AllocatableIPHigh and Low for maas17:32
voidspacedimitern: I've fixed all the other issues from review17:32
dimiternvoidspace, np, I have to wait for a meeting anyway :)17:32
voidspacedimitern: currently we're using the MaaS networks api call to get subnet info17:32
dimiternvoidspace, right17:32
voidspacedimitern: this *doesn't* include static / dynamic range info17:32
voidspacedimitern: http://maas.ubuntu.com/docs/api.html#networks17:32
voidspacedimitern: nodegroups does17:32
dimiternvoidspace, aw ffs..17:33
dimiternvoidspace, true, so we need to implement that as well17:33
voidspacedimitern: so is it ok to use nodegroups?17:34
voidspacedimitern: I can pull the info out of a nodegroups call easily enough17:34
voidspacedimitern: although we can't filter nodegroups by instance id like we can networks17:35
dimiternvoidspace, I think we have to use it - that's the only way to get the static range17:36
voidspacedimitern: so subnets should lose the instance id paramter17:36
voidspacedimitern: ok, so I'll make those changes17:36
voidspacedimitern: follow-up branch or on this branch?17:36
dimiternvoidspace, cheers!17:36
dimiternvoidspace, follow-up is fine17:37
voidspacedimitern: ok17:37
voidspacedimitern: so the current branch is ready I think17:37
voidspacedimitern: I changed the XXX to a TODO so I could land it17:37
dimiternvoidspace, let me have a final glance17:37
voidspacedimitern: cool17:38
voidspacedimitern: XXX -> TODO just landed now17:38
voidspacedimitern: I'm going for coffee, bbiab17:38
dimiternvoidspace, ok17:38
=== ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: 1403546 1403596
sinzuinatefinch, ericsnow sorry, new testing shows an other regression related to cTim for os x 140359617:42
sinzuibug 140359617:42
mupBug #1403596: OSX build broken by stat.Ctim undefined <ci> <osx> <regression> <juju-core:Triaged> <https://launchpad.net/bugs/1403596>17:42
jw4natefinch, sinzui : docker fixed a similar bug here https://github.com/andrewsmedina/docker/commit/8b2a7e35c35f894dca0795a4fde9ec0cfe04ce4317:44
jw4natefinch, sinzui looks like it's just separate implementations for darwin vs. others17:45
sinzuithank you jw417:45
dimiternvoidspace, LGTM +2 very small suggestions17:45
jw4sinzui, natefinch I'll look at this bug but I'm not familiar with the code so if anyone else can jump on it that's fine  :)17:46
wwitzel3anyone know how the default instance type for a provider is selected?18:12
natefinchwwitzel3:  I think we have logic that just picks the least expensive of known options18:13
voidspacedimitern: ok18:15
voidspacedimitern: my wife has had to take our next door neighbour to hospital, so I'm on babysitting duty18:15
voidspacedimitern: I'll finish this later on18:15
dimiternvoidspace, np, take your time18:23
jcastrorick_h_, do you happen to know luca's plan for the new videos page on jujucharms.com?18:30
rick_h_jcastro: I know we're supposed to pull them from insights at some point. I've not seen the feed yet18:31
rick_h_jcastro: now that's just to pull videos for the community page, I'm not aware of a straight 'videos page'.18:31
jcastroright18:32
jcastroI know it's generated18:32
jcastroafaict the "new videos page" is just a generated feed of videos tagged video in wordpress18:32
rick_h_jcastro: it's on the todo with UX/web team next year along with deprecating out the juju.ubuntu.com domain and such. Most of them are out for the holiday already so not managed to move it forward.18:34
jcastroyeah I was just wondering where it stood on the list.18:34
jcastrolike, pre or post-sprint, etc.18:34
rick_h_top of the new year list.18:34
rick_h_pre sprint18:34
rick_h_sprint is 19th and that's for different stuff18:35
jcastronot bad, I like how you roll18:35
rick_h_I want to kill of juju.ubuntu.com and manage.jujucharms.com (front end) first of next year18:35
rick_h_was hoping to have it done pre-break but didn't make it18:35
jw4sinzui, natefinch http://reviews.vapour.ws/r/655/18:35
jw4fixes ci blocker bug 1403596 ^^18:38
mupBug #1403596: OSX build broken by stat.Ctim undefined <ci> <osx> <regression> <juju-core:Triaged> <https://launchpad.net/bugs/1403596>18:38
sinzuithank you very much jw418:39
jw4sinzui: yw18:39
jw4OCR PTAL : http://reviews.vapour.ws/r/655/18:49
perrito666sinzui: upgrade juju for local is something that takes a lot of time?18:57
dimiternericsnow, perrito666, http://reviews.vapour.ws/r/656/ PTAL - backport the fix for bug 1394524 for 1.21 - it has some changes I'd like to pass by you18:58
mupBug #1394524: juju/utils/apt retrying logic is poorly tested and can fail the second time <bootstrap> <juju-core:Fix Committed by dimitern> <juju-core 1.21:In Progress by dimitern> <https://launchpad.net/bugs/1394524>18:58
sinzuiperrito666, no, usually less than 5 minute18:59
perrito666mmm, let me wipe all this18:59
perrito666sinzui: to replicate I am juju bootstrap --series=precise --upload-tools and then doing an upgrade, I am in the right path_19:00
perrito666?19:00
perrito666sinzui: ok, I am not getting a precise series on local :(19:08
sinzuiperrito666, :( you are doing what i do19:11
sinzuiperrito666, I don't specify series19:12
sinzuisince we saw the issue with trusty too on a machine that didn't know about vivid, may be you want to just try trusty19:12
sinzuiperrito666, oh, I am confused now, since you are working with tip you are running juju from in the tree to upgrade right? isn't juju making the agent to upload?19:13
perrito666sinzui: I believe we are both confused here19:15
perrito666I am working with master tip, in an utopic machine, which most likely knows of vivid?19:15
perrito666sinzui: http://pastebin.ubuntu.com/9553381/19:15
perrito666this is what I get from a bootstrap with local19:16
sinzuiperrito666, That looks right, but since this issue is about upprades, I think you want to bootstrap 20 or 21, then call upgrade. I assume during upgrade that streams is checked19:23
perrito666sinzui: makese sense, ill get 2119:23
sinzuiperrito666, you can remove/change the vivid linne in /usr/share/distro-info/ubuntu.csv19:24
perrito666sinzui: that, is easier19:24
sinzuiperrito666, I learned that trick when we first added trusty and several QA machines didn't know what to do.19:25
voidspaceright, signing off19:30
voidspaceg'night all19:30
perrito666sinzui: still cant, life hates me19:46
perrito666sinzui: does this fail only on local?19:46
jw4who is OCR today?19:47
sinzuiperrito666, might be, I suspected the localhost's dist_info was where vivid was absent19:48
thumperperrito666: morning20:03
thumperperrito666: how's the vivid blocker?20:03
perrito666thumper: morning20:03
perrito666thumper: trying to reproduce it with half brain and to patch it without reproducing it with other half20:04
thumperworks for me20:04
* perrito666 knows thumper is patting with the foot like someone in line for the mans bathroom20:04
waiganiyep20:04
jw4thumper: the other blocker is just waiting for review: http://reviews.vapour.ws/r/655/20:05
jw4thumper: hint hint20:10
thumperjw4: yeah... we know20:10
thumperand are talking about it20:10
jw4:)20:10
jw4thumper: fwiw it's essentially the same fix that docker did for a similiar issue in their code20:11
katcowallyworld: hey can you ping me when you get on?20:22
waiganijw4: reviewed20:39
jw4waigani: thanks20:39
jw4waigani: updated - reviewboard doesn't quite know what to do with the file added and then removed within the review cycle :)20:46
waiganijw4: so there is no unix file any more, right?20:48
jw4waigani: correct20:48
waiganijw4: lgtm20:49
jw4waigani: thanks20:49
waiganinp20:49
menn0jw4: hold the phone!20:50
thumperjw4: if you use the filename suffix, you don't need the build directives20:50
menn0jw4: what thumper said20:50
jw4haha20:50
menn0jw4: the build directives currently don't match the filenames20:50
jw4menn0, thumper they should?20:50
menn0jw4: you don't need them anyway, the filenames create implicit build tags20:51
thumperjw4: easier to just not have them20:51
jw4thumper, menn0 : kk - reduces chances of inadvertent conflict20:51
jw4thumper, menn0 : will remove20:51
menn0jw4: at any rate, the current build tags are confusing20:51
thumperagreed20:51
menn0jw4: would be better to use positives instead of negatives (i.e. +build linux ; +build windows ; +build darwin20:52
=== kadams54 is now known as kadams54-away
menn0jw4: but just remove them...20:52
* menn0 stops talking20:52
jw4menn0: makes sense.  I haven't used build tags before - I confess to the cargo cult20:52
menn0jw4: here's the docs: http://golang.org/pkg/go/build/#hdr-Build_Constraints20:53
jw4menn0: thanks20:54
tvansteenburghhey guys, i need a script that will collect all unit logs if/when a deployment fails (unit goes to error state). anyone have such a thing?21:04
bodie_does anyone know why charm master is 8 commits ahead, 153 commits behind charm v4?  I assumed master was tip21:07
menn0tvansteenburgh: I don't but Juju's CI tools do parsing of status and log capturing21:07
menn0tvansteenburgh: you could steal some bits from there21:07
menn0tvansteenburgh: https://launchpad.net/juju-ci-tools21:07
thumperjw4: just added an extra shipit21:07
jw4thumper: woot21:07
tvansteenburghmenn0: thanks!21:08
thumperbodie_: no, master is the old one, and v4 new21:08
thumperbodie_: some gopkg.in thing that I'm personally not a fan of21:08
thumperbut there ya go21:08
bodie_I see21:08
=== kadams54-away is now known as kadams54
bodie_I don't think it must be that way; gopkg should point to versions as they are tagged in the repo21:09
menn0tvansteenburgh: there's certainly a lot more there than you need and it's probably coupled in inconvenient ways but hopefully there's some useful bits21:09
bodie_my understanding is that normally you'd have your master ahead of your tagged versions21:09
thumperbodie_: gopkg can point to tags or branches21:09
bodie_well yes21:09
jw4bodie_: and isn't that what you're seeing?"21:09
thumperand those in charge of the charm repo decided to use branches21:09
jw4bodie_: master is 8 commits ahead of v4?21:09
jw4bodie_: oh - i didn't read the rest - 153 behind21:10
bodie_it looks to me like master was abandoned in favor of working off v4, but I'm not sure if there's an accepted way we're working with charm.  in the meantime I'm going to work off v4...21:10
jw4sounds like v4 should just be merged to master periodically?21:11
bodie_*shrug* I'm not sure what the divergence is about; it's possible the extra commits should be part of v4, it's possible they shouldn't21:11
jw4no, I meant merging the other way21:12
jw4the 153 extra commits in v4 maybe should be merged  into master21:12
bodie_maybe there's a reason they were abandoned, I really don't know21:13
bodie_I think that was around the time the versioning in charm was being nailed down21:13
=== sebas538_ is now known as sebas5384_
=== mwhudson_ is now known as mwhudson
perrito666thumper: menn0  wanna give me some light? I think I am around the problem but not yet sure21:14
thumpersure, what do you need?21:15
=== sebas5384_ is now known as sebas5384
perrito666I have some knowledge gaps that you might fill :) here is what is going on, according to me:21:15
perrito666CI uses 1.20.10.1 to bootstrap a local env21:16
perrito666using upload tools21:16
perrito666so you have a local env with jujud 1.20.10.1 that, if I am right, is not aware of vivid21:16
perrito666the machine though already has vivid in ubuntu.csv21:16
perrito666CI triggers an upgrade21:16
perrito666something in the upgrade (here is the gap) calls SeriesVersions with "vivid" all blows21:17
perrito666If I use tip for this it does not happen21:17
perrito666and I am now about to test with the tip of 1.2021:18
thumperperrito666: version/supportedseries.go21:18
thumperperrito666: vivid is in master, is it in the 1.21 branch?21:18
thumperis it in 1.20?21:18
menn0perrito666, thumper: just caught up21:19
perrito666mmmm in 1.21 is in ubuntuSeries but not in seriesVersions21:20
perrito666I wonder if that is right21:20
jw4sinzui, mgz_ fix for bug 1403596 is in - not sure which tests need to pass to mark "Fix Released"21:20
mupBug #1403596: OSX build broken by stat.Ctim undefined <ci> <osx> <regression> <juju-core:Fix Committed by waigani> <https://launchpad.net/bugs/1403596>21:20
thumperjw4: you don't mark it fix released21:21
thumperjw4: also needs to be back ported to 1.2121:21
jw4thumper: is that something I can/could do?21:21
thumperjw4: yes :-)21:21
jw4thumper: just another pr against 1.21 branch?21:22
thumperjw4: start with the 1.21 branch21:22
sinzuijw4, thumper http://juju-ci.vapour.ws:8080/view/Juju%20Revisions/job/build-osx-client/ is the test and i am fine with anyone marking the bug for 1.22 fix release when we see a pass with :master:21:22
thumperand cherry pick your fix21:22
sinzuithumper, the job passes for 1.21.21:22
thumperoh21:22
sinzuiwe released with what it built in fact21:22
jw4thumper: thanks for the tips !21:22
thumpersinzui: oh, just master?21:22
sinzuiyep21:22
thumperjw4: not needed for 1.21 apparently21:22
menn0thumper: the OS X issue was only just introduced as part of work on backups21:23
menn0thumper: methinks21:23
jw4sinzui: cool - does that CI build kick off automatically?21:25
thumperperrito666: I'm looking at pr 121621:25
sinzuijw4, it will21:25
jw4sinzui: kk21:25
* jw4 goes to unload groceries for wifey21:25
thumpersinzui: re bug 140354621:26
mupBug #1403546: cannot get environment config: invalid series vivid <ci> <local-provider> <regression> <vivid> <juju-core:Triaged by hduran-8> <https://launchpad.net/bugs/1403546>21:26
thumpersinzui: this is an upgrade from what?21:27
sinzui1.20.10 thumper21:27
thumpersinzui: I don't think this effects master, but the 1.20 branch21:28
perrito666thumper: I did too but if I get it right that only should blow if that is actually runing a vivid21:29
thumperthe client is trying to upload the tools, but the server goes "vivid what" ?21:29
sinzuithumper, you don't have a tie machine, you cannot change the fact that ubuntu only has old jujus21:29
thumperperrito666: no...21:29
perrito666thumper: that is what I just said :p21:29
thumpersinzui: I want a time machine21:30
perrito666sinzui: mm, a tie machine, that sounds very useful, especialy in parties21:30
sinzuithumper, perrito666 I can put vivid into the ubuntu.csv and run the test again (if ci isn't building again)21:30
thumper...21:30
thumpersinzui: you are right, we should be more careful about what we update / upgrade21:30
thumperI'm just trying to work out what?21:30
thumpersinzui: can you add to the bug report what is in the ubuntu.csv on the server, and the version of the server failing?21:31
sinzuithumper, sure, I can also make the trusty machine have 1.20.11 from proposed21:31
sinzuiubuntu proposed I mean21:31
thumpersinzui: while this is technically a regression, it is not one generated by code, but time21:32
thumperwell21:33
thumperthe code that uploads tools has probably changed in the last six months somewhat21:33
thumperwhich is the last time we had to deal with this21:33
thumpersinzui: the host is running on which series?21:34
perrito666well we actually fixed this21:34
thumpersinzui: also, machine-0 log from the server would help21:34
perrito666 I know, it sounds like I am saying something idiotic21:34
perrito666sinzui: thumper  I just compiled 1.20 tip21:34
sinzuithumper, we have a precise host and a trusty host21:34
perrito666bootrstraped local with it uploading tools21:34
perrito666compiled master tip21:34
perrito666upgraded21:34
perrito666worked like a charm21:35
sinzuiand obviously they didn't fail two days ago21:35
thumpersinzui: I'm following that error back to the source21:40
thumpersinzui: and things don't add up21:40
* thumper is a little confused21:40
sinzuithumper, I just updated the trusty machine to 1.20.11 which is from Ubuntu trusty proposed.21:40
thumpersinzui: the error originates from the method LegacyStorage21:40
thumper...21:41
thumperI'm reading the wrong code21:41
thumperthat's why I'm confused21:41
* sinzui runs with --debug with the version ever Ubuntu user will get in a week21:42
perrito666thumper: are you reading master or 1.20?21:42
thumperperrito666: I was reading master, hence confusion21:42
perrito666at least in master that error is spit by LegacyStorage which is never called in local21:42
perrito666yeah, happened to me21:42
perrito666I am trying to see if we are doing something new in tools uploading that might trigger this21:43
perrito666I am suddenly suspicious of this snippet in master http://pastebin.ubuntu.com/9554502/21:44
sinzuisurely during upload, streams is checked, and the streams contain vivid, but the machine doesn't know about them. the error is probably in streams code21:44
perrito666I am really starting to hate prereqs21:45
thumperperrito666: I've found the part in 1.20 I think21:47
thumperperrito666: right, the client thinks they are supported but the server doesn't21:47
perrito666thumper: which of the 3 parts that yield the exact same error?21:47
thumperstate/apiserver/tools.go line 17221:47
perrito666thumper: the server gets vivid from the uplading client?21:48
thumperperrito666: correct21:48
perrito666mm, there is a comment from william on the uploading function that says someting like this might happen21:49
sinzuithumper, perrito666 looky at the result when I upgraded one of the machines to 1.20,11 http://juju-ci.vapour.ws:8080/job/local-upgrade-trusty-amd64/21:50
sinzuia pass21:50
* perrito666 wonders what is a safe bet solution there21:50
perrito666sinzui: off course21:51
perrito666https://github.com/juju/juju/blob/juju-1.20.11/version/ubuntu/supportedseries.go21:51
perrito66611 adds vivid21:51
sinzuiyep so it does21:51
sinzuiso good news for ubuntu when this version moves from proposed to updates21:51
thumpersinzui: so... now what?21:51
sinzuithumper, I am not sure this didn't fail 2 days ago before the mad rush to land code21:52
sinzuiso something changed to break older jujus from upgrading21:52
thumperyeah, I can't see what though...21:53
perrito666sinzui: I have scanned everything going remotely near versions and nothing seems to have that effect21:53
perrito666I see only one way to find out21:53
sinzui:/21:53
thumpersinzui: are we sure that the versions that were passing before were using the same old 1.20.x version?21:54
thumperand not 1.20.11?21:54
* thumper is reading the previous passing test21:55
thumper1.20.10.121:55
thumpersinzui: you went from having passing test upgrading from 1.20.10.1 to 1.21-beta421:57
sinzuiyep21:57
thumperto failing tests upgrading from 1.20.10.1 to 1.22-alpha121:57
thumperwe don't support 1.20 -> 1.22 upgrades21:57
sinzuino21:58
thumperso why are you testing them?21:58
sinzuiremember that jobs test all version that you commit too21:58
thumperno I don't remember21:58
sinzuithumper, you need to read the side to learn the branch and revision tested21:58
thumperwhy are we running this job when it doesn't make sense?21:59
sinzuithis is http://juju-ci.vapour.ws:8080/job/local-upgrade-trusty-amd64/666/ == be01edcb21:59
sinzuithumper, This ensures the same test passes for all jujus. the input is a the version of juju under test21:59
thumpersinzui: sure, this test makes sense for 1.21, but not for 1.2222:00
thumpernow it fails for 1.22 and it is a problem?22:00
thumperI don't get it22:00
thumperit seems that 1.21 isn't uploading vivid22:01
thumperbut 1.22 is22:01
thumper1.20.10 doesn't know about vivid22:01
thumperso upgrades to 1.22 (which is unsupported) now fail22:01
sinzuithumper, juju removed the rules to control how it hops to a version during upgrade...I believe you removed them when you added alphas to versions22:01
thumperwe did22:02
thumperI have hoped that this would work22:02
thumperbut this shows that we still have issues22:02
sinzuithumper, 1.18 will only let you go to 1.20, 1.20 will do what every you tell it22:02
thumpernow... we can fix this22:02
thumperbut I wonder how much it is worth it to fix22:02
thumperhow far we wish to backport22:02
thumperI propose the following idea:22:03
sinzuino backport to 1.20...22:03
sinzuiit is dead to me and we cannot make people use it22:03
thumpersure...22:03
thumperin which case 1.20 -> 1.22 should not be supported22:03
sinzuithumper, IS is using 1.20.10. they plan to hop to 12 then 1422:03
perrito666sinzui: that is ok22:04
thumperthe fix is to have the tools processing not fail on tools it doesn't know about22:04
thumperjust to drop them on the floor22:04
perrito66614->22 works22:04
sinzuiyep22:04
sinzuiI agree22:04
thumpersinzui: but that fix can be back ported to 1.2122:05
thumperbut not 1.2022:05
thumperso we can't support jumping versions from 1.20 to 1.2222:05
=== kadams54 is now known as kadams54-away
thumperhopefully with this fix in place, we shouldn't hit this next time22:05
sinzuithumper, just ensure juju doesn't skip minor version?22:05
thumperno... that is not what I'm proposing22:06
=== kadams54-away is now known as kadams54
perrito666thumper: what exactly are you proposing?22:12
sinzuiperrito666, from ubuntu/canonical's perspective, every host should be accepting updates. We can test the precise host and see if it passes22:15
sinzuiperrito666, from juju's perspective skipping minor versions is unpredictable, and juju should be taught to say no22:16
sinzuiperrito666, and juju can also claim the issue is fixed by upgrading to the lastest 1.20...then hoping to 1.2222:17
perrito666sinzui: there is the point, when you say "by upgrading" you mean that we advice that and declare this issue solved or you are thinking on something else?22:18
perrito666be aware that at this point I have a very interesting headache so be gentle with your answer22:19
sinzuiperrito666, prove the two work arounds, add them to the bug, then mark the bug as wont fix22:20
sinzuiperrito666, because the affected users are those with stale ubuntu packages or stale juju packages.22:20
jw4sinzui: should 'build-osx-client' have kicked off by now?22:20
sinzuiperrito666, we do need to prove both conditions. we proved juju.20.11 is fixed22:21
perrito666the two workarounds are 1.20.10->1.20.14->1.22 and 1.20.10->1.21->1.22?22:21
sinzuijw4, I disabled CI so that we could explore how to fix perrito666's bug22:21
jw4sinzui: ah; I see.22:21
sinzuiperrito666, that is the juju work around.22:22
sinzuiperrito666, lets take 5 minutes to test the precise machine with a current dist-info-data22:22
sinzuithen we can let jw4 end his day with a victory22:22
jw4sinzui: hehe - I have 5 pending PRs I wanna land before I leave on vacation tomorrow22:23
perrito666jw4: I take you are not planning to sleep22:23
jw4perrito666: lol22:23
sinzuijw4, I leave in 40 minutes22:23
jw4sinzui: and code freeze for 1.22 is Friday right?22:24
sinzuiyep22:24
jw4sinzui: it's after 5pm for you right?  Are you leaving for vacation or until tomorrow o_O22:26
sinzuijw4, I am just taking day trips22:27
jw4sinzui: I see22:27
sinzuiI don't like leaving my kitchen or internet22:27
jw4sinzui: lol - what do you have google fiber or something?22:27
perrito666sinzui: interesting I feel like that for my bathroom22:28
jw4perrito666: ROFL <--- almost literally22:28
jw4brings a whole new perspective to Google Fiber22:28
sinzuijw4, I do have fiber from verizon and no cable. just net22:29
perrito666aghh how in the universe do I checkout a tag22:30
perrito666?22:30
jw4perrito666: git checkout <tag>22:30
perrito666thought so but not working22:30
jw4perrito666: do you have the tag in your local repo?22:31
perrito666jw4: no I was trying to fetch the one in github22:31
jw4perrito666: git fetch --all --tags22:31
sinzuiperrito666, http://juju-ci.vapour.ws:8080/view/Juju%20Revisions/job/local-upgrade-precise-amd64/22:31
jw4--all probably not needed22:31
jw4sinzui: I briefly considered moving to Kansas City when they were selected for Google Fiber22:32
perrito666sinzui: that is precise22:32
perrito666sinzui: I am now trying the 1.20.10 to somthing else jump22:32
perrito666sinzui: ok, we have a different problem22:34
jw4waigani: thanks for the email!  Hopefully I can find it in gmail again next time.22:34
perrito666sinzui: I just upgraded to 1.22 from 1.20.1022:35
* perrito666 headbuts the desk22:35
perrito666I am seriously over my EOD, anyone interested in taking over this?22:36
perrito666otherwise Ill have to go be a family person and return later22:36
* perrito666 eyes thumper22:36
* jw4 finds it strangely quiet in here suddenly22:37
alexisbperrito666, I can make sure it gets handed off, go!22:37
jw4run perrito666 run22:37
* jw4 smiles nervously at alexisb 22:38
thumperperrito666: I got this22:40
alexisbthank you thumper22:40
perrito666thumper: thanks a lot, see you al tomorrow people22:40
perrito666thans alexisb too22:40
perrito666cheers22:40
sinzuijw4, CI has started testing you revision22:51
jw4sinzui: tx22:52
thumpersinzui: https://github.com/juju/juju/pull/1216/files definitely caused the upgrade failures22:55
jw4woot22:56
waiganijw4: np, I used the command just before I read your email, so it was fresh in my memory.23:08
=== kadams54 is now known as kadams54-away
katcowallyworld: ping, you here yet?23:23
wallyworldkatco: sorry, been in meetings23:23
wallyworldgot another one in 523:23
katcowallyworld: oh no worries at all23:23
wallyworldbut i am free till then23:24
jw4sinzui, waigani can we mark 1403596 fix released yet?  It passed the osx ci build23:24
katcowallyworld: i was going to ask for some of your time for some peer-programming23:24
alexisbwallyworld, feel free to stump on our 1x1 if you need to chat with katco23:24
sinzuiI just updated the bug jw423:24
katcoalexisb: wallyworld: it's just stupid newbie questions. your call :)23:24
jw4sinzui: gracias23:24
wallyworldkatco: did you want to hook up now?23:24
katcowallyworld: yeah def.!23:24
alexisb:)23:25
katcowallyworld: tanazanite?23:25
wallyworldsure23:25
katcoalexisb: ty so much!23:25
wallyworldalexisb: i'll ping you in a bit if you will be around23:25
thumperok, lunch time.. bbl23:25
alexisbI will be until about 5 (1.5 hours from now) then I am on kiddo duty until our leads call23:25
=== ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: None
sinzuithumper, this bug might interest you. maybe you want to say it is a documentation issue if there is no fault https://bugs.launchpad.net/juju-core/+bug/140316523:26
mupBug #1403165: Cannot destroy-environment with 'juju user add' .jenv file <config> <destroy-environment> <regression> <users> <juju-core:Triaged> <https://launchpad.net/bugs/1403165>23:26
wallyworldalexisb: ok, if i'm done i'll ping23:27
thumpersinzui: ta23:42
anastasiamacm trying to test newly checked-out charm.v4 on my machine and m getting http://pastebin.ubuntu.com/9555369/ what m I miss n?23:47

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