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

alexisbwallyworld, looks like curtis did open a bug: https://bugs.launchpad.net/juju/+bug/162998500:39
mupBug #1629985: TestNewModelConfig can't connect to the local LXD server (lxd 2.3) <ci> <lxd> <regression> <unit-tests> <xenial> <yakkety> <juju:Triaged by wallyworld> <https://launchpad.net/bugs/1629985>00:39
alexisbI assigned it to you00:39
wallyworldok00:39
wallyworldalexisb: but it should be assigned to tycho00:39
wallyworldas it is his pr00:39
wallyworldi assume he will be the one landing the fix00:40
alexisbtych0, are you around to land you PR after wallyworld reviews?00:40
wallyworldi am testing it and also reviewing00:40
thumperhttps://github.com/juju/juju/pull/6372 anyone?00:48
thumperI'm off to give the dog a quick walk while the sun is shining00:48
=== thumper is now known as thumper-dogwalk
mupBug #1629113 opened: Juju deploy wordpress fails with MaaS <juju-core:New> <https://launchpad.net/bugs/1629113>01:04
=== thumper-dogwalk is now known as thumper
menn0thumper: remind me how to see the running workers/goroutines in a controller agent?02:09
menn0using the developer-mode stuff02:09
thumperjuju-goroutines02:10
menn0thumper: thanks02:11
wallyworldaxw: howdy, got time for a hangout about credentials?03:29
axwwallyworld: yup, just give me a minute please03:30
wallyworldsure03:30
axwwallyworld: see you in 1:1?03:31
wallyworldyup03:31
menn0wallyworld: I *think* I've got a fix for the problem of Juju taking ages to recover when the primary controller node goes away04:37
wallyworldoh stop it, now you're just teasing04:37
menn0wallyworld: with the fix in place the cluster recovers (i.e. apiservers back up) in under 30s04:39
menn0and a good chunk of that time is mongodb arranging a new primary04:39
wallyworldwow, finally!04:39
wallyworldmenn0: was it a mgo fix?04:39
menn0the fix is hacky at the moment so I won't be proposing it until tomorrow04:39
menn0nope04:39
menn0it's around HackLeadership and the handling of state in the apiserver04:40
wallyworldjoy04:40
menn0the fix also means that the apiserver no longer needs it's own copy of state04:40
menn0i'm going to help out at home for a bit now and tidy up the fix later on this evening04:40
wallyworldsgtm04:40
=== frankban|afk is now known as frankban
babbageclunkAnyone else using lxd 2.3?09:08
babbageclunkI'm getting weirdly slow juju bootstraps with it - not sure whether it's me or them.09:13
babbageclunkmwhudson: ping?09:49
mwhudsonbabbageclunk: mmf09:49
* babbageclunk isn't sure whether that means you're ready to receive or not.09:50
mwhudsonbabbageclunk: it means i should be in bed but i'm not so be quick :)09:50
babbageclunkmwhudson: Ok! :)09:50
babbageclunkmwhudson: I'm trying to find a memory leak in Juju09:51
babbageclunkmwhudson: I found something that purports to view heapdumps, but it needs a patch to Go.09:51
babbageclunkmwhudson: I was looking at the patch before I tried building it myself and saw a TODO with your name on it.09:52
mwhudsonbabbageclunk: ok09:52
mwhudsonheh09:52
mwhudsonuh oh09:52
mwhudsonwhere is it?09:52
babbageclunkmwhudson: So I thought, "Hey, I wonder whether he knows anything about viewing heap dumps."09:53
babbageclunkhttps://github.com/tombergan/goheapdump/blob/master/runtime.heapdump.go.patch09:53
mwhudsonoh09:53
babbageclunkI've tried a couple of things so far but not managed to get anything to work.09:54
mwhudsonthat's boring, basically if you have a go program used shared libraries you only get part of the info09:54
mwhudsonbabbageclunk: sorry don't really know anything, i'm afraid09:55
babbageclunkok, thanks anyway! Sorry to keep you up!09:55
mwhudsonbabbageclunk: i wonder why he hasn't sent that patch upstream09:56
mwhudsonbabbageclunk: no worries, sorry i couldn't help09:56
babbageclunkmwhudson: Well, I think it's something that's still in flux. Found it from here: https://github.com/golang/go/issues/1641009:57
mwhudsonbabbageclunk: heh i guess i got all the mails for that issue but just blanked on them :-)09:58
* mwhudson goes to bed09:58
perrito666morning all11:34
babbageclunkperrito666: o/11:34
mupBug #1630123 opened: OpenStack base 45 not being deployed with Juju GUI <juju-core:New> <juju-gui:New> <https://launchpad.net/bugs/1630123>11:53
perrito666how do I create a model with a different owner from the cli, does annyone know?12:27
natefinchcmars, rogpeppe1: I'm having trouble understanding the proper behavior of logout/login got a minute to talk?12:50
cmarsnatefinch, not at the moment. i may free at 10:30 central12:52
natefinchcmars: ok12:52
rogpeppe1natefinch: what's up?13:05
natefinchrogpeppe1: I'm confused as to the expected behavior of login/logout13:08
natefinchrogpeppe1: if I log out of a GCE environment that I created, is juju supposed to prompt for a password when I log back in?13:09
rogpeppe1natefinch: s/environment/model/ ?13:11
rogpeppe1natefinch: this is without an identity-url configured, right?13:11
natefinchrogpeppe1: yeah, I just bootstrapped with the normal defaults to google13:11
rogpeppe1natefinch: what did the logout command print?13:12
natefinchrogpeppe1: and yes, I guess it's logging into the modelk?  or the controller? I'm not sure13:12
natefinchrogpeppe1: $ juju login13:13
natefinchusername: admin13:13
natefinchYou are now logged in to "gce" as "admin@local".13:13
rogpeppe1natefinch: you always log into a controller, although you may choose an API connection specific to a model when you log in13:13
rogpeppe1natefinch: what did the logout command print?13:14
natefinchrogpeppe1: $ juju logout13:14
natefinchLogged out. You are still logged into 1 controller.13:14
natefinch(after changing my password)13:14
natefinchrogpeppe1: the bug I'm working on says I should be prompted for my password when I log back in, but I'm not sure when that's the case and when it's not, since I know there's some macaroon stuff...13:15
natefinchrogpeppe1: https://bugs.launchpad.net/bugs/162137513:15
mupBug #1621375: "juju logout" should clear cookies for the controller <juju:In Progress by natefinch> <https://launchpad.net/bugs/1621375>13:15
rogpeppe1natefinch: after logging out, what do you see in accounts.yaml ?13:15
natefinchrogpeppe1:   gce:13:15
natefinch    user: admin@local13:15
natefinch    last-known-access: superuser13:15
rogpeppe1natefinch: hmm, that's odd - it should have deleted the entry13:17
rogpeppe1natefinch: although it doesn't have any password, which is also odd13:17
natefinchrogpeppe1: where is the code that controls the password etc?  I can't seem to find it13:17
rogpeppe1natefinch: what does "juju switch" print?13:18
rogpeppe1natefinch: inside the jujuclient package13:18
natefinchrogpeppe1: at the time, gce was my default controller... I have since messed with things13:18
* natefinch rebootstraps to do more testing13:19
rogpeppe1natefinch: so if you do: "juju switch gce; juju logout", so you still have gce entry in your accounts.yaml ?13:19
rogpeppe1natefinch: you shouldn't need to re-bootstrap13:19
rogpeppe1natefinch: this is a client-side problem AFAICS13:19
natefinchrogpeppe1: yes, I just couldn't find the client side code :)13:20
natefinchrogpeppe1: also, I wasn't clear on when it should prompt and when it shuld not, based on macaroons and all that jazz13:20
natefinchrogpeppe1: where's the code that produces the password prompt?  some naive greps under jujuclient isn't finding much13:22
rogpeppe1natefinch: after it's told you it's logged in, can you actually use the connection (e.g. use juju status, juju list-models, etc?)13:25
natefinchrogpeppe1: yep13:26
natefinchrogpeppe1: just tried it13:26
rogpeppe1natefinch: ISTR there's a "local login" macaroon created somewhere, and it looks as if logout is failing to delete it13:27
rogpeppe1natefinch: axw is the man to talk to13:27
natefinchrogpeppe1: k, thanks13:28
rogpeppe1natefinch: it's almost certainly in the cookie jar13:32
rogpeppe1natefinch: if you get logout to remove all cookies in the cookie jar associated with the controller, it'll probably work13:33
rogpeppe1natefinch: FWIW the password prompting is hooked up in modelcmd.NewAPIContext (environschema.v1/form is the thing that actually does the prompting)13:34
rogpeppe1natefinch: hmm, actually i'm not sure about that13:36
alexisbbabbageclunk, ping13:41
natefinchrogpeppe1: ok, thanks, I'll look at that....13:45
natefinchrogpeppe1: totally would not expect a function called NewAPIContext to do login stuff13:46
rogpeppe1natefinch: actually, the user password stuff is done in api/authentication13:49
rogpeppe1natefinch: in Visitor.VisitWebPage13:50
natefinchrogpeppe1: yeah, I was just looking there.  Again.. VisitWebPage is not a function I would expect to prompt for a password via the command line :/13:51
mupBug #1630123 changed: OpenStack base 45 not being deployed with Juju GUI <juju-gui:Invalid> <https://launchpad.net/bugs/1630123>13:51
rogpeppe1natefinch: yeah, history plays a role in that name13:51
rogpeppe1natefinch: i think "Interact" might be a better name really13:52
rogpeppe1natefinch: i'm going for lunch now13:56
=== alexisb is now known as alexisb-afk
natefinchrogpeppe1: kk13:57
natefinchrogpeppe1: thanks for the help13:57
rogpeppe1natefinch: np13:57
voidspacemgz: pingg13:59
mgzvoidspace: yo13:59
voidspacemgz: I need help with vsphere and the company vpn14:00
voidspacemgz: ah, it's standup time14:00
mgzI'm in standup for fast bandwidth options too14:00
voidspacemgz: cool14:00
mgzhappy to hang on after14:00
perrito666oh, look at that, you cant add-model for a user other than you when you have add-model14:01
perrito666rick_h_: alexisb-afk is that the intended behavior?14:01
rick_h_natefinch: ping for standup14:01
rick_h_perrito666: huh?14:01
perrito666rick_h_: lets say I grant you addmodel14:01
perrito666you can juju addmodel mymodel14:01
perrito666which makes you happy14:01
perrito666but you can not juju add-model --owner=perrito hismodel14:02
perrito666ok, I might get soon disconnected14:07
perrito666guess who lives where that giant blob of red is going http://www.smn.gov.ar/vmsr/general.php?dir=YVcxaFoyVnVaWE12WVhKblpXNTBhVzVoYzJWamRHOXlhWHBoWkdFdmFXNW1MM05q14:07
alexisb-afkperrito666, stay safe14:09
perrito666alexisb-afk: I have a roof :p14:09
perrito666but I dont have faith on my internet air link14:09
perrito666rick_h_: ping me after standup so we discuss this plz14:12
rick_h_perrito666: rgr14:13
perrito666rick_h_: dont forget me15:06
babbageclunkperrito666: mind talking through some architecture details with me while you wait for rick_h_? :)15:09
perrito666babbageclunk: I was thiking on lunching but I can spare a few mins15:11
perrito666what can I do for you?15:11
rick_h_perrito666: sorry, otp having fun15:12
rick_h_perrito666: will ping when free sorry15:12
babbageclunkperrito666: Thanks! I've tracked down a memory leak to us keeping State instances in the api server statePool even after they're destroyed and never closing them.15:13
babbageclunkperrito666: I mean, after the corresponding model is destroyed.15:13
babbageclunkperrito666: And I'm trying to work out how to go about closing them when the model is destroyed.15:14
babbageclunkperrito666: There doesn't seem to be any way that a state from the pool can be returned to the pool - can state objects be shared between  goroutines/concurrent requests?15:17
perrito666babbageclunk: doesnt state knows best and figures the model is gone?15:17
perrito666babbageclunk: point me to the code15:19
babbageclunkperrito666: Not as far as I can see - at least, the worker stopping done in State.Close() doesn't happen.15:19
babbageclunkperrito666: finding links...15:19
babbageclunkperrito666: This is the stuff that doesn't happen: https://github.com/juju/juju/blob/master/state/open.go#L52215:21
babbageclunkperrito666: state pool: https://github.com/juju/juju/blob/master/state/pool.go15:21
babbageclunkperrito666: Here's where it gets the state from the pool to serve a request: https://github.com/juju/juju/blob/master/apiserver/apiserver.go#L55615:22
perrito666so, close is actually never happening?15:22
katcobabbageclunk: this is essentially a connection pool. so the connections to mongo won't be closed until close is called on the pool which (guessing here) will only happen when the process is torn down?15:23
babbageclunkperrito666: I mean, the server will close the pool if it gets shut down, and that will close the states.15:23
katcobabbageclunk: i.e. it's ok that close isn't being called on the connections -- we want them to stay open15:23
katcobabbageclunk: what is the memory leak you're tracking down?15:24
perrito666ill let you with katco for a moment as the oven is beeping15:24
babbageclunkkatco: lots of add-models/destroy-models in a row.15:24
babbageclunkkatco: bug 162577415:24
mupBug #1625774: memory leak after repeated model creation/destruction <eda> <oil> <oil-2.0> <uosci> <juju:In Progress by 2-xtian> <https://launchpad.net/bugs/1625774>15:24
babbageclunkperrito666: Thanks!15:24
katcobabbageclunk: ah i see the logic bug then15:25
babbageclunkkatco: It seems less like a connection pool and more like a cache.15:25
katcobabbageclunk: it's a connection pool (a cache of connections ;p)15:25
katcobabbageclunk: so close can only be called on the pool, not for a model15:26
katcobabbageclunk: so when you do add/destroy modela  bunch of times, you get a lot of connections cached, but connections for the model you destroy hang around for the life of the pool15:26
babbageclunkkatco: :) Sure, but in others I've seen there's a concept of taking the connection out of the pool while it's in use and returning it.15:26
babbageclunkkatco: That's right/15:26
katcobabbageclunk: errr... i made a bad assumption. i wonder why we're not using sync.Pool for this15:27
katcobabbageclunk: i suppose bc we want multiple people using 1 connection15:27
babbageclunkkatco: Ok - that's the bit I wasn't sure about.15:27
katcobabbageclunk: you are correct: this is a cache and not a pool15:28
katcobabbageclunk: so basically all you need to do is to make sure that the code-path the destroys the model closes the connection from the cache and removes it15:28
babbageclunkkatco: Ooh, I didn't know about sync.Pool. Neat.15:28
katcobabbageclunk: yep15:28
katcobabbageclunk: maybe not useful here. i suppose the value in the map here could be a sync.pool15:29
babbageclunkkatco: Yeah, that's what I was thinking - the bit I wasn't sure about was making sure that others weren't using the state when I close it.15:29
katcobabbageclunk: i imagine you'd need a refcount for that. i wonder if we could deduce a logically safe way though wherein a call to invalidate the cache is guaranteed to be the only consumer15:31
katcobabbageclunk: i.e. if you destroy the model, you could create a watcher that waits until the model is destroyed, and then invalidate the cache knowing nothing else could be using it?15:32
babbageclunkkatco: Yeah, that would make sense.15:32
katcobabbageclunk: but i don't know the specifics. that's going to require a deep=dive15:32
babbageclunkkatco: Also, maybe this is the source of some other weird bugs we see around destroy-model - old state objects still swimming in the pool after the model's gone away.15:33
katcobabbageclunk: or the refcount with a drain op. dunno which is cleanest/logically most correct15:33
natefinchcmars: ping when you get the time about macaroons / logout etc15:34
katcobabbageclunk: like what?15:34
babbageclunkkatco: in the course of reproducing this I've gotten into states where I had models that would show up in list-models but couldn't be destroyed.15:35
cmarsnatefinch, i'm available now15:35
katcobabbageclunk: =| i'm not sure open connections to state would cause that?15:36
babbageclunkkatco: I'm not sure it would either, just wondering.15:37
katcobabbageclunk: converge the code towards correctness and we'll get there ;)15:37
babbageclunkkatco: :)15:37
babbageclunkkatco: ok, so you think it's deliberate that the pool allows multiple requests to share states?15:38
natefinchcmars: ok - https://hangouts.google.com/hangouts/_/canonical.com/core?pli=1&authuser=215:38
katcobabbageclunk: probably; to limit the number of connections open. ironically to prevent what you're trying to solve15:38
katcobabbageclunk: i know we had a go at reducing memory leaks, and this was probably part of it15:39
katcobabbageclunk: if not, we should be using sync.Pool15:39
katcobabbageclunk: looks like this is over a year old though15:40
babbageclunkkatco: ok, doing some code archaeology to understand the history.15:40
babbageclunkkatco: Thanks for the help! I'll probably have more questions soon. :)15:44
katcobabbageclunk: hth! not an expert on this by any means, but looked like i understood what was happening15:45
babbageclunkkatco: might pick Menno's brains about it too - he's all through the blame for it.15:46
katcobabbageclunk: lol yep15:46
rick_h_voidspace: is https://bugs.launchpad.net/juju/+bug/1616098 related at all to your investigation?15:48
mupBug #1616098: Juju 2.0 uses random IP for 'PUBLIC-ADDRESS' with MAAS 2.0 <4010> <cpec> <juju:Opinion by dimitern> <https://launchpad.net/bugs/1616098>15:48
voidspacerick_h_: looking16:04
voidspacerick_h_: I don't believe so16:06
voidspacerick_h_: the vsphere issue, use fe80:: as an address, which is a loopback address - is a fairly specific problem I think16:06
voidspacerick_h_: so that bug is a different one - partly impacted by my changes as addresses are now sorted (hence the "lower" address noted in Ante's latest comment)16:07
voidspacerick_h_: there's currently no space awareness in the public address picking logic16:07
voidspacerick_h_: but as we have to pick *one* address, it's not immediately clear to me how we should resolve that16:08
voidspacerick_h_: so bug 1616098 is definitely related to the address picking logic I've worked on, the vsphere one is different16:08
mupBug #1616098: Juju 2.0 uses random IP for 'PUBLIC-ADDRESS' with MAAS 2.0 <4010> <cpec> <juju:Opinion by dimitern> <https://launchpad.net/bugs/1616098>16:08
rick_h_voidspace: k, ty16:09
voidspacerick_h_: the issue there is that the  machine has multiple public IPs, some of which are not routable, and the address picking logic just has to pick one16:10
voidspacerick_h_: that logic is currently space unaware - it needs to become space aware and pick an address from a space that the controller is in16:10
rick_h_voidspace: rgr, have to think on it. It's on my list of stuff we don't seem to have a firm rulebook for16:10
voidspacerick_h_: I think that rule "pick an IP from space the controller machine is in" works16:11
voidspacerick_h_: then the public IP is routable from the controller, so we can ssh to it16:11
voidspace*a space16:13
=== alexisb-afk is now known as alexisb
katcocan someone explain the difference of these two to me? https://github.com/juju/names/blob/v2/application.go#L13 https://github.com/juju/charm/blob/v6-unstable/url.go#L4916:42
rick_h_the one diff is the firm ending $ on the second.16:43
rick_h_though not sure what effect that would have16:44
rick_h_in practice16:44
katcorick_h_: i'm not looking for a comparison of regexes :p16:44
rick_h_katco: heh, ok then have to be more clear on "explain the diff" :)16:44
katcorick_h_: aren't the two concepts equivalent? do we have 2 checks in different libs?16:44
katcorick_h_: i think "name" in the charm lib is the same as "app" in our names lib? i think we should be centralizing checks in our names lib?16:46
rick_h_katco: there is the work to make sure they're compatible. I'm not sure why names is not a dep in charm to share the logic.16:48
katcorick_h_: it is actually a dep... not sure why it isn't just using the logic though16:48
katcorick_h_: that makes it all the more puzzling =/16:49
rick_h_katco: ok, then even more "don't know"16:49
katcorick_h_: haha16:49
katcorick_h_: would you consider "series" something else that should be validated in names?16:49
rick_h_katco: I'd suggest asking rogpeppe1 ^ for any justification and if none then carry on16:49
* rogpeppe1 looks16:49
rick_h_katco: hmm, maybe as far as reserved words go, but not sure how easy series are to pull in like that in a light weight way16:49
katcorogpeppe1: ta16:50
katcorick_h_: https://github.com/juju/charm/blob/v6-unstable/url.go#L4816:50
katcorick_h_: i would just look to pull this same validation logic over16:50
rick_h_katco: hmm, that's interesting. Since series are hard coded a regex to valid them seems interseting16:50
katcorick_h_: juju proper does more validation against a fixed list. something else we might want to pull over into names16:51
katcorick_h_: i think we go in circles on this stuff bc there's no clarity across the team at a high-level as to what libs are for. lots and lots of reimplementation of thing16:51
rogpeppe1katco: they match identical texts16:51
katcorogpeppe1: sorry, can you restate?16:52
rogpeppe1katco: the names one has a few non-grouping qualifiers16:52
rogpeppe1katco: they're the same expression16:52
katcorogpeppe1: right, so can we nix the one in charm and consolidate to names?16:52
rogpeppe1katco: but the names one has ?: qualifiers to prevent subgroup matching16:52
katcorogpeppe1: also, any opposition to moving the series check over?16:52
rogpeppe1katco: i think it's probably fine for the charm package to use names.ApplicationSnippet instead of validName16:53
rogpeppe1katco: the series check?16:54
katcorogpeppe1: see the regex in charm right above the name regex16:54
katcorogpeppe1: https://github.com/juju/charm/blob/v6-unstable/url.go#L4816:54
rogpeppe1katco: does names need to know about series?16:55
katcorogpeppe1: same question for schema. can we centralize all correctness logic to the names lib?16:55
katcorogpeppe1: this is my fundamental question: is the names lib where we centralize correctness checks?16:56
rogpeppe1katco: i'm wary of moving all "name" logic to juju/names. names are not all the same.16:56
katcorogpeppe1: can you state what you feel the purpose of the name lib is?16:57
rogpeppe1katco: i think that moving all checks for all name-like things to juju/names is a recipe for mixed concerns.16:57
rogpeppe1katco: it's about names of juju entities in a juju controller16:57
katcorogpeppe1: not names of charms themselves?16:57
rogpeppe1katco: i think that charm urls could be considered separate, yes16:58
rogpeppe1katco: where do we stop? do we put all the charm URL parsing code in names.v2 too?16:58
katcorogpeppe1: if that's the case, then i think it's correct that the two are separate. how the controller spells charm entities is only coincidentally (and maybe not permanently) the same16:59
rogpeppe1katco: yeah, actually, that's right16:59
katcorogpeppe1: i wonder how we can make that justification clear...16:59
rogpeppe1katco: an application name really is different from the name of a charm in the charm store17:00
rogpeppe1katco: even though the default application name is taken from the charm name17:00
katcorogpeppe1: yeah makes sense17:01
katcorogpeppe1: ta for the clarity17:01
rogpeppe1katco: tbh i still don't mind the charm package using ApplicationName for the constant17:01
katcorogpeppe1: they're not logically coupled, so imo, i don't think it makes sense to artificially do so17:02
rogpeppe1katco: fair enough, i pretty much concur17:03
=== frankban is now known as frankban|afk
* rick_h_ grabs lunchables17:33
* perrito666 learns that he must close the huge closing of his garage before the storm17:46
katcoperrito666: stay safe down there17:46
perrito666I am safe, a bit wet though17:46
perrito666I have one of these things http://mla-d2-p.mlstatic.com/toldo-vertical-para-balcon-toldos-de-lona-para-balcones-716221-MLA20740247242_052016-F.jpg?square=false17:47
perrito666but its one big piece, a good 4m width17:47
perrito666and was half deployed when the wind storm started17:47
perrito666good news is I closed it before it was ripped apart17:48
perrito666bad news is I am soaking wet17:48
perrito666https://pbs.twimg.com/media/Ct8R1BPWAAAsAxb.jpg:large   <-- as you can see, the water level is at the first step of the house :p17:54
natefinchyikes18:00
perrito666no worries, I guessed this would happen so I built the house 1m above ground18:00
perrito666I am a bit surprised I still have internet though18:01
natefinchI live on a hill like 10m above the nearest low point.  If my house ever floods, water in the basement will be the least of my worries18:04
perrito666build an ark18:05
natefinchpretty much18:06
* rick_h_ goes to get boy from school19:16
perrito666this city cannot stand rain http://www.lavoz.com.ar/ciudadanos/tormenta-en-cordoba-con-granizo-y-calles-anegadas?cx_level=catastrofe19:59
perrito666that is 2 hs of rain19:59
natefinchyikes20:02
natefinchgah, who decided that SetCookies(url, nil) would be a NOOP instead of just deleting all cookies?20:03
alexisbperrito666, you around ?20:07
perrito666alexisb: sorry here, Was trying to avoid a few tiles from flying from my roof20:08
alexisbo boy20:08
alexisbperrito666, do you need to be left alone?20:08
perrito666alexisb: no, I decided that its the roofers problem, not mine20:08
natefinchpretty sure there's only one answer to that question ;)20:08
perrito666I am not climbing to the roof in the middle of a storm20:09
alexisbhey perrito666 can you help tych0 with a question20:09
perrito666sure I can20:09
alexisbtych0, has a failed merge due to dep updates20:09
tych0see https://github.com/juju/juju/pull/636720:10
perrito666tych0: sorry to hear that20:10
tych0i'm trying to untangle it now20:10
alexisbperrito666, do you know what he needs to do to move things forward?20:10
tych0but supposing i can't, what's the policy on adding new deps?20:10
perrito666tych0: afaik, adding new deps needs to go through the tech board20:11
rick_h_tych0: they need to be reviewed. what's the new dep?20:11
* perrito666 reads the code20:11
rick_h_tych0: it needs license review/etc20:11
perrito666tych0: I dont see you adding a new dep20:12
tych0rick_h_: https://github.com/inconshreveable/log1520:12
perrito666tych0: where is that being added?20:13
rick_h_tych0: why that dep vs the standard logging tools in core?20:14
rick_h_tych0: that might cause issues20:14
tych0ok, i'm hearing "no" then :)20:14
perrito666that will cause issues most likely20:14
perrito666especially since we are doing the logs to mongo thing20:14
rick_h_perrito666: tych0 yea, and audit logs/etc. a new logging tool will make things complicated20:15
perrito666tych0: also, I dont see on your code where is this added, I am confused20:15
tych0perrito666: it's picked up in the github.com/lxc/lxd hash update20:15
rick_h_tych0: oic, a dep if a dep?20:16
tych0i didn't add it to juju explicitly, lxd added a dep mostly accidentally20:16
perrito666.... that is different20:16
rick_h_wallyworld: ^20:16
rick_h_wallyworld: has opinions and isbon the board and such20:16
alexisbrick_h_, ian is hopefully sleeping20:18
perrito666alexisb: nonsense, ian doesnt sleep20:18
rick_h_alexisb: ah, was thinking the evening call was closer than it is20:19
* rick_h_ actually looks at clock20:19
alexisbdo we need to add the dep of the dep directly to juju20:20
tych0(it's also possible that none of this is necessary if i can untangle it)20:21
rick_h_alexisb: i hooe it's not that bad, but it provavly still does need license review and such20:21
alexisbrick_h_, ack20:23
babbageclunkalexisb: Is Menno around today? His name's on the StatePool which is what's hanging onto States.20:23
alexisbbabbageclunk, he is20:23
babbageclunkcool cool20:23
alexisbbut it will be another 30 minute sbefore he start of day20:24
alexisbbabbageclunk, ^^20:24
perrito666rick_h_: ideally lxc people should have checked that and if we are licence compatible with them that should be enough, if they did not they might have tainted the code and are in deep s***t20:25
perrito666tych0: do you have more info about that?20:25
perrito666babbageclunk: heavy summoning skills20:26
babbageclunkperrito666: ha ha20:27
tych0perrito666: about what?20:27
rick_h_perrito666: it's apache license  should be good20:27
babbageclunktych0: I invoked menn0.20:27
perrito666tych0: what rick_h_ said20:27
babbageclunktych0: duh ignore me20:27
menn0wat?20:27
tych0perrito666: yes, we check licenses :)20:28
babbageclunkmenn0: morning!20:28
menn0babbageclunk: howdy :)20:28
thumpero/ babbageclunk20:28
menn0thumper: o/20:28
babbageclunkhey thumper20:28
babbageclunkmenn0: Actually, just need to walk Alice's sister back to her hotel - can I grab you in 15 mins?20:29
menn0babbageclunk: sure20:29
babbageclunkmenn0: For context, I'm chasing bug 1625774 and it turns out it's state.StatePool hanging onto State instances. So I think it needs to grow a way to release them for models that have gone away.20:30
mupBug #1625774: memory leak after repeated model creation/destruction <eda> <oil> <oil-2.0> <uosci> <juju:In Progress by 2-xtian> <https://launchpad.net/bugs/1625774>20:30
babbageclunkmenn0: So I wanted to run my plan past you since you seemed to know about it.20:31
menn0babbageclunk: I can see how statepool could be a problem in that case. let's talk when you're back.20:31
babbageclunkmenn0: Cool thx20:32
katcoohai menn020:36
menn0katco: howdy20:36
natefinchquick review anyone? https://github.com/juju/persistent-cookiejar/pull/1620:39
katconatefinch: i'll review yours if you give me a quick review as well: https://github.com/juju/juju/pull/637820:45
wallyworldrick_h_: alexisb: tych0: our strong preference is to drop that other logging dep and migrate lxd to loggo (which now supports colour which was the issue why it wasn't used originally IIANM)20:51
tych0and syslog support20:51
tych0but that's a bigger job than we can really do :)20:51
tych0anyway, i think i've unwound it20:51
babbageclunkmenn0: back (turns out Alice and Jayne needed to chat for a bit first). Now good?21:14
menn0babbageclunk: yep, give me a few secs, can you set up a hangout/bluejeans?21:15
babbageclunkdon't know about bluejeans but hangout yes21:15
babbageclunkmenn0: https://hangouts.google.com/hangouts/_/canonical.com/xtian21:16
alexisbwallyworld, failure!21:22
* alexisb grumbles and adds a tag to all the bugs21:22
wallyworldalexisb: curtis will know better than me, we can ask him at standup21:27
wallyworldalexisb: release call?21:35
alexisbwallyworld, can you invite rick to the HO21:35
wallyworldyep21:35
alexisbwallyworld, running late21:36
thumperwallyworld: https://github.com/juju/juju/pull/6360 and https://github.com/juju/juju/pull/637221:43
wallyworldthumper: will look after release call21:43
katcoalexisb: rick_h_: are we still expecting a oct. 7th release?21:54
wallyworldthumper: we should probably check with marco or someone to ensure the --model-default syntax and behaviour is what they want22:03
thumpermarcoceppi: ping22:03
wallyworldthumper: partly because andrew mentioned that in most cases, there could be an argument that what you use with --config could reasobably be in most cases a model default. but my argument was that that's fine, except for that one case where it's not22:06
alexisbkatco no, the 13th22:06
marcoceppithumper wallyworld pong22:06
thumpermarcoceppi: bug 1628999 and the solution: https://github.com/juju/juju/pull/636022:07
mupBug #1628999: Openstack network selection is not passed from the controller to the models <canonical-is> <juju:In Progress by thumper> <https://launchpad.net/bugs/1628999>22:07
marcoceppithumper: so --model-defaults is applied to controller as well?22:12
thumpermarcoceppi: yes22:12
marcoceppiunless overridden in --config22:12
thumperyes22:12
marcoceppithumper: well that sounds fucking fantastic22:12
marcoceppithumper: helps with a problem we had in Best Buy deployment of setting both --config on bootstrap, then model-config later22:12
marcoceppithumper: the only thing I think worth considering is changing --config to --model-config to match the rest of teh verbiage, but that's a nit (at best)22:14
wallyworldmarcoceppi: you can also set up model defaults in clouds.yaml - this new work brings that capability directly to the CLI. there are use cases for both22:31
wallyworldmarcoceppi: in clouds.yaml, that's the only way to set up region defaults22:31
wallyworldyou still can't do that on the CLI22:32
axwrogpeppe1 natefinch: there's a bug open about cookies not being deleted on logout22:47
wallyworldaxw: can you pop in a minute early to standup?23:07

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