/srv/irclogs.ubuntu.com/2018/02/15/#juju-dev.txt

hmlbabbageclunk: i updated the tests based on the merge build failures… do you want to take another look before i squash the commits?  :-D00:35
babbageclunkhml: sure00:37
hmlbabbageclunk: you’re awesome!00:38
babbageclunkhml: Still looks good to me!00:41
hmlbabbageclunk: ty00:41
babbageclunkwallyworld: I'm looking at your PR now - can you look at mine? :) https://github.com/juju/juju/pull/838002:20
wallyworldsure, after tim meeting02:21
babbageclunkwallyworld: oh, looks like hml beat me to it - do I still need to look at it too?02:21
wallyworldbabbageclunk: looks like some fixes were asked for so i'll do those and then ping02:25
wallyworldlunch first02:25
babbageclunkokies02:25
babbageclunkbon appetit!02:25
* babbageclunk feels bad for momentarily forgetting how to type a é02:26
babbageclunk*an02:26
blahdeblahé02:26
blahdeblah^ like that02:26
babbageclunkYou just cut'n'pasted my one though, be honest!02:27
blahdeblahbabbageclunk: compose, ', e02:27
* babbageclunk is chastened02:27
blahdeblahá é í ó ú02:27
blahdeblah:-P02:27
babbageclunk02:28
blahdeblahApparently, ẃ ŕ ý ṕ ś ǵ ḱ ĺ ź ć ń ḿ all work, too02:28
babbageclunkprobably useful in wpk-land.02:29
blahdeblahpossibly - I never realised non-vowels could have accents02:29
mupBug #1749763 opened: remove an application not in bundle should be ignored <juju-core:New> <https://launchpad.net/bugs/1749763>18:00
wpkCould someone look at https://github.com/juju/juju/pull/8375 (and at #1 comment in bugreport, as it gives the background) and state if that solution makes sense to them? (it works)22:49
wallyworldwpk: i think i agree with roger's comment22:51
wallyworldhml: did we need to make a fix to the update series tool to fix the symlink?22:52
wpkwallyworld: refresh22:52
hmlwallyworld: right now it’d be part of the update series how to guide in the docs22:52
wpkwallyworld: I forgot to remove it.22:52
hmlwallyworld: trying to understand if there way a change… and if that’s the only gotcha22:53
hmlwallyworld: don’t remember having to do that at all before22:53
wpkwallyworld: the big change is in MongoInfo actually22:53
wallyworldhml: ok. i do think we need a fix to the tool ultimately. good that we have a workaround for now. i am surprised we didn't hit the issue before given that agent symlink is tied to series22:54
hmlwallyworld: that’s what’s bugging me22:54
wallyworldwpk: the "isController" flag - that means is the connection for *this* controller or *any* controller? I assume *this* controller?22:56
wpkwallyworld: isController flag means that we're a controller, and then - as a controller we should connect to self only.22:57
wallyworldwpk: makes sense. could you expand the comment a little to make it very clear and that we are deliberately only returning api info with local host for that reason22:58
wpkwallyworld: and the MongoInfo stuff? That's a 'hack' (as it assumes that mongos are on the same IPs as controllers).22:59
wallyworldstill digesting that bit, reading bug23:00
wallyworldwpk: so with the patch we try local mongo first but will fail over to connect to a mongo on a different controller if needed. but i'm not sure that we shouldn't just be waiting until out own mongo becomes available. ie controller and mongo tied together. if mongo not available on a controller yet, wait for it. maybe need a second opinion23:04
wpkwallyworld: "waiting until out own mongo becomes available" <- that could never happen (see my comment on the bug)23:05
wallyworldright, we have a problem. but maybe the solution lies elsewhere. i'm not sure we're fixing the correct root cause. i am not sure it makes sense for a controller to talk to anything other than it's own mongo. but i may be wrong. i'd like to see what john thinks23:07
wallyworldit's not super critical to land this right away as 2.3.3 has gone out23:07
wpkwallyworld: we've had a discussion today and that was one of the proposals23:08
wallyworldoh, i see. john was happy with the approach taken?23:08
thumperanyone.. https://github.com/juju/juju/pull/838823:08
wpkwallyworld: (and the controller talks to mongo master, not only own mongo - it just has to know where the other mongos are and we're giving only localhost, then mongo itself tells about all other peers)23:09
wallyworldwpk: i guess it will be temporary and will correct itself and then the controller will stil use local host23:09
thumperwpk: this may be what jam and I discussed the other day23:09
wpkwallyworld: the other approach would be to limit connections to localhost only after the controller is really a controller (hasVote)23:09
wallyworldright, i would have maybe preferred that but if john is happy23:10
wpkI'm gathering opinions :)23:10
wallyworldi am just wary about hw doign this current approach may affect HA23:10
wpkDemocracy and stuff23:10
wallyworldi am not an expert here, just have an opinion23:11
thumperwpk: I don't agree with wallyworld and roger23:11
thumperjust saying23:11
thumperwpk: if we are going to filter differently based on controller or not controller23:11
thumperI'd rather do that in the connection space, rather than the writing config space23:11
thumperwe need a filter either way23:11
thumperand I'd rather it was closer to the connect23:11
wallyworldthumper: my point was that i disagree with the implicit assumption that localhost was always first23:12
wpkthumper: My first approach was the way Roger wanted (in config space), but it didn't worked so I moved it to connect code, it worked, but then I realized I have a race and it's just random23:12
wallyworldunless that is made very clear that's part of the contract23:12
wpkthumper: So here I agree with Roger and Ian23:12
thumperI was talking about api connect23:12
thumperare you talking about mongo connect?23:13
wpkAPI23:15
wpkmongo is a separate thing, that came out of comment/1 on this bug.23:15
thumperI like what we have, where we explicitly say []string{localAPIAddr}23:16
thumperand just that23:16
thumperdon't assume localhost first23:16
thumperwpk: how did it work before?23:18
thumperwpk: if we only ever returned localhost before, how did HA work?23:20
wpkthumper: we returned localhost and all other addresses23:22
wpkthumper: (localhost first)23:22
thumpernot in the MongoInfo function on the left23:22
wpkthumper: but connecting to other addresses during upgrade caused problems (that we've never reproduced, but we had consistent reports of them)23:23
wpkthumper: ah, for Mongo it worked because apicaller could connect to other controllers23:23
thumperI'm not sure we are talking about the same thing23:23
thumperah...23:24
wpkthumper: and then machiner started, reported to other controller that this machine is alive, the other controller told mongo to connect 'this' mongo to replicaset23:24
thumperIf we put localhost at the start of the Mongo info, does it happen to choose that first?23:24
wpkthumper: that's what in the code, but then it'll connect to master eventually23:24
thumperthat happens at the driver level right?23:25
wpkthumper: even if we set MongoInfo to 'localhost' only it'll connect to master as it'll get it from local mongo, so it's not 'info', it's just 'seed'23:25
* thumper nods23:25
thumperwpk: I'm adding a comment23:27
thumperwpk: actually, no comment, this makes sense to me now23:28
wpkOK, I'll fix the tests tomorrow and ask for acceptance.23:40
anastasiamacthumper: babbageclunk: team meet?..23:47

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