/srv/irclogs.ubuntu.com/2017/04/13/#juju-dev.txt

thumperanastasiamac: ^^^ that is the first part of my fix00:04
anastasiamacthumper: looking ;)00:04
anastasiamacthumper: reviewed :D00:20
axwwallyworld: did the KVM/LXC image cache expire old images?00:35
axwI'm guessing not, since that would require some smarts in the server - and it was just a proxy IIRC00:36
wallyworldaxw: no, was quite a simple implementation00:36
wallyworldaxw: babbageclunk : standup?01:31
babbageclunkwallyworld: here's that bug: https://bugs.launchpad.net/juju/+bug/167994802:03
mupBug #1679948: juju bootstrap is failing in the MAAS CI lab  <juju:New> <https://launchpad.net/bugs/1679948>02:03
wallyworldTA02:03
axwwallyworld hml: got a call from oracle about my trial... did I miss anything?02:08
axwoh you're still there02:09
wallyworldaxw: no, just explaining how build agent etc works02:09
thumperanastasiamac: thanks02:09
thumperanastasiamac: next one coming up shortly02:09
anastasiamacthumper: nps :D m looking forward to the sequel02:10
wallyworldveebers: sorry, caught up in meeting, will miss the QA catchup i think02:16
veeberswallyworld: nw02:16
thumperanastasiamac: https://github.com/juju/juju/pull/7233, +251 −730 (as long as you ignore the 217 files bit)02:53
anastasiamacthumper: wow... anything in particular to pay attention too? coz otherwise m going to hit the button with my eyes closed :D02:54
* thumper looks for the files of interest02:54
thumpercmd/juju/commands/main.go02:55
anastasiamacthumper: ack02:55
thumpercmd/jujud/main.go02:56
thumpercmd/plugins/juju-metadata/metadata.go02:56
thumperthat's it really02:56
thumpereverything else is dealing with using cmdtesting from the juju/cmd package rather than juju/juju/cmd02:57
thumperand the rename of juju/juju/cmd/cmdtesting to juju/juju/cmd/cmdtest02:57
anastasiamacthumper: ack. looking -tyvm!!02:57
thumperThe only thing left in the juju/juju/cmd/cmdtest now is some weird arse function about running a command with the dummy provider02:57
thumpercan't fix everything at once02:58
anastasiamacthumper: agreed. lgtm'ed02:59
thumperta02:59
babbageclunkwallyworld: Can you take a look at https://github.com/juju/juju/pull/723403:12
wallyworldsure, i just need a quick bit to eat03:12
babbageclunkwallyworld: I need to pop out but after that can we chat about the changes needed for short-circuiting?03:13
babbageclunkwallyworld: cool cool03:13
wallyworldbabbageclunk: sure, can do03:16
wallyworldbabbageclunk: left some comments, happy to chat whenever04:16
babbageclunkawse, thanks04:16
babbageclunklooking now04:16
anastasiamacmenn0: if you happen to find urself with nothing to do \o/ PTAL at my update of https://github.com/juju/juju/wiki/MgoPurgeTool with everything u've mentioned04:37
mupBug #1492237 changed: juju state server mongod uses too much disk space <canonical-bootstack> <mongodb> <oil-2.0> <uosci> <juju:Won't Fix> <juju-core:Won't Fix> <https://launchpad.net/bugs/1492237>04:41
jamanastasiamac: "runaway transactions on apihostports or machines" could be lumped into cleaning up txn references from all documents04:43
jamat one point we had specific problems on a couple collections, but now we cleanup all of them04:43
jam(the newest one is model documents)04:43
jamI don't know if people care as much about the specific issues vs the category of issue, though04:43
anastasiamacoh jam, that the wording I did not touch :)04:44
jamPrunning I think is spelled Pruning04:44
anastasiamacah, that one would be mine - anything misspelt cannot b menn0 :)04:44
jamI'm pretty sure pruning has to run on the primary04:44
jamcompact needs to be run on secondaries04:44
jamwe've also found that it isn't 100% compatible with Juju 1.18, though it is close04:45
anastasiamacjam: yeah, that is why is said juju 1.25.x :)04:45
jammgopurge drops the db entirely for presence, and we can't do that, but you can drop the individual tables04:45
mupBug #1492237 opened: juju state server mongod uses too much disk space <canonical-bootstack> <mongodb> <oil-2.0> <uosci> <juju:Won't Fix> <juju-core:Won't Fix> <https://launchpad.net/bugs/1492237>04:47
menn0anastasiamac: unfortunately I am famous for typos04:47
menn0jam: pruning can run anywhere I think (all writes go to the primary), but it's most efficient to run on the primary04:48
anastasiamacmenn0: jam: fixed everything except does pruning need to/must run on primaries?04:48
anastasiamack. i'll add that as a note too :)04:48
jammenn0: well, if it redirects all writes to the primary, are you running on a secondary? I'm not sure what guarantee we are opening the session in04:49
jam(strongly consistent auto redirects all requests to the master)04:49
jamwhich would mean you might be running the script on another machine, its still running on the primary04:49
mupBug #1492237 changed: juju state server mongod uses too much disk space <canonical-bootstack> <mongodb> <oil-2.0> <uosci> <juju:Won't Fix> <juju-core:Won't Fix> <https://launchpad.net/bugs/1492237>04:50
jamanastasiamac: why did you mark https://bugs.launchpad.net/juju/+bug/1492237 as Won't Fix vs Fix Committed for 2.2 ?04:53
mupBug #1492237: juju state server mongod uses too much disk space <canonical-bootstack> <mongodb> <oil-2.0> <uosci> <juju:Won't Fix> <juju-core:Won't Fix> <https://launchpad.net/bugs/1492237>04:53
jamthough I suppose the other aspects are "configurable log" and "statuseshistory" would be the other 2 commits for 2.204:53
jamand then what to do about the charm blob store04:53
jamesp. wrt JAAS cache where the admin of the db isn't the one whose data we are working with.04:54
jamanastasiamac: coming to https://hangouts.google.com/hangouts/_/canonical.com/discuss-roadmap?authuser=1 ?05:01
menn0anastasiamac: r u joining?05:04
anastasiamacsorry sorry got distracted by imprtant ppl05:05
babbageclunkwallyworld: take another look? https://github.com/juju/juju/pull/723405:12
wallyworldbabbageclunk: will do, just in yet another meeting, *sigh*05:12
babbageclunkwallyworld: ok, no worries :)05:12
babbageclunkwallyworld: running a test against GCE now - wasn't sure whether rebooting the machine was enough - wouldn't enter scope also happen in that case anyway?05:14
wallyworldbabbageclunk: don't think so - scope entry is on the controller side05:14
babbageclunkah right05:15
wallyworldbabbageclunk: i'm multi-tasking - how did the GCE testing go?05:42
wallyworldaxw: quick review if you have time? https://github.com/juju/juju/pull/723506:19
axwwallyworld: sure06:19
wallyworldty06:19
wallyworldbbiab after coffee run06:20
jamanastasiamac: I see, so we're not "imprtant ppl"... :,(06:43
anastasiamacjam: u r... but there is also a higher category of "very imprtant"06:45
anastasiamac:D06:46
jamanastasiamac: ah, I see. so priority inversion, unable to interrupt the 'imprtant' people to meet with the 'very imprtant' ones06:50
anastasiamac:)06:53
=== frankban|afk is now known as frankban
babbageclunkwallyworld: sorry, was afk.07:54
wallyworldno wuckers07:54
babbageclunkwallyworld: it looks like it didn't work because the bounced machine hasn't picked up its new public address - I guess a problem with the GCE provider?07:55
babbageclunkwallyworld: :(07:55
wallyworldbabbageclunk: there's an instance address poller than runs but then backs off once the address is known. the agent is also suposed to report addresses from memory. i can't recall the specifics07:57
wallyworldbut that's not for this PR07:58
babbageclunkwallyworld: hmm - I guess the agent wouldn't know that the machine's public address changed, right?07:58
babbageclunkwallyworld: so it would have to be the instance poller.07:58
babbageclunkwallyworld: Ok, I'll merge my PR anyway07:59
wallyworldbabbageclunk: there's supposed to be an address poller in the agent i thought07:59
wallyworldbut i could be wrong, will have to check07:59
babbageclunkwallyworld: but it would need to talk to the provider to find out the public address.07:59
wallyworldwhy?08:00
wallyworldthe agent would poll the nics08:00
wallyworldon the machine08:00
wallyworldi guess it depends on how things are configured08:00
wallyworldmaybe you're right08:00
wallyworldmaybe the agent start up should trigger the instance poller08:01
wallyworldmaybe that's already supposed to happen08:01
wallyworldso many questions08:01
wallyworldaxw: i've pushed changes, too bad ParseDuration() doesn't support "days"08:06
axwwallyworld: yeah. we could always add another function that extends the syntax, but at least this way it's more flexible08:07
axwwallyworld: LGTM08:10
wallyworldaxw: ty08:12
wallyworldwill test again befor elanding08:13
wallyworldbabbageclunk: i've added a card to ensure we remember to check for why rebooting an instance causing an address change is not being picked up by juju08:13
babbageclunkwallyworld: oh, it eventually did! Haven't had a chance to investigate - talking to the maas guy.08:25
wallyworldbabbageclunk: that matches my understanding then, whew. the instance poller will wake up and do it. we just need to be smarted about triggering it after a reboot08:26
mwhudsonaxw: turns out that the TMPDIR-clearing antics are the dynamic loader's fault08:30
mwhudson(because there is a setuid executable in the chain of invocations when you run a snap)08:30
axwmwhudson: ah, right08:33
wpkjam: order does matter if you want to have something to test against :)08:34
jamwpk: I'm not worried about SortedValues as much as I am whether we need to preserve the *users* order08:40
jamwpk: and I believe it doesn't matter, so shoving it into a Set is fine, and the SortedValues is appropriate08:41
=== admcleod is now known as admcleod_afk
wpkjam: technically it's a set08:48
wpkjam: also, that's what proxyupdater has been always doing08:48
jamwpk: sgtm08:48
babbageclunkjam: I'm chasing this bug 1679948 with a guy from the maas team09:06
mupBug #1679948: juju bootstrap is failing in the MAAS CI lab  <juju:New> <https://launchpad.net/bugs/1679948>09:06
babbageclunkjam: The controller looks like it's running fine, but the client can't connect to the api - we just see the Forbidden message in the log09:07
babbageclunkjam: connectivity seems fine, we can ssh from the client to the controller09:15
babbageclunkjam: and in the logs on the controller we can see the various workers connecting the the API as well, so I'm not sure why the client can't09:17
jambabbageclunk: are you able to wget against the controller?09:18
jamis the URL a valid uuid for a model?09:18
babbageclunkjam: gah, didn't think of just wgetting - I was trying to find a websocket client I could use09:19
jamit just tells you if you can open the socket09:20
jamyou can also try "telnet host 17070" or whatever the exact prot is09:20
babbageclunkjam: yeah, will get in touch and try that09:20
babbageclunkjam: I guess telnetting to it would tell something even though it's not going to do the https handshake09:24
jambabbageclunk: you'll see the SSL headers come over09:39
jambabbageclunk: there is also "openssl s_client"09:39
jamwhich is 'telnet but for SSL'09:39
babbageclunkjam: found a websocket client code example that might be a useful test bed - just seeing how far I can get to pass in some JSON to login to the API and eg list the models.09:41
=== Spads_ is now known as Spads
menn0jam: here's a PR that addresses one of the items we were discussing in today's call11:18
menn0https://github.com/juju/juju/pull/723711:18
jammenn0: looking. what is cloud 'dev' ?11:19
menn0jam: just lxd with config for my local apt proxy and disabling auto apt upgrade11:20
menn0jam: ala https://github.com/juju/juju/wiki/Faster-LXD#suggested-juju-config-for-lxd-deployments11:21
jamsure, I have the same, just put it on 'lxd' itself11:22
jammenn0: https://github.com/juju/juju/pull/7237#pullrequestreview-32605432 lgtm, though in *my* opinion, if we're going to have '--no-switch' then we really should have '--switch'11:22
jamand I'm hesitant to add a short option11:22
jamwe could live with just landing what you requested11:22
jam*proposed11:23
menn0jam: I don't understand why we would you have --switch? if there's already --no-switch.11:24
menn0jam: I was borderline on the short option but it seemed like the kind of thing that some people would want to do all the time11:24
jammenn0: so if you have "--dont-do-foo" it seems useful to have a "--do-foo" to invert it11:24
jamit may be that "--do-foo" is currently the default11:24
menn0jam: but if that's the default....11:24
jambut that doesn't let us change it11:24
jam*i* like the ability to be explicit, especially for things like scripts11:25
menn0if it's the default, most people won't use the option IMHO11:25
menn0and we can't really change the default (until 3.x anyway) for compatibility reasons11:26
jammenn0: its personally a pet peeve when there is an option but you can't explicitly select a behavior, as then you have to know what the default behavior is, instead of just being able to say "this is the behavior I want"11:27
jamthat, however, is *my* opinion, so if you'd like a second opinion/consensus feel free to override/ask others11:27
menn0fair enough, i'll ask around next week11:28
menn0it's late and there's no particular rush to land this right now11:28
jammenn0: for example, in 'mgopurge' we have -ssl=false as how you disable it, but you can specify -ssl=true11:28
menn0yep, I guess so11:29
menn0on the flip side we already have -no-gui and --no-browser-login11:29
menn0on bootstrap11:29
=== hml_ is now known as hml
=== coreycb_vaca is now known as coreycb
=== rick_h_ is now known as rick_h
=== Dmitrii-Sh_ is now known as Dmitrii-Sh
=== salmankhan1 is now known as salmankhan
=== BradCrittenden is now known as bac
=== frankban is now known as frankban|afk
=== blackboxsw is now known as blackboxsw_bbl
=== blackboxsw_bbl is now known as blackboxsw
=== coreycb is now known as coreycb_vaca

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