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

wgrantOoh, scale testing?00:05
axwwallyworld: back01:02
wallyworldaxw: standup ho?01:12
thumperwallyworld: my testing has reproduced a number of issues we are seeing at scale02:25
wallyworldwell that is good02:25
wallyworldfinally02:25
thumper513 models, 142 apps, 2324 units02:25
thumperno02:25
thumper3234 units02:25
thumperrestarting the app servers on 2.3.1 caused much issues02:25
thumpermassive db load02:26
thumpertxns.log lost iterators02:26
thumperbroken apiservers02:26
thumperyay02:26
wallyworldthumper: and your PR fixes the above I assume when you add in a custom jujud03:44
thumperyeah, writing up test results now03:44
thumperI'll make sure you get a copy03:44
wallyworldaxw: well, this is great. juju deploy is broken. the doc claims that it accepts --config foo=bar but it clearly doesn't and has been that way for a while03:46
wallyworldit only accepts a yaml file for --config03:47
axwwallyworld: :/03:50
axwlet the yak shaving begin03:50
veeberswallyworld: that sounds like an EDA, it should be easy enough to add a functional test for it (probably tack onto the right place somewhere)03:50
wallyworldyeah, sigh, we are awesome. the change to the code at add the config parsing looks like it was first done in 201203:54
veeberswow03:54
wallyworldso clearly no one ever does juju deploy myapp --config foo=bar03:54
wgrantOh.04:28
wgrantWe all want to do that but assumed it was deliberately removed!04:28
wgrantI have heaps of YAML files around with like three lines to work around that04:28
wgrantthumper: Did the load return to normal with roughly the same profile as the post-upgrade graph?04:29
thumperwgrant: yeah05:18
wgrantthumper: Very nice05:22
wgrantthumper: And +1 on 2.2.7, since we can't upgrade until at least 2.3.2 and by that point we're dangerously close to Christmas.05:25
thumperwgrant: hmmm... wallyworld, jam, thoughts?05:25
wgrantAll very good news, anyway. Hopefully this will make the remaining scaling issues a lot more obvious.05:25
wgrantI'll run my smaller controllers on 2.3.x over the break for validation, but don't particularly want to subject the big one to even 2.3.2 without running the small ones for a while -- despite the obvious wins from removing update-status DB writes, it's a big risk to a lot of teams and applications.05:27
wgrantAnd it's likely that your fix will pull the shared controller out of its current pit of despair without big risk.05:28
wallyworldaxw: here's that deploy fix https://github.com/juju/juju/pull/820605:28
wallyworldwgrant: i just did a PR to fix. i'll backport to 2.3 for the next releae also05:29
wallyworldthumper: i think a 2.2.7 would be great actually05:29
wallyworldgiven the delay in 2.3.205:29
wgrantDo we have an ETA for 2.3.2? No rush, just wondering.05:31
wgrantAlso have the holes in the QA process been identified?05:31
axwwallyworld: -1 on treating file contents differently based on how many are specified05:31
wallyworldaxw: we have to05:31
wallyworldif we want to retain compatibility05:31
wallyworldand sensible behaviour05:31
wallyworldand conform to semantics of --config05:32
wallyworldthere's competing concerns here05:32
axwwallyworld: why do we _have_ to? why can't we merge the values underneath the application name?05:32
wallyworldbecause of how --config behaves - it can't distinguisg btween a yaml file with just key=values and one with the charm settings format05:33
wallyworldit could guess but that would be bad IMO05:33
anastasiamacwallyworld: why r we doing something silly for the sake of compaibility? i'd rather do the right thing05:33
wallyworldwe can't break compatibility05:34
wallyworldand there's a reason for a single yaml file to have that format05:34
wallyworldas it allows juju config to be redirected to a file and resued05:34
wallyworldbut that then cinflicts wirh --config behaviour05:34
wallyworldso we need to try and accommodate both05:35
thumperwgrant: probably not until the new year based on extra tests we are getting in place, and the fact that many people aren't around05:35
axwwallyworld: sorry, I don't follow. can you point me at some code or docs or something?05:35
wallyworldthere will only ever be one yaml file with charm config format05:35
wallyworldaxw: hang out? will be easier05:35
wgrantthumper: Sounds entirely reasonable. Thanks for the info.05:35
axwwallyworld: sure05:35
axwsee you in standup05:35
* thumper at EOD05:39
thumpercaio05:39
wallyworldaxw: from what i can see, we allow for bundle storage from the CLi to override what is in the bundle itself, but as of now, there;s no equivalent mechanism for charm config - you get what's in the bundle and that's it06:20
wallyworldso i think we can defer doing that stright up06:21
wallyworldand just support charms for now using --config06:21
axwwallyworld: sounds fine to me, if that's how it is now06:22
wallyworldthat's what it looks like06:22
wallyworldwe pass in bundleStorage to the bundle handler06:22
wallyworldbut not any config - that's just used in deployXCharm06:22
wallyworldand all bundle config looks like it is just read from the bundle yaml06:23
axwwallyworld: yep, I can't see anywhere it's used either06:23
wallyworldi still need to combine yaml and config name/value for v5 of the api though06:23
wallyworldif both are specified06:23
=== frankban|afk is now known as frankban
wallyworldaxw: that PR is updated07:16
axwjam: thanks for the reviews mr. mylastname :o)10:02
jam:)10:03
axwjam: don't suppose you know what normally gets cleaned up on the CI machine when spaces runs out?10:07
jamaxw: I do not, unfortunately10:07
jamaxw: did you check /tmp or /var/log ?10:08
axwnot much in either10:08
jamI would also potentially check 'ps' output in case there are file handles that are open but 'deleted'.10:08
jamaxw: du --max-depth=3 / | sort -n10:08
jamhas always been my friend10:08
jammaybe max-depth=4 if you're at '/'10:08
axwthanks10:09
axwgotta go, I'll bbl10:13
axwballoons: juju-core-slave has run out of disk. can you please let me know what you would normally delete, so I can fix it next time?  there's some stuff in /var/lib/lxd.old, taking up 1.5GB of precious space10:14
axwunchanged since July 19 201610:14
axw*probably* safe to remove...10:14
axwI dunno if these things are backed up though10:15
akshay_4:31 pm <akshay__> Hi All, one of our charms uploaded on charms store is not getting listed  on the portal. We have uploaded total 6 charms and only 5 are getting listed. Having said that we can see the missing charm by exact url.11:37
akshay_List of the charms can be seen at: https://jujucharms.com/q/hyperscale11:38
jamanyone care to review a near-trivial change: https://github.com/juju/juju/pull/820811:41
jamakshay_: I think you can ask on juju@lists.ubuntu.com11:44
akshay_Thanks @jam I have sent out a mail to the same, will wait for the response.12:01
rogpeppejam: I don't understand this sentence: "you have to somehow sighup juju itself to allow it to reopen its file handles, without also restarting all of the 1000s of units that are actively communicating with juju"12:13
jamrogpeppe: most things that use an external log rotator, restart the underlying process, or at least tell it to close the handles and reopen them, so they stop writing to the old location.12:14
jamhowever, if you restart jujud, then everything connected to it (all the other agents), also lose their connections12:14
jamwhich seems very bad in a large deployment12:14
jamso I'd rather we just leave stdout/stderr to an unrotated file, but don't put much content there, and then rotate our logs without bouncing anything.12:15
rogpeppejam: what do you mean by "external log rotator" there?12:15
jamrogpeppe: some process that isn't juju that rotates logs12:16
jamrogpeppe: eg 'apt install logrotate'12:16
rogpeppejam: so which process are you talking about restarting?12:16
jamrogpeppe: if you just 'mv stdout.log stdout-123456.log' you then have to get the process that was writing to 'stdout.log' to close its file handle, and open a new one.12:17
jamthe standard 'logrotate' mechanism is to bounce the agent (eg, postgresql)12:17
rogpeppejam: i wasn't suggesting doing that12:17
rogpeppejam: i was thinking of an external process that reads stdin and writes it to the current file, changing that file when it gets too big12:18
rogpeppejam: then pipe jujud output to that12:18
rogpeppejam: i guess the down side is that it's a tad less efficient because you're not writing directly to disk12:19
jami'm less concerned with that then having it be confusing because of more moving parts12:22
rogpeppejam: it would be less moving parts inside jujud itself (although I guess the scripts would need changing)12:27
rogpeppejam: i'm concerned that having stack traces separate from the log messages would make it hard to work out exactly where/when the stack trace occurred, making it hard to post-mortem debug12:28
rogpeppejam: also it means another log file to remember to gather up (and i guess that file would potentially need rotating too)12:29
rogpeppejam: because stack traces can be enormous12:29
jamrogpeppe: what if we just rotated on every startup ?12:39
rogpeppejam: how would that work for long-running daemons?12:40
jamrogpeppe: you don't have panic stacktraces in long running daemons, because SIGQUIT kills the process12:40
rogpeppejam: it's not improbably that a jujud might run for 6 months12:40
rogpeppes/bably/bable12:41
rogpeppejam: the problem that originally prompted the issue to be created was when we had a long running daemon that produced a stack dump12:42
rogpeppejam: another possibility would be to get juju to redirect its stderr to the rotated log file itself (by using syscall.Dup2)12:48
soumaya_We are bootstrapping on openstack using https identity service ...12:57
soumaya_ endpoint is https://192.168.23.222:5000/v312:58
soumaya_ but bootstrap is failing with following error ....12:58
soumaya_INFO  juju.provider.openstack provider.go:144 opening model "controller" 07:41:20 DEBUG juju.provider.openstack provider.go:798 authentication failed: authentication failed caused by: requesting token: failed executing the request https://192.168.23.222:5000/v3/auth/tokens caused by: Post https://192.168.23.222:5000/v3/auth/tokens: x509: cannot validate certificate for 192.168.23.222 because it doesn't contain any IP SANs ERROR au12:58
balloonsaxw, back14:14
balloonsThat slave is always close to full. I would remove old workspaces, but lxd data also sounds fine14:16
gsamfirahello folks14:56
gsamfirais there any ppa where I can still get juju 2.2.6 ?14:56
gsamfiraversion 2.3.1 seems to have issues with LXD containers :)14:56
=== frankban is now known as frankban|afk
balloonsgsamfira, there isn't a ppa but you can still get it from a snap branch18:43
balloonsgsamfira, what issues with lxd containers are you having? are you talking about the ubuntu-fan bug?18:43
balloonsgsamfira, https://bugs.launchpad.net/juju/+bug/173764018:45
mupBug #1737640: /usr/sbin/fanctl: arithmetic expression: expecting primary | unconfigured interfaces cause ifup failures <cdo-qa> <cdo-qa-blocker> <cpe-onsite> <foundations-engine> <regression-update> <verification-needed> <verification-needed-xenial> <juju:Triaged> <ubuntu-fan (Ubuntu):Confirmed for18:45
mupsmb> <ubuntu-fan (Ubuntu Xenial):Fix Committed> <https://launchpad.net/bugs/1737640>18:45
balloonsgsamfira, snap install juju --channel=stable/2.2.6 --classic18:45
hallynok - https://jujucharms.com/docs/1.22/howto-proxies tells me that "juju set-env" should work, but it doesn't exist18:58
hallynhow do I set http_proxy and no_proxy now?18:58
hallynjuju bootstrap --config somehow?19:00
hmlhallyn: you found an old version of the docs - it’s listed as no longer supported.20:03
hmlhallyn: here’s a list of the model keys for config: https://jujucharms.com/docs/stable/models-config20:03
hmlhallyn: juju bootstrap —config http-proxy=<string>20:04
hmlhallyn: you might want to look at —model-default as well with bootstrap20:04
=== akhavr1 is now known as akhavr
hmlbabbageclunk: ping20:38
babbageclunkhml: hey, sorry - was at the bank20:49
hmlbabbageclunk: have a few minutes for an HO?20:49
babbageclunkyup yup20:50
babbageclunkstandup?20:50
hmlbabbageclunk: sure20:50
wallyworldballoons: no call today?21:36
balloonswallyworld, tim is out, and trying to stay productive :-)21:52
wallyworldno worries21:52
balloonswallyworld, but I thought we were going to cancel the calls for this week21:52
wallyworldprobs yeah21:53
gsamfiraballoons: yes, the fan bug it is! Thanks for the hint about the snaps22:13
gsamfira<3 snaps22:24
hmlbabbageclunk: the config used was hiding in ProvisionerSuite.Model  :-)  now to clean up the test22:34
babbageclunkoh yay!22:34

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