/srv/irclogs.ubuntu.com/2017/11/02/#juju-dev.txt

=== petevg is now known as petevg|afk
axwwallyworld: can you please take a look at https://github.com/juju/juju/pull/801102:46
axwjam: when you're on, ^^ workaround to upgrade lease docs02:46
=== TikTok is now known as michealb
=== axw_ is now known as axw
jamwallyworld_: did we lose you ?04:37
axwjam: are you able to share your ubuntu-lite charm? looks to be private. I'd like to try to repro the FD leak thing05:31
axwcoming up empty when lookiung through the code05:31
jamaxw: so I've done charm push and charm release, do you know what the next thing is to make it more public?05:32
axwjam: I think you need to "charm grant", just not sure what args atm05:33
jamlooks like just "charm grant CHARM everyone"05:34
axwyup05:34
jamaxw: fwiw, you can do it just fine with just "juju deploy ubuntu" over and over again, but I should have granted read to everyone on the charms involved05:35
axwjam: ok. I can access now, thanks05:36
axwjam: so I foolishly tried to run the test on azure, forgetting about container networking. tried to force the issue with lxd, adding a "wrench" in the lease manager - no leak. so I guess it only shows up when there's a lot of agents. I'm not going to be able to repro today, and I'm off till Tuesday09:05
axwjam: however. I did find a rather big issue with the singular/leadership apiserver calls09:05
jamaxw: k. it only happened before your patch to clean up leases09:05
jamaxw: want me to investigate?09:06
axwjam: if you're able to, that would be great09:06
jamjust doing a deploy with old and upgrade to sligtly older than current should be enough to trigger it09:06
jamactually, upgrading to beta2 final, right?09:06
jamaxw: what's the apiserver calls issue?09:06
axwjam: yeah I think so09:06
axwjam: the issue I found: the SingularClaimer and LeadershipClaimer methods on State return the worker *at that time*, they don't automatically use the internally restarted one09:07
axwjam: and the API server facades bind that at connection time...09:07
axwjam: so if you don't disconnect the API, you'll keep getting the same broken claimer09:07
jamgotcha09:07
jamyou have a patch for that, or want me to look at the same time?09:08
axwjam: I'm working on a patch, might only get as far as WIP though. I'll let you know later on09:08
axwjam: https://github.com/juju/juju/pull/8014, couldn't come up with a decent way to test it, the SetClock.. thing is a bit kludgey. I've gtg shortly, feel free to take and improve if you're not keen on that10:02
jamk, have a good weekend10:08
jamI had to do something similar for PingBatcher, I'll see how it compares10:09
=== petevg|afk is now known as petevg
babbageclunkwallyworld: hey, do we support migrating models with cross-model relations now?22:17
anastasiamacwallyworld: babbageclunk: could u plz rubber-stamp 1-line change? https://github.com/juju/juju/pull/801622:27
babbageclunkanastasiamac: approved!22:28
anastasiamacbabbageclunk: \o/22:28
babbageclunkwallyworld: oh ignore me, I remember now - we support exporting them (for dump-model) but not importing.22:34
wallyworldbabbageclunk: we don't support importing models with offers23:06
babbageclunkwallyworld: thanks - got confused/worried about whether we allowed migrations with CMR23:10
wallyworldbabbageclunk: yeah, we don't support migrating models with offers (yet) because we have no way of updating consuming models that the offer location has changed23:11
babbageclunkmakes sense23:11
wallyworldwe need to solve that though, but had to draw the line somewhere23:11
babbageclunkwallyworld: Can you review this please? It's the relationscopes precheck: https://github.com/juju/juju/pull/801823:31
wallyworldsure23:31
babbageclunkta23:32

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