/srv/irclogs.ubuntu.com/2017/03/28/#juju-dev.txt

menn0anastasiamac, thumper: heads up. this is pretty important: https://bugs.launchpad.net/juju/+bug/167642700:00
mupBug #1676427: juju.txns mongo collection getting out of control <canonical-is> <juju:Triaged> <https://launchpad.net/bugs/1676427>00:00
menn0anastasiamac, thumper: I have some ideas about how to deal with it which I'll write on the bug. I'm not sure that I should pick it up though.00:00
menn0thumper or axw: https://github.com/juju/juju/pull/7151 pls00:34
* thumper looks00:34
thumpermenn0: LGTM00:37
menn0thumper: cheers00:37
menn0cmars: done. ship it with one tiny thing00:40
cmarsmenn0, thanks00:47
=== JoseeAntonioR is now known as jose
babbageclunkwallyworld: hey, I'm a bit confused about the public/private address on machines thing - calling unit.PublicAddress does just call through to machine.PublicAddress.03:56
wallyworldbabbageclunk: so is thr thought that the machine public address method falls back t private03:56
babbageclunkwallyworld: But the problem is that calling machine.SetProviderAddresses with only a cloud-local address still sets both public and private on the machine03:57
wallyworldbabbageclunk: we can work with that right? the address that comes back shoild have a scope?03:57
wallyworldso we call public() and then check the scope03:57
babbageclunkwallyworld: yeah, true - things will do the right thing if there's a public address.03:58
wallyworldbabbageclunk: and we fail if scope != public unless region/enant/etc match03:58
babbageclunkwallyworld: ok - I'll do it at that level03:58
wallyworldty03:58
wallyworldbabbageclunk: btw, thanks a lot for the reviews, much appreciated04:01
babbageclunkwallyworld: no worries, sorry, should have pinged you about them04:01
wallyworldtis totally ok04:01
wallyworldi'm knee deep in the next one04:02
wallyworldpermissions are somewhat fun the way we did them04:02
menn0thumper: you still around?04:12
thumpermenn0: ack04:57
=== akhavr1 is now known as akhavr
kwmonroehey juju-dev, are application-constraints in bundles still supported in 2.1?  https://bugs.launchpad.net/juju/+bug/167698618:18
mupBug #1676986: juju doesn't honor bundle application constraints (2.1.2) <juju:New> <https://launchpad.net/bugs/1676986>18:18
rick_hkwmonroe: totally, and tests case here: https://github.com/juju/charm/blob/v5/bundledata_test.go#L11318:23
kwmonroerick_h: that thar is a machine constraint18:23
rick_hkwmonroe: but above it is an application one18:23
rick_hkwmonroe: now...root-disk should work as well but not in the test there. hmmm18:24
kwmonroeoh, well, whatever, you should have sent me to the right line ;)18:24
rick_hkwmonroe: yea, sorry. I was looking at both but you're right oops18:24
rick_hkwmonroe: I was more worried if space split would work or if they needed to be ,18:25
rick_hbut looks like space is ok there18:25
kwmonroeyeah, so i've tried both "mem=X" and "mem=X root-disk=Y" in my sample bundle (in the above bug).  lemme try something..18:26
kwmonroe(i'm gonna try adding a machine constraint too to see which one wins)18:26
kwmonroealrighty rick_h, bug updated.. machine constraints are 2legit2quit.  app constraints seem ignored.18:32
kwmonroe-> https://bugs.launchpad.net/juju/+bug/167698618:33
mupBug #1676986: juju doesn't honor bundle application constraints (2.1.2) <juju:New> <https://launchpad.net/bugs/1676986>18:33
rick_hkwmonroe: booo :(18:33
kwmonroetotal boo broham.  and what worse is i'm gonna have to report this during the juju show.  no way around it.18:34
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
thumperhml: morning20:42
thumperhml: have you hooked up the pre-push hook in your juju repo?20:42
hmlthumper: good morning20:42
thumperhml: among other things it runs go vet20:42
hmlthumper: i’ve seen go vet run… so i think so, perhaps i should double check.  :-)20:43
thumperjust saw some vet errors in openstack firewaller20:43
thumperwhich have crept into develop20:43
thumperhmm, probably someone else then20:43
thumperperhaps I should check blame20:43
hmlthumper: checking now.20:44
thumperI just thought of you when thinking of recent openstack work20:44
hmlthumper: :-)20:44
thumperoh dear20:45
thumperactually was axw20:45
thumperbut the bug is bad20:45
thumper97467364 (Andrew Wilkins     2016-11-22 12:05:25 +0800 237)                             suffix := fmt.Sprintf("%s-%s", c.environ.Config().UUID(), serverId)20:45
hmlthumper: ha.  i’m setup with pre-push hooks now.20:45
thumperlooking for a suffix of a security gropu20:45
thumperhowever20:45
hmlthumper: and before you asked20:45
thumperprovider/openstack/firewaller.go:237: arg c.environ.Config().UUID() for printf verb %s of wrong type: (string, bool)20:45
thumperso... the suffix probably isn't what is expected20:46
hmlthumper: I was messing in security group code a few weeks ago20:46
thumperyeah, I recalled that20:46
thumperthis is clearly a bug though20:47
thumperthe suffix generated is not good20:47
thumperperhaps it is not good in all the places20:47
thumperso at least consistently not good20:47
thumperbut I don't know20:47
babbageclunkthumper: shouldn't we be running go vet in the build?20:49
hmlthumper: question, i have that line of code in my working area, but if i run go vet on firewaller.go, i’m not seeing that output.  any reason why?20:49
thumperbabbageclunk: yes, that is a long standing issue20:49
babbageclunkoh good20:49
thumperhml: interesting, the line of code the same? also, what version of go are you using?20:50
hmlthumper: 1.820:50
thumperhmm, I'm using 1.620:51
hmlthumper: the line of code looks the same20:51
=== akhavr1 is now known as akhavr
hmlbabbageclunk: do you have a few minutes for a hangout?  i think i have the cause of the auth bug nailed, but not sure of the best way to resolve it.21:18
babbageclunkhml: sure - in standup?21:18
hmlsee ya there21:19
=== akhavr1 is now known as akhavr
wallyworldhml: you solved it?21:27
hmlwallyworld: nope… just know the answer…21:27
hmlwallyworld: join us in standup?21:27
wallyworldthe first step :-)21:28
wallyworldi have a meeting in 2 minutes but can quickly pop in21:28
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
babbageclunkwallyworld: ping me when you're off the phone?21:59
wallyworldbabbageclunk: ping22:00
babbageclunkwallyworld: ha, was so quick I missed it.22:08
babbageclunkwallyworld: looks like erroring with no public address causes problems in lxd22:09
wallyworldbabbageclunk: talk in ho?22:09
wallyworldi didn't think we'd error22:10
wallyworldi thought we'd fall back to private22:10
wallyworldunder the right circumstances22:10
wpkQ: is there a publicly available presentation showing how awesome Juju is?22:10
wpk(something like what Marco did in NOLA)22:11
wallyworldthere would be, not sure who to ask though22:11
wallyworldbabbageclunk: did you want to chat about it?22:13
babbageclunkwallyworld: no that's fine - I must have misunderstood - taking out the error.22:14
wallyworldbabbageclunk: ok. we should error sometimes though22:14
wallyworldwhen we can't quarantee connectivity22:14
babbageclunkwallyworld: hmm, under what circumstances?22:14
wallyworldsame region/tenant etc22:15
babbageclunkwallyworld: you mean if we fall back to cloud-local and those other things don't match.22:15
wallyworldright, but it's going to be provider specific22:15
wallyworldeg need to account for vpc with aws22:16
babbageclunkwallyworld: ok, so we need to define a provider-specific way of deciding whether a cloud-local address is usable.22:17
wallyworldyes. we talked about a new interfcae method22:17
wallyworldCanModelsConnect() or something22:17
wallyworldnever settled on the name22:17
wallyworldnaming things is hard :-)22:18
babbageclunkI didn't think I needed to tackle that yet.22:18
wallyworldwas hoping not to but we may need a stub implementation to make lxd work22:18
babbageclunkReally I don't for now, right? In all of the places where they're not connectable we'll have a public address.22:18
wallyworldbut not for lxd right?22:19
babbageclunkIn that case the private addresses will always be connectable though.22:19
wallyworldright. but we need a way to tell juju that22:19
wallyworldso a stub implementation for that method may be needed22:20
babbageclunkwallyworld: let's hangout!22:20
wallyworldok22:20
mupBug #1613855 changed: SetAPIHostPorts runs afoul of "state changing too quickly" <juju:Fix Released by mfoord> <juju-core:Fix Released by thumper> <https://launchpad.net/bugs/1613855>23:07
hmlwallyworld: if you get a chance, my subnet PR is updated: https://github.com/juju/juju/pull/714023:33
wallyworldlooking23:33
wallyworldhml: just a small tweak, looks good thanks23:42

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