/srv/irclogs.ubuntu.com/2016/09/15/#juju-dev.txt

* axw goes to do school pickup00:00
axwerr00:00
axwdropoff00:00
veeberswallyworld: is the juju trunk tagged for each 'beta release', i.e. if I wanted to build a binary for juju-beta11 etc. can I check out a tag?00:31
wallyworldyes00:31
wallyworldQA does that, i'm not sure what the tags are called exactly00:31
veeberswallyworld: cheers, I'll figure it out00:31
thumperwallyworld: just pushing update to list-users00:32
wallyworldok00:32
thumperwallyworld: http://reviews.vapour.ws/r/5670/diff/#00:33
thumperwallyworld: `juju list-users some-model` now also shows logged in user with * (and green)00:33
wallyworldgreat00:34
thumperwallyworld: I also changed the output to better match list-users00:34
axwmenn0: we don't support arch on azure. did you get the right line number?00:34
thumperhowever we don't have date-created returned from the server00:34
menn0axw: the line number might be different in my checkout00:34
axwline 901 is something else entirely00:34
menn0hang on00:34
menn0axw: https://github.com/juju/juju/blob/master/provider/azure/environ.go#L83400:35
axwmenn0: so if we separated series from kernel, I'd just be checking "is it linux" there00:36
axwmenn0: could you just change it to GenericLinux please?00:36
axwmenn0: actually00:36
axwmenn0: just drop it00:37
axwmenn0: if we were to support something server side, "generic" wouldn't be helpful00:37
menn0axw: that's what i'm thinking00:37
axwI'll just need to grow the list as we add it00:37
menn0axw: this is about the instance's series AFAICS00:37
axwmenn0: yeah it is, but the code there only cares that it's linux - not which distro00:37
axwmenn0: but "generic linux" isn't going to apply to anythign we actually support server-side00:38
menn0axw: no it won't00:38
menn0axw: and Arch won't work either without further support elsewhere00:38
axwmenn0: indeed00:38
* axw bbs00:39
wallyworldthumper: i asked for the deleted feature test to be added back, and menn0 was naughty for not requesting Qa steps be done00:43
wallyworldaxw: ping when you're back00:54
axwwallyworld: pong00:54
wallyworldaxw: with credential parsing. the cred name can have "_" in it. so 2 options. one is to use "__" as the separator for the parts. the other is to retain the use of "_" and instead of strings.Replace(s, "__", "/", -1) just look for the first 2 "_" in the string. but the latter might get confusing to read00:56
wallyworldthe former also allows for __ in the use rname00:57
wallyworldbah, _00:57
wallyworldfred_bloggs@local00:57
wallyworldfor example00:57
axwwallyworld: I was thinking that we'd just add escape sequences00:58
axwwallyworld: e.g. use URL encoding00:58
wallyworldyeah could do, i was going for something human readable easily00:59
axwwallyworld: then the user can use whatever characters they want in the cred name00:59
axwwallyworld: well, most things will still be unescaped00:59
wallyworldbut yeah i can escape00:59
axwveebers: CI seems unhappy: http://juju-ci.vapour.ws:8080/job/github-merge-juju/9231/console01:16
axwmerge job anyway01:16
* veebers looks01:17
veebersaxw: I think I see what was wrong. I've just fired that off now and will watch it01:22
axwveebers: thanks01:36
thumperwallyworld: back01:39
thumperI didn't show QA, but did do it01:39
wallyworldok01:39
thumpermenn0 reviewed it when it was just removal01:39
wallyworldyou need to add it to PR :-)01:39
wallyworldthat's another thing about RB - it has a QA section01:40
wallyworldgh doesn't01:40
thumperdid just01:40
veebersaxw: that went through that time01:46
axwveebers: thanks for your help01:46
veebersnw01:49
thumperwallyworld: how do I add credentials?01:50
thumperis there a command for it?01:50
* thumper needs coffee01:50
wallyworldjuju add-credential01:50
wallyworldjuju autoload-credentials01:50
thumperah... I had a trailing s01:51
wallyworldthere's 2 commands :-)01:51
menn0wallyworld: I can have a quick HO to discuss tools selection01:53
menn0?01:53
menn0can I01:53
menn0brain not functioning01:53
wallyworldmenn0: sure, give me a couple of minutes01:53
menn0actually, I might be a while01:53
wallyworldaxw: here's that credentials change https://github.com/juju/names/pull/7302:00
wallyworldmenn0: ping when you are ready02:00
thumperwallyworld: how do we set model config now?02:07
thumperset-model-config has gone02:08
thumperjuju config doesn't look like it does it02:08
* wallyworld considers pointing thumper to the relse notes02:08
wallyworldjuju model-config foo=bar02:08
wallyworldfoo=bar02:08
thumperhow about adding model-config to see also of config?02:08
wallyworldcan do02:09
thumperoh ffs02:10
thumperwhy is my tab completion broken?02:10
thumperwho knows bash bollocks?02:10
thumperjuju control_juju_complete_2_0: command not found02:10
thumperwho wants good news?02:13
thumperha in gce seems fine02:13
rick_h_thumper: when you kill the master02:17
rick_h_.,?02:17
rick_h_?02:17
rick_h_wheb i tried it today it didn't work02:17
thumperrick_h_: see the bug, added output02:19
thumperit all works02:19
thumperhang on...02:20
thumperwhen you say "kill the master" what do you mean?02:20
thumperI ssh'ed to the machine and stopped the agent02:20
axwwallyworld: reviewed on gh. I'm a little concerned that as we go along, we'll want to grow the allowed characters. I'd rather nip it in the bud and use URL query encoding02:23
thumperaxw: agreed02:23
wallyworldbah gh :-(02:23
wallyworldok, can change encoding02:24
wallyworldso where's the Fixed button once an issue is fixed on gh?02:26
thumperrick_h_: it is possible that you hit the edge case of attempting to connect to the agent while it was busy thinking about who the leader is02:30
thumperit seems that mongo either decides very quickly, or in two minutes02:30
menn0wallyworld: ok, are you around?02:36
wallyworldyep02:36
menn0wallyworld: stand up hangout?02:36
wallyworldstandup works02:36
thumper# github.com/juju/juju/state/backups02:40
thumperstate/backups/restore_test.go:123: not enough arguments in call to setAgentAddressScript02:40
thumperwallyworld: ^^^02:40
thumperthat is from the ci failure02:40
wallyworldthumper: that's perrito666's work02:41
wallyworldi can let him know02:41
thumperhow did it get in?02:41
wallyworldnfi i didn't review it02:43
thumperI mean land at all...02:43
thumperis it os specific?02:43
wallyworldmight be os specific02:45
wallyworldis this a windows test failure?02:45
axwnatefinch: don't suppose you're awake and around?02:49
veeberswallyworld: when I use an older beta (either 11 or 14 in this case) I see this message and a panic, any idea what's going wrong? http://pastebin.ubuntu.com/23180523/02:54
thumperwallyworld: no. it isn't02:55
wallyworldveebers: haven't seen that message, are you running a snap?02:56
veeberswallyworld: no, this is a juju binary from a deb that I pulled from a pervious run02:56
wallyworldthumper: in that case not sure sorry, i am not across the latest restore code that was just done02:56
wallyworldveebers: what are you doing? bootstrap?02:58
menn0wallyworld: huzzah! I just hacked in the relaxing of the OS comparison and I now have a fedora client bootstrapping a xenial controller on AWS03:07
wallyworldawesome03:07
natefinchaxw: here now03:08
axwnatefinch: just wondering if you have a personal Azure account?03:08
natefinchaxw: yeah03:08
axwnatefinch: ok. I don't need anything yet, but will need someone to test out some changes I'm making. I'll poke you when it's ready - probably not till tomorrow03:09
natefinchaxw: cool03:09
axwnatefinch: if you're actually working, I'd appreciate a review on this: https://github.com/juju/juju/pull/624903:15
natefinchaxw: heh ok03:17
veeberswallyworld: sorry was distracted by the merge bot stuff; No this is after bootstrap, but I'm doing a couple of odd things as I'm installing stuff on the controller to collect system stats. I'll try get some proper information shortly03:29
wallyworldveebers: but this is all from beta15 or whatever right, you are not mixing betas?03:30
wallyworldyou know that betas are not compatibile with each other03:30
veeberswallyworld: no, this is all fresh bootstrap et. al from the same binary (and juju version)03:31
axwwallyworld: you know you haven't pushed your change?03:31
wallyworldlet me check03:32
wallyworlddamn for got -f03:32
wallyworldveebers: i haven't seen that message, but a quick grep of the code suggestions something with migrations, but not sure03:33
veeberswallyworld: ok, I'll have another go at it, possible that I'm doing something screwy (although that would be surprising)03:34
wallyworldveebers: probs not your fault, i just haven't seen that message before03:35
wallyworldyou do need to ensure it's a clean slate though03:35
natefinchaxw: are we trying out github reviews?03:47
axwnatefinch: I've been using it03:48
axwnatefinch: and I'm happy for you to review my code using it03:48
menn0wallyworld or thumper: https://github.com/juju/utils/pull/23703:53
* thumper looks03:53
wallyworldaxw_: looks like we have a revoked attribute on cloud.Credential but it's not saved anywhere yet03:59
thumpermenn0: review done04:00
natefinchaxw_: reviewed04:00
axw_wallyworld: yep - didn't you add that? :)04:00
axw_natefinch: thanks04:00
natefinchaxw_: oh, I suppose I should run the QA tests04:00
wallyworldaxw_: can't recall now. but i'll add it to the mongo doc04:01
axw_natefinch: if you like. I did run them myself04:01
menn0thumper: I replied to your comment04:02
menn0ok to merge?04:02
menn0ah I see you've already approved04:02
thumperyep04:02
natefinchaxw_: this seems straight forward enough.  I'd rather not right now, given how slow azure is and how late it is for me.04:02
axw_natefinch: yep, I think it's fine - thanks04:03
menn0thumper: do you know if the bot merges for juju/utils or is it manual?04:03
* thumper looks04:04
thumperbot04:04
thumpermenn0: look for the github-merge-juju-* jobs http://juju-ci.vapour.ws:8080/view/Juju%20Ecosystem/04:05
menn0thumper: of course.04:05
menn0it just took a while so I was beginning to wondering04:05
menn0wonder04:05
wallyworldaxw_: if you get time later, here's a small pr that adds a watcher for a specific credential tag to state http://reviews.vapour.ws/r/5690/04:18
anastasiamacaxw_: wallyworld:veebers: i think i know why my PR failed some tests - not on images side (have it too engrained that simplestreams is images and gui) but on tools04:18
natefinchmenn0: btw, figured out why hardwarecharacteristics has json tags, at least : the API04:18
anastasiamacwhen stream is pulled for tools metadata, I *think* sometimes it causes confusion.. investigating04:19
menn0natefinch: a bit ick that a struct that lives there is used directly for the API04:19
menn0natefinch: the yaml tags aren't used though?04:19
natefinchmenn0: not that I can tell.  I didn't look too deeply into that part, once I realized at least one of the tags was used.  We notably do not use that to serialize the values to yaml, since we just serialize the whole struct as that one line string.04:20
menn0yep04:21
anastasiamacaxw_: wallyworld: actually, no cannot be as tool sections ignores resolve info anyway...04:22
wallyworldaxw_: thank you, doing the facade bits after lunch04:37
axw_wallyworld: np04:37
natefinchmenn0, wallyworld: I updated http://reviews.vapour.ws/r/5656/   ... I eneded up doing a wholesale find and replace for cpu-cores, since some tests were using the wrong one to check the output, and it was easier to just change everything than try to only fix the exact right ones that were failing.04:37
menn0natefinch: i'm about to do a kid pickup but I can look afterwards04:38
natefinchmenn0: I'm going to bed, no rush :)04:38
wallyworldnatefinch: haven't looked yet, but using "core" everywhere sounds good to me.04:39
wallyworldwe just handle the cpu-ocres when doing the deprecation04:39
natefinchyep04:40
veeberswallyworld: oh, so it seems that panic is releated to trying to deploy a bundle, in this case: cs:~landscape/bundle/landscape-scalable05:13
wallyworldthat makes more sense05:13
wallyworldit seems like it's trying to get a snap or something from the edge channel05:13
wallyworldor a charm05:14
veeberswallyworld: any idea if there is a fix or a work around? :-\ If it's due to a newer bundle/charm can I force a previous version?05:14
veeberswallyworld: ah that makes sense05:14
wallyworlddon'tknow off hand, i'd have to look inside the bundle to see what the issu eis05:14
veebersInteresting. I imagine there is something in place or that there is a branch for 1.25 as I was able to deploy it with 1.25 (although that uses quickstart and a slightly different uri scheme, assuming I've got that right)05:15
veeberswallyworld: who would be a good person to query re: my charm/panic question? I would love to run it with a previous beta, but don't want to eat your your limited time05:45
wallyworldveebers: um, not sure, any juju dev really. you'd need to start by looking inside the bundle. i'd love to help but i have so much to do before tomorrow when i leave05:46
veeberswallyworld: ack, understood :-)05:46
veebersaxw, anastasiamac_ would you have a moment to help me with this charm? I'm wanting to deploy it with an older juju (i.e. beta14 and beta11) to get some performance details, but it causes a panic06:13
=== frankban|afk is now known as frankban
veebersanastasiamac_: this is a pastebin of what I see when I try deploy using beta11 or beta14: https://pastebin.canonical.com/165624/06:33
veeberslike wallyworld mentioned, it looks like something snap related06:34
anastasiamac_yeah and it's coming from  charmrepo.v2-unstable.. i woner who knows much about charmrepo06:35
anastasiamac_axw_: : wallyworld: urulama ^^06:35
anastasiamac_wonder*06:35
veebersanastasiamac_: fyi for beta14 the commit for charmrepo in dependancies.trv is 6e6733987fb03100f30e494cc1134351fe4a593b06:36
urulamaold clients can't deal with charms in channels other than stable06:36
anastasiamac_veebers: ans since master tip is 73c1113f7ddee0306f4b3c19773d35a3f153c04a something might have changed...06:36
anastasiamac_urulama: \o/06:37
anastasiamac_veebers: any particualr reason why u r interested in beta 11/14?06:37
urulamathe way core was written, if they see anything other then development (deprecated) or stable, they'll panic06:37
veebersah ok. urulama is there a 'stable' version of cs:~landscape/bundle/landscape-scalable>06:37
urulamaveebers: you need beta 16+06:37
veebersanastasiamac_: I'm wanting to compare data of runs (performance comparison)06:37
anastasiamac_veebers: my hero \o/ thank you :D06:37
urulamaveebers: there is, the thing is ... if it's in two channels (one of them edge), client will panic06:37
veebersurulama: ah right, which is what I'm seeing here06:38
urulamabreaking changes all the way for betas :)06:38
veebersurulama: thanks for clarifying that :-)06:38
urulamaveebers: np06:38
veebersurulama: I take it there is no way to deploy that bundle with an older beta?06:38
urulamaveebers: sorry for the great experience :)06:38
veebersurulama: heh06:39
urulamaveebers: directly from store, no. dl it to disk and deploy as local06:39
veebersurulama: oh interesting. So I can just grab the .zip from the store and use that?06:40
urulamaveebers: in case of bundles, you can use bundle.yaml only ... however, i suspect landscape charms will be both channels as well and will rewquire same local download, therefore changes to bundle.yaml06:41
urulamaveebers: but yes, you can always grab the zip and do local deploys06:42
veebersurulama: ah right, you're suggesting that I need to download the charms locally as well and update the bundle.yaml file to reflect that?06:43
urulamaveebers: yeah06:43
urulamaveebers: if possible, upgrading to beta18 could be faster :D06:43
veebersurulama: cool, thanks :-)06:43
veebersurulama: hah, I want to get data from previous versions to compare a couple of things06:43
huwshimiwallyworld, axw_: Are either of you around and available for some fun debugging?07:12
wallyworldhuwshimi: depends :-)07:12
huwshimihaha07:13
urulamawallyworld: you know you love our bug reports :)07:13
huwshimiwallyworld: one sec while I write out the issue :)07:14
* wallyworld can't wait07:14
urulamahttp://www.reactiongifs.com/r/2013/07/happy-dance-.gif07:15
perrito666Nothing beats waking up after only 4hs sleep to discover your commit broke CI07:38
wallyworldperrito666: not your fault, bot was broken07:39
wallyworldaxw_: ping07:43
axw_wallyworld: pong07:44
wallyworldaxw_: how busy are you?07:44
wallyworldi have a bug07:44
wallyworldbug 162380807:44
mupBug #1623808: CreateModel can't find existing creds <juju:Triaged> <https://launchpad.net/bugs/1623808>07:44
axw_wallyworld: fairly...07:44
wallyworldok,07:44
* axw_ looks07:44
wallyworldi see if i can get to it07:44
wallyworldaxw_: recall in my PR today i messed with the code to look up a credential; i ran into this same issue07:45
axw_hrm, ok07:45
wallyworldi'll see if i can get to it later tonight07:45
axw_wallyworld: possibly somewhere along the line we're not using the canonical user name07:45
axw_e.g. being persisted without the @local07:45
wallyworldyeha, that what it seems like07:45
wallyworldi'll have dinner, propose ny current pr, and come back to look07:46
huwshimiwallyworld, axw_: sorry07:46
wallyworldhuwshimi: what for? finding a bug in our code?07:47
wallyworldbeyyer to find it now07:47
huwshimiwallyworld: And making you work late07:47
wallyworldit's our own fault07:47
wallyworldif the bug weren't there, nothing to fix07:47
huwshimiwallyworld: And then what would you do with your evening?!07:47
wallyworlddrink!07:47
wallyworldand shit, i have got to fill in the census tonight, been threatened with a fine :-(07:48
huwshimiwallyworld: Exciting times07:48
urulamawallyworld: you should behave in public, don't yell at people or scare they away ... not all of them are programmers!07:48
wallyworldindeed. i need to make up some fake details for them07:48
wallyworldurulama: who did i yell at?07:49
urulamawallyworld: just read you've been threatened with a fine :)07:49
wallyworldurulama: by the government for not filling in the census07:50
urulamaheh, why so serious? ;)07:50
wallyworldi don't want to give them my data07:50
wallyworldstress :-)07:50
mupBug #1623811 opened: locally updated credentials not uploaded to controller <juju-core:New> <https://launchpad.net/bugs/1623811>07:54
mupBug #1623814 opened: Multiple local providers all write to the same all-machines.log <juju-core:New> <https://launchpad.net/bugs/1623814>07:54
mupBug #1623811 changed: locally updated credentials not uploaded to controller <juju-core:New> <https://launchpad.net/bugs/1623811>08:06
mupBug #1623811 opened: locally updated credentials not uploaded to controller <juju:Triaged> <https://launchpad.net/bugs/1623811>08:15
mupBug #1623811 changed: locally updated credentials not uploaded to controller <juju-core:New> <https://launchpad.net/bugs/1623811>08:21
babbageclunkwallyworld: looking at bug 1584193 - just want to confirm the final state08:45
mupBug #1584193: juju deploy <bundle> is in a different form than jujucharms.com <2.0> <landscape> <usability> <juju:Triaged by alexis-bruemmer> <https://launchpad.net/bugs/1584193>08:45
mupBug #1623814 changed: Multiple local providers all write to the same all-machines.log <juju:Triaged> <juju-core:Invalid> <juju-core 1.25:Won't Fix> <https://launchpad.net/bugs/1623814>09:06
babbageclunkurulama: ping?09:34
urulamababbageclunk: you rang?09:34
babbageclunkurulama: Hi - I'm working on bug 1584193 - just want to confirm the final state09:34
mupBug #1584193: juju deploy <bundle> is in a different form than jujucharms.com <2.0> <landscape> <usability> <juju:Triaged by 2-xtian> <https://launchpad.net/bugs/1584193>09:35
urulamababbageclunk: still using cs:~ format only09:35
babbageclunkurulama: That's the current required bundle url format?09:36
urulamababbageclunk: that's about URL format, not bundle format (as in content of .json)09:37
urulamasorry .yaml :D09:37
babbageclunkurulama: And we want to accept :user/:name/:series/:revision  (no cs:), where everything except name is optional?09:37
urulamababbageclunk: we'd like to accept /u/:user/:name/:series/:revisions but don't currently09:38
babbageclunkurulama: I guess what I'm asking is should juju be super-tolerant for all of the historical formats as well as the new ones?09:39
urulamababbageclunk: yeah, if you break cs:~ format, all the bundles are broken09:40
urulamababbageclunk: we wouldn't want to do that :)09:40
babbageclunkurulama: so we want to add the new format for the URL (with and without /u/), as well as all of the others that are currently handled?09:42
babbageclunk(I mean, as well as keep all of the others...)09:42
urulamababbageclunk: looking at comment #3 from Rick, looks like it, yes09:43
babbageclunkurulama: Ok, thanks - I think I get it now. I'm going to start adding test cases.09:44
urulamababbageclunk: i'd double check, but i don't think /u/ is needed in charms09:44
urulamababbageclunk: plan to do it for RC?09:44
babbageclunkurulama: Yeah, dropping /u/ is how I'd interpreted your comment (#5)09:45
babbageclunkurulama: Hopefully (as long as no surprises today).09:45
urulamababbageclunk: means you need a list of series to verify if second or third parameter in URL is a revision :-/09:47
urulamaas in user/mysql/xenial/1 or mysql/xenial/1  vs user/mysql09:47
babbageclunkurulama: Isn't revision always a number while series never is?09:48
babbageclunkurulama: Oh, you mean user/name vs name/series?09:48
urulamababbageclunk: sorry, s/revision/series09:48
urulamababbageclunk: yeah09:48
babbageclunkurulama: do we have a list like that anywhere else?09:49
urulamababbageclunk: i think it's in charmrepo09:49
babbageclunkurulama: cool, thanks09:50
urulamababbageclunk: it's not in charmrepo09:56
urulamababbageclunk: we have it in charm store code, but not sure where it is on juju client side09:56
babbageclunkurulama: No, I hadn't been able to spot it there. Hmm.09:56
urulamababbageclunk: what you need is something like this https://github.com/juju/charmstore/blob/v5-unstable/internal/series/series.go#L37 but probably best to put in https://github.com/juju/charm/tree/v6-unstable10:01
urulamaand then we start using it as single source of truth for core and charm store10:01
babbageclunkurulama: sounds good10:01
wallyworldbabbageclunk: sorry, missed ping10:20
wallyworldaxw_: if you get a chance later, here's a fix for that crederntials issue. i'd like a second opinion on the approach. i've validated that it solves the issue i found before when adding the new watcher code (even though i've retained the altered apporach from the watcher pr). i can't test if it fixes the gui issue but it should given the mode of failure i saw with my test code from previously http://reviews.vapour.ws/r/5692/10:22
wallyworldaxw_: from what i can see, the root of the issue is that if you have a credential tag made from a user name "fred", and the CloudCredentials call makes a map keyed on tag made from "fred@local", then the map look up can fail even though for both tags, tag.Canonical() is the same10:27
babbageclunkwallyworld: no worries, urulama's been giving me some background10:30
wallyworldrightio10:30
wallyworldhe can give better info than me on that topic10:31
wallyworldi'd have to go look up a bunch of stuff10:31
babbageclunkurulama, wallyworld - how does the development channel fit into url format?10:43
wallyworldbabbageclunk: i don't think it does from memory; i think it's a separate search param, but not 100%10:44
babbageclunkwallyworld: the reason I ask is that there are some examples in the tests in https://github.com/juju/charm/blob/v6-unstable/url_test.go#L30210:48
wallyworldbabbageclunk: yeah, you'll need to ask urulama; i've not been involved in that side of it10:50
babbageclunkurulama: the tests for charm.v6-unstable/url.go include an "exact" url - I guess this is something that gets echoed back to the user at some point? Presumably we want those to be canonicalised into the new format, to fit with docs/examples?11:04
frobwarerick_h_: you about?12:30
mgzit might be a little early for him still, given the flight back12:33
frobwaremgz: he just approved my travel req12:35
mgzin which case he is nuts :)12:35
frobwaresince I started asking DNS questions on the Azure slack channel.... and now there's a multi-region DNS outgage... :)12:49
frobwarehttps://azure.microsoft.com/en-gb/status/12:50
frobwarewho needs names anyway? We're just cells in a spreadsheet. :-D12:51
=== DaveJ__ is now known as DaveJ
wallyworldaxw_: responded to comment, hope it makes sense what i'm trying to say13:19
wallyworldaxw_: we would have to make it so that fred@local did not store domain="local", and reserve domain attribute for non-local; that's what you're saying right?13:27
axw_wallyworld: yes13:28
wallyworld+1 to that13:28
wallyworldif i land this now, it won't break the api, and we can do the bigger change soon13:28
axw_wallyworld: np13:28
wallyworldbut what is stored in the db will need to be handled13:28
wallyworldi guess it won't be too hard to throw away @local13:29
axw_wallyworld: not sure. we may have to accept @local and drop the domain13:29
wallyworldright13:29
axw_would be better to reject it if possible13:29
wallyworldwe have a few days till rc, i can land this to unblock gui13:29
wallyworldand easy then to follow up before tuesday13:30
wallyworldhmm, i wonder how big the change would be13:30
wallyworldmight be nice not to have to mess with the map key types13:30
wallyworldprobably a can or worms13:31
wallyworldaxw_: the other thing i did which needs a second optinion is to add the credential watcher to apiserver/provisioner and apiserver/storageprovisioner as those are the bits i think will need it; adding it now gets the apis in place for later13:32
wallyworldwe can hook up tomorrow about it13:33
=== benji__ is now known as benji
axw_wallyworld: I LGTM'd your branch, but just thinking... I don't think storageprovisioner needs it13:46
axw_or provisioner actually?13:46
axw_wallyworld: I think only the environ tracker wants to watch it, and restart when it changes13:46
wallyworldaxw_: yeah, wasn't sure, until we dig in and implement something.13:46
wallyworldthe provisioners would need it if they were responsible for passing creds to the environ13:47
wallyworlddepends on how we want to model it. i don't have to land the work13:47
babbageclunknatefinch: Review this tiny test fix for juju/charm? Knock-on from a change you made to juju/version. https://github.com/juju/charm/pull/21913:48
axw_wallyworld: the environ-tracker is solely responsible for maintaining the Environ13:48
natefinchbabbageclunk: looking13:48
babbageclunknatefinch: thx13:48
axw_wallyworld: the provisioners depend on the environ-tracker to get the Environ13:48
axw_let's deal with it tomorrow13:48
wallyworldyep, sgtm13:49
wallyworldchanging @local handling will be messy13:49
natefinchbabbageclunk: isn't "beta18" the tag?  or is "beta" the tag and 18 the patch?13:49
urulamawallyworld: aren't you happy we filed that bug today? :)13:49
wallyworldurulama: oh, i'm positively estatic13:50
urulama:D13:50
babbageclunknatefinch: not sure - at the moment it'll be parsed as tag:beta, patch:18.13:50
wallyworldurulama: there's a quickie fix landing13:50
wallyworldshould work but we can't reproduce as the cli passes what's expecyed13:50
natefinchbabbageclunk: yeah, that's right, according to the tests on juju/version13:51
wallyworldbut you guys can tell us if it fixes it13:51
urulamawallyworld: ok, thanks. will reply on that bug if it's fixed13:51
wallyworldnot yet13:51
wallyworldneed to see the landing happen13:51
urulamawallyworld: just out of curiosity, internal handling of @local is going to be for 2.1?13:51
babbageclunknatefinch: maybe I should add another case to that charm test to make that a bit more explicit.13:51
wallyworldurulama: i would like for 2.0 if possible, but we'll need to look at it. it should be transparent to outside13:52
urulamakk13:52
natefinchbabbageclunk: nah, I think it's ok as is13:53
babbageclunknatefinch: cool13:53
natefinchbabbageclunk: it's just our string output of versions is confusing, since we munge together the tag and the patch13:53
natefinchbabbageclunk: man, I love being able to review right on github.13:54
babbageclunknatefinch: :)13:55
rick_h_frobware: sorry, did that while getting ready to crash14:19
frobwarerick_h_: no harm done :)14:20
rick_h_frobware: around for a few for the cross team call14:20
frobwarerick_h_: was going to book travel but need to know whether I'm going to the cloud sprint too14:21
rick_h_frobware: yes if you're ok with it14:21
rick_h_frobware: I got you added to the list14:21
frobwarerick_h_: is there an invite; do I need to use 2 evt codes?14:21
natefinchgo build is very effective in its use of every single core on my laptop14:42
mupBug #1587644 opened: jujud and mongo cpu/ram usage spike <canonical-bootstack> <canonical-is> <eda> <performance> <juju:Fix Released> <juju-core:Triaged> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1587644>14:48
babbageclunkhatch: ping?15:29
hatchbabbageclunk: morning15:29
natefinchniemeyer: had some weird timeout from CI trying to get gopkg.in repos... not sure if this was just a network glitch or what, but figured it might be worth looking to make sure things are running smoothly: http://pastebin.ubuntu.com/23182542/15:29
natefinchniemeyer: worked fine when I retried, btw15:30
dimiternfrobware: ping15:30
frobwaredimitern: pong15:31
babbageclunkhatch: Hi! I'm working on bug 158419315:31
mupBug #1584193: juju deploy <bundle> is in a different form than jujucharms.com <2.0> <landscape> <usability> <juju:Triaged by 2-xtian> <https://launchpad.net/bugs/1584193>15:31
dimiternfrobware: let's sync?15:32
frobwaredimitern: give me 10-15. ok?15:33
babbageclunkhatch: Just wanted to make sure that what I'm proposing (comment at the bottom) sounds right.15:33
dimiternfrobware: sure, np15:33
hatchbabbageclunk: alright let me take a look15:33
babbageclunkhatch: Also, I'm not totally sure how to handle the development channel - should that just be another component of the URL? The existing tests include it.15:33
babbageclunkhatch: Thanks!15:33
dimiternfrobware: I have the provider/maas PR ready, just need to test it some more15:33
frobwaredimitern: ok now15:36
dimiternfrobware: omw to standup HO15:36
redirmorning15:36
hatchbabbageclunk: I think you're on the right track, gimme aminute to bounce this off others15:37
frobwaredimitern: in there now15:37
hatchbabbageclunk: so it looks good, but channels should _not_ be in the url15:48
babbageclunkhatch: Ok. At the moment the tests include them https://github.com/juju/charm/blob/v6-unstable/url_test.go#L30215:50
urulamaand the channels are: edge, beta, candidate, stable15:50
babbageclunkurulama: Ok, I'm just looking back at the code for the deploy command to understand how it handles channel.15:51
urulamababbageclunk: best person to ask is frankban15:53
babbageclunkurulama: Does that mean charm.URL should lose .Channel? It seems like it's included in the charmstore.CharmID instead.15:54
babbageclunkI'll talk to frankban about it.15:54
frankbanbabbageclunk: we should remove the channel part of charm.URL, and the corresponding tests15:55
frankbanbabbageclunk: that code is obsolete15:55
babbageclunkfrankban: ok great - thanks!15:55
frankbannp15:55
frankbanbabbageclunk: and sorry as that's a leftover from us15:56
babbageclunkshrugs. :)15:56
babbageclunkCode rots, I guess - easy to delete!15:56
babbageclunkurulama, frankban: Hmm - is this the kind of change that means we should bump the version of juju/charm?16:03
frankbanbabbageclunk: in theory yes, but I don't think there is code relying on that URL field, and btw that's -unstable16:04
babbageclunkfrankban: Ah, of course! Cool cool.16:04
niemeyernatefinch: The timeout is generally an ancient version of git in use, typical in some CIs.. (fix was committed upstream ~6 years ago)16:27
babbageclunkfrankban, could you review this? Removing channel from charm.URL. https://github.com/juju/charm/pull/22016:47
babbageclunkfrankban: There were a couple of (trivial) uses in charmstore, I'm doing a PR for that too.16:48
babbageclunkOops, didn't realise what time it was for him. hatch, would you mind reviewing https://github.com/juju/charm/pull/220?16:52
natefinchniemeyer: ahh, interesting.  sinzui, mgz, see niemeyer's response to my query about this timeout from CI: http://pastebin.ubuntu.com/23182542/16:53
hatchbabbageclunk: I'm not really the right person to review a juju core branch :D16:54
hatchbut I can certainly take a look16:54
babbageclunkhatch: Sorry! I can get frankban to look at it tomorrow instead if you'd prefer.16:55
hatchsure, it's just that my review won't be a voting one :)16:55
babbageclunkhatch: :)16:56
mgznatefinch: not sure that's right, you're looking at a gating merge job?16:58
natefinchmgz: yep16:58
mgznatefinch: that's on a xenial box, so the git version is pretty current16:58
mgz$ git version16:58
mgzgit version 2.7.416:58
mgzmore likely to be random network blips16:58
natefinchmgz: http://juju-ci.vapour.ws:8080/job/github-merge-juju/9243/console16:59
natefinchmgz: you mean the network isn't reliable?16:59
sinzuimgz: natefinch: yes, we have seen network issues with gopkg and github in the past17:00
sinzuinatefinch:  http://juju-ci.vapour.ws:8080/job/github-merge-juju/9244/console shows we got the packges17:00
natefinchsinzui: yep, I mentioned it worked when I retried.  I hadn't seen that particular error before, so I figured it might be worth a look just in case.  .17:03
frankbanballoons: done, thanks a lot18:01
alexisbfrankban, I think you mean babbageclunk who seems ot be out fo rthe day :)18:03
alexisbthanks for the review18:04
frankbanalexlist: ah, right, damn you autocomplete!18:29
frankbanoh... again18:29
frankbanalexlist: nm18:29
=== frankban is now known as frankban|afk
* redir goes for lunch and to run a couple quick errands bbiab18:42
natefinchsinzui, mgz: my branch won't trigger the bot: https://github.com/juju/juju/pull/622119:32
sinzuinatefinch: once the bot accepts, you cannot ask it to try again. you need to forge a fail reply or just rerun the jenkins build. I don't see your job was canceled though,19:35
sinzuinatefinch: oh, it was this build, the one where we couldn't get a build. that broken the chain19:36
sinzuihttp://juju-ci.vapour.ws:8080/job/github-merge-juju/9247/console19:36
* sinzui manually retries the build19:36
natefinchsinzui: dangit, I forgot to save one of the files I edited... that build's going to fail19:45
sinzuinatefinch: okay. I can requeue when you shout that the branch has the right files19:45
natefinchsinzui: just did, it's fixed.  Sorry about that,.19:48
sinzuinatefinch: np19:49
sinzuinatefinch: the job is playing http://juju-ci.vapour.ws:8080/job/github-merge-juju/9251/console19:49
natefinchsinzui: thanks19:49
redirback20:07
natefinchsuper easy review anyone? https://github.com/juju/juju/pull/625920:23
redirnatefinch: looking20:47
alexisbthumper, our HO just don't like each other20:59
thumperheh20:59
thumperyeah20:59
alexisbthanks for the input20:59
alexisbredir, did you encounter this bug when doing the config naming collapse work?: https://bugs.launchpad.net/juju/+bug/153213021:23
mupBug #1532130: Config item 'version' vanishes under 2.0 <2.0-count> <regression> <juju:Triaged> <https://launchpad.net/bugs/1532130>21:23
rediralexisb: looking21:24
rediralexisb: I did not see that bug but also wasn't using postgres, nor specifically trying any charms with a version attribute.21:27
rediralexisb: want me to try postgres when I fixup app config to use --reset as a stringvar?21:27
alexisbredir, yes please21:28
rediralexisb: added card with bug attached to current iteration21:31
alexisbthumper, can you join the release call today please21:32
thumpercoming21:32
=== mup_ is now known as mup
alexisbsorry anastasiamac_, thumper lost my browser22:00
alexisbanything happen at teh end of the release call that I need to know about?22:01
thumperjust bashing aussies22:02
alexisb:)22:04
alexisbanastasiamac_, would you have time after standup to go over your test plan and actions for the sprint22:04
wallyworldnatefinch: gofmt is sad:22:07
wallyworld  core/description/machine.go22:07
wallyworldi wonder how that got though the bot?22:07
anastasiamac_alexisb: before/after/anytime \o/22:10
alexisbI have meetings before22:10
anastasiamac_alexisb: enjoy :)22:10
alexisbso it will have to be after, but I love your spreadsheet22:10
anastasiamac_\o/22:10
redir\/o\22:23
menn0wallyworld and thumper: https://github.com/juju/juju/pull/626122:29
wallyworldlooking in a bit22:30
menn0wallyworld: I couldn't see any unit test for bootstrapping with local tools so I added them, but I might have missed them somehow22:30
wallyworldyeah, they are there somewhere22:31
wallyworldmaybe spread across cmd/juju/boothstrap and environs/bootstrap22:31
wallyworldcan't recall exactly22:31
axw_anastasiamac_: what prompted the latest revert? can you please point me at the offending stream data that broke it?22:42
anastasiamac_axw_: centos iagemetadta was malformed- we used "." instead of ":" to separate tokens in content_id22:43
axw_anastasiamac_: ah, doh22:43
anastasiamac_axw_: rackspace was using modtly simplestreams data that we generate and our index file and product file do not agree on stream - index says "released", product says "custom"22:43
axw_:/22:44
anastasiamac_axw_: in cannonistack, it's even better where image stream used is "ubuntu"22:44
axw_heh22:44
anastasiamac_axw_: since these files can be hand-crafted there is no guarantee that the 2 sources of stream value are consistent22:44
anastasiamac_axw_: the *right* thing to do, before parsing simplestreams files is to validate them22:45
axw_anastasiamac_: indeed. we should be less lenient about crap data, otherwise it'll stay that way22:45
anastasiamac_axw_: I think we should also wrk closer with Scott Morser once we get to clean up simplestreams implementation to ensure that we cater for windows special-casing ":"22:45
anastasiamac_axw_: \o/ yes so m pushing simplestream review/re-implement to wishlist :)22:46
axw_anastasiamac_: ok, thank you22:46
anastasiamac_axw_: what we currently have kind of works but we ned to have a better approach22:46
anastasiamac_axw_: \o/ thank you for asking - love to know that people care :D22:46
wallyworldmenn0: lgtm, was such a simple change in the end22:47
anastasiamac_axw_: i think tech board has to have a say before we tackle simplestreams and will do a write-up for it based on alexisbgreat suggestions :)22:47
axw_okey dokey22:47
axw_wallyworld: thanks for the review. I got interactive auth working last night. just need to hook it up to add-credential now23:09
wallyworldawesome23:09
axw_atm it only works when you add it to credentials.yaml, which is a crappy experience (have to do interactive auth each time you bootstrap)23:09
wallyworldprogress though23:10
* thumper sighs and dives further into the rabbit hole23:14
mupBug #1587644 changed: jujud and mongo cpu/ram usage spike <canonical-bootstack> <canonical-is> <eda> <performance> <juju:Fix Released> <juju-core:Won't Fix> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1587644>23:56
mupBug #1587644 opened: jujud and mongo cpu/ram usage spike <canonical-bootstack> <canonical-is> <eda> <performance> <juju:Fix Released> <juju-core:Won't Fix> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1587644>23:59

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