/srv/irclogs.ubuntu.com/2016/08/04/#juju-dev.txt

alexisbanastasiamac, ping00:37
alexisbif you are around we can hope on the release standup00:37
anastasiamacalexisb: tyvm! see u there00:38
veebersaxw: to clarify for myself, you want to get this landed for the coming release right? https://github.com/juju/juju/pull/587701:15
wallyworldveebers: technically, we are down to critical fixes only. if we get a good CI run, maybe this could land then and we could use it if CI passes, but have the fallback of a good run with all criticals fixed01:18
veeberswallyworld: right, I'm checking so I know the timeline expectations for getting this in. i.e. if I ping about it tomorrow mornings standup it'll probably be to late to be included in the release. But sounds like that's ok?01:21
wallyworldveebers: yeah, i think they want to start the release their thursday, so too late01:21
wallyworldwe have stuff queued up to land post beta01:21
veeberswallyworld: cool. I'll get it sorted today/tomorrow01:22
wallyworldsounds good, ty01:22
axwveebers wallyworld: yeah it doesn't have to go into this release, it's just been dragging on for a while now, and needs to get sorted01:23
axwveebers wallyworld: sooner we address the better, because it's a change for users to adapt to. we may need to iterate on syntax based on feedback01:24
wallyworldyep01:24
veebersack01:24
wallyworldaxw: we can do a snap :-)01:24
axwwallyworld: true :)01:25
wallyworldwell, as soon as I get a bit more sorted out01:25
veebersaxw: re: http://bazaar.launchpad.net/~axwalk/juju-ci-tools/cli-model-owner/revision/1523/utility.py can you give an example of what model_name being passed in would look like and what the expected return output would be. I'll branch that and get unit tests written and propose it etc.01:25
axwveebers: e.g., "admin@local/default"01:26
axwor just "admin/default"01:26
axwveebers: and thanks01:27
veebersnw01:27
axwanastasiamac: can http://reviews.vapour.ws/r/5341/ be closed?01:32
anastasiamacaxw: yes. let's :) I'll re-PR when ready :)01:33
axwthanks01:33
anastasiamacaxw: done01:33
wallyworldaxw: does the diff for "environs: update API for hosted models" include the work from the dependent PR. I think it does? So easiest to review once that other PR lands and it can be rebased?01:40
axwwallyworld: it does, but the RB diff should just show the delta01:40
wallyworldreally? even if proposed against master? ok01:41
axwwallyworld: yeah, you can do that with "rbt post -r <RB review ID> --parent <parent git branch>"01:41
perrito666mm, what was the way to tell mongo to ve Trace level verbose?01:41
perrito666s/mongo/juju01:42
wallyworldaxw: nice. where does RB review ID come from? that implies you propose via github PR, and the issue that post with the newly created id?01:43
axwwallyworld: yes that's I do. create the PR, the bot creates the RB review (ID is just the number in the URL), then you pass that to the tool01:43
wallyworldaxw: and the initial step is to branch off the upstream branch right? instead of branching off master01:44
anastasiamacaxw: i do not want to continue crossing swords on this review. Could u plz double-check outstanding issues so that we can progress its landing? http://reviews.vapour.ws/r/5360/01:45
perrito666is the all team meeting happening? I somehow presume that its the exact same group of people than the standup01:51
anastasiamacperrito666: m all for team meeting. there are some updates around bug and release mgmt that can b communicated better. there is criteria stuff that i'd love to talk about :)01:52
anastasiamacperrito666: and there is always nice dueling to witness01:52
anastasiamacperrito666: also would love to touch base re: review process01:52
anastasiamacperrito666: oc, i might b dreaming and noone will join me again.. in which case, I'll just tlak to myself ;)01:53
axwanastasiamac: I don't really think splitting that test is worthwhile. it's one of the cases where I think a table-driven test would be fine01:59
anastasiamacaxw: as an OCR, m happy to go with ur opinion01:59
anastasiamacaxw: thumper: menn0:perrito666: team meeting02:02
anastasiamacnatefinch: ^^02:02
axwwallyworld: I think we should stop showing bootstrap-config in "show-controller" by default (maybe not at all?)   what do you think?02:36
axwwallyworld: now that bootstrap config contains all the defaults, it's taking up a lot of screen space02:36
wallyworldaxw: yeah, not much point. what we *should* show is controller config02:37
axwwallyworld: hmm is that going to be dynamic? will we have commnads to update it?02:38
wallyworldaxw: so far, it is mongo port, api port which are static, plus numa setting, which i guess could be dynamic. and there is already a bespoke get-controller-config command. so yeah, just remove bootstrap config i reckon02:40
axwwallyworld: ah I thought you meant inherited config. okey dokey02:40
wallyworlds/remove/not show02:40
wallyworldaxw: there's a juju model-defaults to show inherited config02:40
axwwallyworld: think it's worth having a flag to show? I'm not sure it was even asked for, I think I just added it there02:41
wallyworldi wouldn't add to the complexity by even having a flag - just not show IMO. people don't really need to see it and it's only there for kill-controller and restore -b02:41
axwwallyworld: cool, SGMT02:41
axwSGTM*02:41
axwwallyworld: btw I've just bootstrapped AWS with region, access-key and secret-key removed from model config02:42
axwfinally got there02:42
wallyworld\o/ ^ 10002:42
wallyworldawesome sauce02:42
wallyworldthat deserves a beer or two02:43
axwwallyworld: should be able to drop region from restricted config and add a model in another region now too, I'll try that at the same time02:43
wallyworldwhohoo02:43
wallyworldassuming networking is set up so the model can talk to the controller02:44
wallyworldnot sure what's involved there02:44
wallyworldmay need to specify a vpc id?02:44
axwwallyworld: it works because it goes over the internet02:44
axwpublic IPs02:44
* axw tests02:44
wallyworldah right. we should look to fix it so it doesn't have to, or document how to at least02:45
axwwallyworld: why?02:45
axwwallyworld: traffic cost?02:46
wallyworldyep, plus efficency02:46
wallyworldmaybe port exposing / security groups would prevent it also if it is external traffic?02:46
axwwallyworld: I'd like to think that AWS knows how to route those addresses efficiently. don't know about the cost side02:46
wallyworldnot sure that AWS does that sort of short circuiting02:47
wallyworldcould be wrong02:47
axwwallyworld: anyway, I now have a controller in AWS with machines in two regions :)02:47
wallyworldawesome :-)02:47
* axw goes to make a cup of tea to celebrate02:47
wallyworldbut IMO we need clear guidelines on how to set up02:47
wallyworldadd some rum to the tea02:48
axwwallyworld: what do you mean? there's no setup. just bootstrap, then add-model --region=foo02:48
wallyworldnetworking02:48
wallyworldhow to avoid external traffic etc02:48
wallyworldwill be provider specific02:48
axwwallyworld: ok. yes, if/when we change that to not go over hte internet02:49
wallyworldmaybe we guide them to a suitable space set up etc02:49
veeberswallyworld: re: log forwarding, just adding a model wouldn't be enough to get that models logs forwarded to the controller right? It'll need to do some <action> for that to trigger a forward?03:33
veebers(this is in response to an email from you from a wee while ago)03:34
wallyworldveebers: i think log forwarding needs to be enabled on the controller model, and then yeah the hosted model needs to log somethong03:35
veeberswallyworld: I have the basic forwarding stuff (i.e. controller forwards it's logs). What action would generate a log from the model that would be forwarded?03:36
wallyworldveebers: just the act of adding the model - it will log worker startup etc03:37
veeberswallyworld: interesting. I'm not seeing that forwarded but I might be doing something wrong. I'll continue digging03:38
wallyworldyou see the controller model logs ok though?03:38
wallyworldjust not hosted model logs03:38
veeberswallyworld: correct03:39
wallyworldhmmm, it may be that it's only enabled for the controller, i'd need to check03:39
wallyworldgive me a few minutes03:39
veeberswallyworld: awesome, cheers03:39
thumpermenn0: http://reviews.vapour.ws/r/5369/03:46
wallyworldaxw: doing a rb post, what username/password did you use?03:55
wallyworldsince i normally sign into rb using github sso03:56
menn0wallyworld: you use oauth with rbt too03:57
menn0wallyworld: see the bottom of reviewboard.md in docs/contributing03:57
menn0docs/contributions03:58
wallyworldmenn0: ta03:58
menn0thumper: looking03:58
menn0thumper: review done04:09
thumpermenn0: ta04:09
menn0thumper: did you try reproducing using enable-ha?04:09
thumpermenn0: I did, wasn't able to reproduce04:09
thumpermenn0: btw, are you taking the piss?04:10
menn0thumper: I guess it's somewhat timing dependent04:10
thumper"errorCoder" ?04:10
menn0thumper: slightly :)04:10
menn0thumper: only because I knew it would annoy you :)04:10
* thumper slaps menn004:10
menn0thumper: you can drop it :)04:11
thumperI did :)04:11
thumpermenn0: can't really have the server tell the client to retry without parsing the error types...04:12
* thumper thinks04:12
thumperlet me look a bit more04:12
wallyworldveebers: the log forwarder will get it's logs to send what whatever we record in state for debug log04:27
wallyworldmenn0: does debug log include logs for hosted models?04:27
menn0wallyworld: yes, but only for the machines and units in the model04:28
wallyworldmenn0: so not controller actions like starting workers etc04:28
menn0wallyworld: any controller level activity (API requests and workers specific to the model in the controller) is still logged against the controller model04:28
menn0wallyworld: I have a plan to fix this.04:28
menn0wallyworld: thumper's recent work on loggo is part of that04:29
wallyworldmenn0: no worries, veebers was testing log forwarder and wanted to know what to expect04:29
menn0kk04:29
wallyworldfor hosted models04:29
wallyworldveebers: so you'll need to deploy something to see activity04:29
veeberswallyworld: ok makes sense. Thank you04:31
wallyworldnp, hope it tests ok04:31
veeberswallyworld: ah, I did try deploying something while poking around but maybe looks like it gets logged once the deloy is done? at any rate that helps, should be easy enough to test04:34
wallyworldok, let me know04:34
veeberswill do04:35
mupBug #1609643 opened: provider/...: make use of Environ.Create to create environ-wide resources like security groups <juju-core:Triaged> <https://launchpad.net/bugs/1609643>05:35
=== frankban|afk is now known as frankban
rogpeppefwereade_: you around?08:58
rogpeppefwereade_: just wondering if there's a good reason why the mock clock interface doesn't define the NewTimer method09:00
dimiternrick_h_: ping09:07
dimiternrick_h_: I was thinking to JFDI https://github.com/juju/juju/pull/5922, since there are only 2 blockers, both Fix Committed - any concerns?09:09
fwereade_rogpeppe, I think I did it that way to begin with but was unbothered by a PR that made things slightly cleaner by separating them, but memory is a little fuzzy09:17
rogpeppefwereade_: it's just awkward if you need to use it with something that actually wants to use Reset09:18
rogpeppefwereade_: for example, we're implementing an apiserver pinger and it would be nice to use the mock clock stuff09:19
rogpeppefwereade_: but it's awkward if you can't have Reset09:19
rogpeppefwereade_: i wondered if there was some "that's gonna be hard to do" reason for the omission or just that it was more convenient at the time.09:20
rogpeppefwereade_: one other thing: testing.Timer is exported, as is testing.Timer.Id. any particular reason for that?09:21
fwereade_rogpeppe, I'm pretty sure, thinking further, that the only reason we don't have NewTimer is because we didn't need it yet09:24
rogpeppefwereade_: ah, ok09:24
fwereade_rogpeppe, sorry, I was confused with the AfterFunc stuff, which was the reason Timer was added09:24
fwereade_rogpeppe, (for whatever reason I've never found Timer very helpful myself, but I have no real objections to it, please go ahead and add it if it would be useful to you)09:27
rogpeppefwereade_: ok, cool. it means that normal idiomatic timer code can be easily changed to use mock clocks.09:28
rogpeppefwereade_: i'm going to unexport testing.Timer too, if that sgty09:29
* dimitern decides to use JFDI09:30
babbageclunkdimitern: It's pretty early in the morning for rick_h_, I think.09:31
dimiternbabbageclunk: true, thought I wasn't sure if he's back home..09:32
dimiternbabbageclunk: btw which version of emacs are you on?09:32
babbageclunkdimitern: oh, good point.09:32
babbageclunkdimitern: 24.5.1 apparently09:32
dimiternbabbageclunk: from the archive or ppa?09:33
babbageclunkdimitern: archive.09:33
dimiternbabbageclunk: ok, thanks - I'm on 25.1.50.3 built from tip a while ago09:34
dimitern/me, inspired by ivoks-vim snap is snapping emacs ;)09:34
rogpeppefwereade_: BTW i think the AfterFunc implementation is subtly wrong - i don't think it would work correctly in this scenario: https://play.golang.org/p/X82i5TjzYD09:35
babbageclunkdimitern: nice.09:35
ejathttps://bugs.launchpad.net/ubuntu/+source/lxc/+bug/160970709:37
mupBug #1609707: lxc in Power8 System <lxc (Ubuntu):New> <https://launchpad.net/bugs/1609707>09:38
babbageclunkejat: Hi, did you mean to post that in juju-dev?09:39
ejatbabbageclunk: sorry mistakenly09:39
dimiternejat: https://linuxcontainers.org/lxd/getting-started-cli/ - have you tried enabling trusty-backports and installing from there?09:39
ejatthanks dimitern ... its help09:42
dimiternejat: if it worked, please comment on the bug ;)09:42
ejatyeah .. might be closing the bugs as well09:43
babbageclunkfwereade_, fwereade__, dimitern: can we do a hangout to talk about axw's comments on http://reviews.vapour.ws/r/5365/?09:43
dimiternbabbageclunk: sure, let me have a look first though..09:43
babbageclunkactually, axw, are you around too?09:43
* babbageclunk keeps forgetting Perth's in a very different timezone from NZ.09:44
fwereade__babbageclunk, they're all basically the same place, right? ;p09:44
dimiternbabbageclunk: are you now in NZ?09:44
fwereade__babbageclunk, (yes, ofc)09:44
fwereade__babbageclunk, where?09:45
ejatdimitern: in 14.04 lts cant use juju .. but if im trying to use all-in-one installer gets error09:45
ejats/juju/conjure09:46
dimiternejat: I'd suggest asking in #ubuntu-server for conjure-up, folks here are not that familiar with it; also have you checked http://conjure-up.io/ ?09:48
dimiternbabbageclunk, fwereade__: ok, I can do a HO now if it works for you as well09:50
babbageclunkdimitern: No, I'm still in the uk, but I kind of lump axw and other Aussies into the NZ timezone in my head.10:00
dimiternbabbageclunk: ah :)10:00
dimiternbabbageclunk: you have a review btw10:00
babbageclunkSorry, was afk - shall we meet in standup?10:00
dimiternbabbageclunk: let's do it10:00
anastasiamacbabbageclunk: omg! how could u?  Just kidding :) Brisbane (Ian and I) are 2 hrs behind NZ and Andrew is 2hrs behind us... and it's 7pm for axw :) but who really looks at time here? :D11:06
babbageclunkanastasiamac: I mean, I realise that thinking of a huge continent all being in the same timezone as a couple of islands three hours flight away is wrong, I just can't convince my brain of it. ;)11:09
anastasiamacbabbageclunk: yeah :) time zones are great \o/ for eg, russia has fun fluctuating between having 9 and 11 time zones https://en.wikipedia.org/wiki/Time_in_Russia11:16
rogpeppefwereade__: WIP (I want some tests) but this is my suggestion for updates to the Clock implementation: https://github.com/juju/testing/pull/10811:59
fwereade__rogpeppe, thanks11:59
rogpeppefwereade__: ah, just remembered that it needs to fire notifyAlarm on reset.12:00
fwereade__rogpeppe, very nice, but I can't help but think it needs tests12:08
fwereade__probably did from the beginning really12:08
* fwereade__ hangs head in shame12:08
rogpeppefwereade__: i totally agree12:08
rogpeppefwereade__: that's why i labelled it as WIP in the PR descr12:08
rogpeppefwereade__: just thought you might want to look initially12:09
rogpeppefwereade__: i think this fixes a few bugs too12:09
fwereade__rogpeppe, yeah, much appreciated12:09
fwereade__rogpeppe, indeed12:09
fwereade__rogpeppe, the urge to LGTM without looking further was strong12:09
rogpeppefwereade__: unfortunately we also need to change juju-core to use the testing.Clock rather than juju/testing.Clock too12:10
fwereade__rogpeppe, dammit12:11
rogpeppefwereade__: and juju/clock itself needs updating to change the interface12:11
* fwereade__ envies google's single-giant-repo more every day12:12
rick_h_dimitern: looks like you're all set12:36
dimiternrick_h_: yep12:37
dimiternrick_h_: it was a low risk change anyway I guess :)12:37
rick_h_dimitern: if you get a sec can you peek at https://askubuntu.com/questions/808011/how-to-specify-what-maas-interface-juju-should-use12:38
rick_h_dimitern: if you know of a way in 1.25 to do that?12:38
dimiternrick_h_: I've looked at it, and almost answered but got distracted12:38
rick_h_dimitern: ah cool ty12:38
fwereade__oh poo12:48
fwereade__babbageclunk, I have a migrations problem and could use an interlocutor, do you have a moment?12:49
=== redelmann is now known as rudi|wfh
=== rudi|wfh is now known as rudi_wfh
=== rudi_wfh is now known as rudi|wfh
mupBug #1609407 changed: remoteFunctionalSuite.TestUsingTCP no such network interface <blocker> <ci> <intermittent-failure> <regression> <unit-tests> <juju-core:Fix Released by wallyworld> <https://launchpad.net/bugs/1609407>12:51
* fwereade__ will soliloquize; anyone interested should chime in12:59
fwereade__I'm adding refcounts to charms; they're contributed by units and applications13:00
fwereade__we already have a very similar mechanism: *settings* refcounts, which are similarly contributed by apps and units13:00
fwereade__and the underlying mechanism will work just fine if we use the charm globalKey for those refcounts directly, rather than appname#charm13:02
fwereade__but (1) we migrate settingsrefcounts, which is suspicious, because it's an implementation detail entirely derived from other app and unit state13:03
fwereade__(heh,  (2) is not really important, assuming we check that unit charm urls match their apps', will check whether we do)13:05
fwereade__...ok, I cannot convince myself that it is definitely correct13:10
fwereade__so, (2), the settingsrefs migration has potential problems13:11
fwereade__and in combination I am reasonably sure that we should simply *not* be representing the refcounts directly in the serialized model, but should be reconstructing them on import13:12
mbruzekDo we have any documentation on how the charm store and charm commands work with macaroons and the ubuntu sso? I have a partner of ours having trouble with the commands and I wanted to point them at some documentation about the process.13:17
rick_h_natefinch: I'm getting https://pastebin.canonical.com/162328/ trying to use my own build of juju, anything there look familiar e.g. "you did X wrong clearly"?13:37
rick_h_natefinch: tried it on two different providers and 4 bootstraps all fail with some # of "after # attempts"13:37
=== cory_fu-vac is now known as cory_fu
dimiternsinzui: hey, I've noticed you changed the milestone on bug 1609343 to beta15, but I forgot to set it to fix committed earlier today, and put the milestone back to beta1413:45
mupBug #1609343: [aws; beta13] Juju can pick subnets from the wrong VPC with spaces constraints specified <ec2-provider> <usability> <juju-core:Fix Committed by dimitern> <https://launchpad.net/bugs/1609343>13:45
dimiternsince we don't have beta14 out13:45
sinzuidimitern: put it back to beta15. your commit is too new13:46
dimiternsinzui: ok then13:47
babbageclunkfwereade__: back, sorry - I think I follow. What you're saying makes sense to me, and is simpler than having a system where the refcounts are set manually separately on import.13:47
dimiternsinzui: done - I thought you're preparing to release b14 and pushing unfinished bugs forward13:48
sinzuidimitern: I am the best revision to release is from yesterday. your change is still being tested and has new kinds of failures13:48
babbageclunkfwereade__: you could have them still be serialised in the export and then check the serialised ones against the final ones after import?13:49
fwereade__babbageclunk, well, we *do* have to set them manually on import, one way or another13:49
dimiternsinzui: I've checked the reports but nothing seemed remotely relevant to the fix itself13:50
sinzuidimitern: I am not saying your change made the failures. we are seeing new kinds of failures from many possible sources http://reports.vapour.ws/releases/420713:50
fwereade__babbageclunk, we have to write the code either way13:50
fwereade__babbageclunk, I'm not really sure which will be easier to get wrong13:50
babbageclunkfwereade__: Right, but ordinarily they'll be maintained as units and apps refer to them.13:50
fwereade__babbageclunk, (incidentally, is there some code I'm missing that prevents us from trying to export if any charm upgrade is in progress? I feel like it should exist but couldn't find it in a quick scan)13:51
fwereade__babbageclunk, indeed13:51
babbageclunkfwereade__: Don't know, sorry.13:51
fwereade__babbageclunk, hm, I might actually be able to push it all below the layer that migration happens at13:52
babbageclunkfwereade__: Right, so then the refcounts are maintained as you restore apps and units?13:52
fwereade__babbageclunk, yeah13:52
babbageclunkfwereade__: So the serialised refcount could be treated as a check after import.13:55
babbageclunkfwereade__: (That could cause problems if the point of the dummp and restore was to upgrade to a version that counted refs differently.)13:56
fwereade__babbageclunk, I think I'd still rather it be a calculated property rather than an independent variable13:56
fwereade__babbageclunk, and, yeah, it really *does* feel like an implementation detail13:56
fwereade__babbageclunk, the only reason we're refcounting is because it's the only technique we've found applicable at this level13:56
babbageclunkfwereade__: presumably this is just a performance optimisation? Can you always recalculate it from the apps and units?13:57
babbageclunkfwereade__: Or is there some kind of cross-model consideration?13:59
rick_h_fwereade__: natefinch dimitern ping for standup14:01
perrito666rogpeppe: ping?14:02
fwereade__babbageclunk, the refcounting is basically just for integrity14:06
fwereade__babbageclunk, am I misunderstanding?14:07
babbageclunkfwereade__: The refcount prevents you from deleting something because there are other things referring to it - you could instead go and count all of the things that refer to it, right? I might be misunderstanding also.14:09
natefinchfwereade__: github.com/juju/schema.Checker has a "path" argument to Coerce that isn't documented at all.  What is that for? https://godoc.org/github.com/juju/schema#Checker14:12
fwereade__babbageclunk, yeah, exactly -- they're relevant only for the txn level14:13
fwereade__natefinch, constructing useful descriptions of where you are in a nested structure14:13
fwereade__natefinch, coerce failed at config.foo.bar[baz]: not an int14:13
fwereade__natefinch, can't remember anything about how it actually works14:13
natefinchfwereade__: k14:14
natefinchfwereade__: related - Coerce for a FieldMap expects an interface that is a map of <something> to interface... where something can be a string or something with a String() method (possible due to reflection).  Does anyone actually use the stringer form? Do we need to keep that code around?  It makes the implementation a lot messier.14:15
fwereade__natefinch, I don't know, I'm afraid14:16
fwereade__natefinch, I am having difficulty imagining how that would work without stabbing you in the back on the regular14:17
natefinchfwereade__: indeed14:19
natefinchfwereade__: I sorta need to make a new version of the library anyway, maybe that's the best way to "fix" it.14:19
fwereade__natefinch, if we're having to go that far, should we be dropping coerce and building something up with gojsonschema?14:20
mupBug # changed: 1457575, 1552948, 1566801, 1568845, 1570096, 1575676, 1579010, 1588095, 1599503, 1600054, 1602034, 1602054, 1602716, 1604644, 1604931, 1605050, 160755714:21
natefinchfwereade__: the change to schema is actually backwards compatible... it's adding a notion of dependencies between attributes... here's the PR: http://reviews.vapour.ws/r/5364/14:22
natefinchfwereade__: so.. I don't know.  Personally, I'd prefer to use a standard, but I'm afraid that switching to gojsonschema might be a bigger change than we really want to make right now14:23
fwereade__natefinch, is there a strong benefit to dependencies vs subdocs? is {foo-bar: x, foo-baz: y} is really a win over {foo: {bar: x, baz: y}}?14:24
natefinchfwereade__: No.  I hadn't thought about using a subdoc for it14:24
fwereade__natefinch, worth considering14:25
fwereade__natefinch, that said we have no shortage of things in the first form already14:25
fwereade__natefinch, however, if we *are* making changes, that might stremline things a bit14:26
natefinchfwereade__: not sure if that cleans things up or not.  The main use case right now is openstack authentication.  Either you have SSO or username/password, in the latter case, you need to specify username and password, in the former, you don't.14:27
fwereade__natefinch, yeah, I see, even if there's an "auth" subdoc you still need the switch14:28
fwereade__natefinch, or, hold on14:29
fwereade__natefinch, wouldn't you do that with, uh, `schema.Any(ssoChecker{}, userpassChecker{})` or something?14:30
fwereade__natefinch, but *that* only works on a subdoc14:31
fwereade__natefinch, even so, {auth: {sso: blah}} and {auth: {user: foo, pass: bar}} is nicer than having auth-sso/auth-user/auth-pass all at the top level14:32
fwereade__natefinch, and it feels more in tune with the schema package14:35
fwereade__natefinch, even if that is a bit tautological14:35
natefinchfwereade__: this library is soooo confusing... yes, that would work14:36
natefinchfwereade__: though I don't know how to translate that to something you can define with environschema14:37
fwereade__natefinch, can an Attr just have an optional Checker field?14:41
natefinchfwereade__: not really.. Attr is just a serialization schema... you can't really put an arbitrary piece of code in there14:43
fwereade__natefinch, ...then the path of least resistance maybe starts to look like a Schema field with some jsonschema in there?14:45
mupBug #1609818 opened: WorkerSuite.TestDelayedUpdateError timeout no more updates for you <ci> <intermittent-failure> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1609818>14:45
natefinchfwereade__: the path of least resistance is to use the code that I've already written :)14:45
fwereade__natefinch, might be a local maximum... it feels like schema is a fairly significant source of friction here14:47
natefinchfwereade__: that may be fair14:50
mupBug #1609879 opened: juju2 says to destroy-model --force when using --keep-broken <juju-core:New> <https://launchpad.net/bugs/1609879>16:39
babbageclunkfwereade__: a state.LinkLayerDevice has (potentially) multiple addresses associated with it, but params.NetworkConfig (and network.InterfaceInfo) have only one address...16:41
babbageclunkfwereade__: Should I pick an address or have multiple interface infos coming back?16:41
babbageclunkfwereade__: (Might be more for dimitern but he's not around.)16:42
* babbageclunk will re-ask tomorrow.16:45
mupBug #1609893 opened: juju status returns ERROR not logged in <juju-core:New> <https://launchpad.net/bugs/1609893>16:51
=== frankban is now known as frankban|afk
mupBug #1609893 changed: juju status returns ERROR not logged in <juju-core:New> <https://launchpad.net/bugs/1609893>16:57
rick_h_natefinch: katco or all other people smarter than me, trying to use my juju build I get a failed bootstrap, but damn if everything doesn't seem to work out per logs/etc. https://pastebin.canonical.com/162345/plain/17:00
rick_h_I'm really open to ideas from folks that know more.17:00
natefinchrick_h_: looking17:01
tvansteenburghhey core folks, i have a websocket client connected to a juju api server, but i don't know which version of juju i'm connected to. what's the easiest way to determine that?17:01
katcorick_h_: try turning on tracing and --debug while bootstrapping?17:01
rick_h_katco: that is with --debug17:02
katcorick_h_: i see: "/home/rharding/src/juju/bin/juju bootstrap --upload-tools --keep-broken test" ?17:02
rick_h_katco: ah sorry, I pasted from a previous run17:03
katcorick_h_: ah17:03
katcorick_h_: is it possible to set the log level to trace at bootstrap time?17:03
rick_h_katco: will look for my next run17:03
natefinchtvansteenburgh: hmm.. AFAIK we don't have a dedicated "version" endpoint (which is a shame).  I think the GUI has some heinous hacks to figure it out, but not entirely sure.17:05
tvansteenburghnatefinch: i was afraid that was the answer :/17:05
mupBug #1609893 opened: juju status returns ERROR not logged in <juju-core:New> <https://launchpad.net/bugs/1609893>17:09
mupBug #1609896 opened: Race in github.com/juju/juju/rpc/server <ci> <intermittent-failure> <race-condition> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1609896>17:18
mupBug #1609910 opened: Juju API lacks version endpoint <juju-core:New> <https://launchpad.net/bugs/1609910>17:49
mupBug #1609910 changed: Juju API lacks version endpoint <juju-core:New> <https://launchpad.net/bugs/1609910>17:52
natefinchrick_h_: got some time to talk?  I got some feedback from william on my pr that needs discussion17:53
natefinchfwereade__: I presume you're long gone?17:53
rick_h_natefinch: I've got a call in 7 if we can do it in there17:54
rick_h_natefinch: https://hangouts.google.com/hangouts/_/canonical.com/rick?authuser=117:54
natefinchsure17:54
mupBug #1609910 opened: Juju API lacks version endpoint <juju-core:New> <https://launchpad.net/bugs/1609910>17:58
natefinchgah... gojsonschema has almost zero documentation.18:42
katcoany juju architecture guru types around? fwereade__?19:46
niedbalskiWe are trying out beta14 and found this serious problem: http://pastebin.ubuntu.com/22225558/20:55
niedbalskisinzui, alexisb ^^ is this expected?20:55
sinzuiniedbalski: officiall we don't support that20:55
sinzuiniedbalski: We don't even test uprades since juju is breaking behavious20:56
niedbalskisinzui, ok. So it might be a required to bootstrap this env again?20:57
sinzuiniedbalski: yes :/20:57
niedbalskisinzui, ok20:57
mgzniedbalski: yup, 'fraid so, we don't do upgrades between betas20:57
=== natefinch is now known as natefinch-afk
thumpersnow day here, kids all at home21:03
thumperbarely 2cm of snow and the city shuts down21:03
niedbalskimgz, sinzui thanks guys.21:06
mupBug #1609980 opened: Juju does not give a clear error when unable to create a loop device on lxd <lxd> <storage> <ui> <juju-core:Triaged> <https://launchpad.net/bugs/1609980>21:07
=== petevg is now known as petevg_vacation
=== petevg_vacation is now known as petevg_afk
=== petevg_afk is now known as petevg_vacation
mupBug #1609994 opened: Race in github.com/juju/loggo global <blocker> <ci> <race-condition> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1609994>21:43
mupBug #1609994 changed: Race in github.com/juju/loggo global <blocker> <ci> <race-condition> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1609994>21:49
perrito666now, this is new: /home/hduran/Develop/golang/go1.6.2/pkg/tool/linux_amd64/link: running gcc failed: fork/exec /usr/bin/gcc: cannot allocate memory22:01
mupBug #1609994 opened: Race in github.com/juju/loggo global <blocker> <ci> <race-condition> <regression> <unit-tests> <juju-core:Triaged by thumper> <https://launchpad.net/bugs/1609994>22:01
thumpermenn0: http://reviews.vapour.ws/r/5376/22:05
menn0thumper: looking22:05
thumpermenn0: 1:1 ?22:07
menn0thumper: ok22:07
thumperwallyworld, menn0: http://reviews.vapour.ws/r/5377/22:26
wallyworldthumper: +122:27
thumperlanding22:28
thumperseems we have no on call reviewer today22:36
thumperhttp://reviews.vapour.ws/r/5345/diff/#22:36
thumpermenn0: http://reviews.vapour.ws/r/5369/diff/# updated to use 1500ms max dealy as discussed22:37
menn0thumper: looking22:40
menn0thumper: it just occurred to me that the tests could be simpler if instead of injecting a Clock, retry.Call was injected22:43
menn0thumper: that way you just need to check that retry.Call is given the right args22:43
menn0thumper: and the tests aren't checking retry.Call's behaviour22:43
menn0thumper: not saying you need to change it, but just an idea for future work like this22:44
* thumper nods22:44
thumperthat's a thought22:44
menn0thumper: ship it22:44
menn0thumper: does that loggo race really need to be a blocker?22:45
menn0master was open when I submitted a PR but by the time it ran it was blocked again22:46
mgznow that's what I call a race22:49
menn0mgz: haha22:58
menn0thumper: I just realised that MM ids have an nice (unintentional) property: they're globally unique across all controllers (because of the was sequences are migrated)22:59
wallyworldmenn0: when the PR lands. we'll remove the blocker tag. a race in a 3rd party lib should not stop 15 people from landing work23:10
menn0wallyworld: +123:10
wallyworldmenn0: the PR to update deps just got an intermittent error, i resubmitted, hopefully will land this time23:11
mupBug #1610007 opened: Juju 2.0-beta14: AllWatcher deltas on unclean model do not  report proper application state <kanban-cross-team> <landscape> <juju-core:New> <https://launchpad.net/bugs/1610007>23:19
mupBug #1610012 opened: can't migrate a model off a controller twice <migration> <juju-core:New for menno.smits> <https://launchpad.net/bugs/1610012>23:52
thumperum...23:55
thumperI don't think that is a bug23:55
thumperok, the heading is confusing23:56
mupBug #1610012 changed: can't migrate a model off a controller twice <migration> <juju-core:New for menno.smits> <https://launchpad.net/bugs/1610012>23:58

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