/srv/irclogs.ubuntu.com/2020/08/05/#juju.txt

manadart_achilleasa: Just gonna eat something, but I need a quick chat with you about the instance-poller worker.08:48
achilleasamanadart_: sure; ping when back09:03
manadart_achilleasa: Kickin' it in Daily.09:07
bthomasJust an FYI: First time I tried to install juju using snap I got the following error --  "Run hook connect-plug-peers of snap "juju" (run hook "connect-plug-peers": error: cannot communicate with server: timeout exceeded while waiting for response)". Snap list showed that the juju snap had not installed. On attempting to install Juju a second time it worked seemlessly. Seems like a race condition. I have not tried to debug/reproduce09:54
bthomasit. One way to reproduce it may be to stop microk8s, then start it and soon after try installing juju snap.09:54
Chipacabthomas: #snappy may also be interested in that fwiw10:19
Chipacai'm not there so maybe you already told them10:19
Chipaca(i'm not there because if i were i'd work on snappy stuff :-p)10:19
Chipacajam: I think the only sane way out of this dispatch mess we've dug ourselves into is to look at the juju version, like what we did with has_app_data10:26
Chipacajam: which means main needs to parse the juju version, and so does model (for app data)10:26
Chipacajam: DRY would mean doing that once in main and then passing it in to model10:26
Chipacais that worth it?10:26
Chipacawait, wrong channel10:29
* Chipaca facepalms10:29
manadart_bthomas: Can confirm. I removed/re-installed Microk8s around it, and it worked.10:53
bthomasmanadart_: Hmmm. If I see it again I will try and dig a bit deeper.10:54
manadart_achilleasa: Forward merge: https://github.com/juju/juju/pull/1188012:10
achilleasamanadart_: any conflicts?12:10
achilleasaah, nevermind12:10
manadart_achilleasa: It's mine, plus a one-liner from Ian.12:11
gnuoyWhen I upgrade my 2.8.1 controller to 2.8.2 it never seems to register that the upgrade has succeeded. list-controllers still reports it is on 2.8.1. show-controller reports that  controller-model-version is 2.8.2 but agent version is 2.8.1.12:47
gnuoyI am upgrading it with "juju upgrade-controller --agent-stream=devel"12:47
gnuoyMy env is totally disposable fwiw12:48
manadart_gnuoy: Let me try to repro.12:48
gnuoyI am trying to reproduce a bug reported by a user who some how managed to get themselves on 2.8.212:48
gnuoythanks manadart_12:48
gnuoymanadart_, fwiw the machine-0.log on the controller contains a lot of:12:50
gnuoy2020-08-05 12:45:59 ERROR juju.worker.dependency engine.go:671 "upgrader" manifold worker returned unexpected error: no matching agent binaries available12:50
manadart_gnuoy: The devel stream doesn't have them. We have not been publishing there for some time it appears. Try `--agent-stream=proposed`.12:54
gnuoymanadart_, "no upgrades available"12:55
gnuoymanadart_, I can recreate the 2.8.1 and try again with proposed12:56
manadart_gnuoy: Hmm. OK, I'll look in a mo'.12:56
gnuoymanadart_, fwiw redeploying and using `--agent-stream=proposed` resulted in the same outcome; controller-model-version at 2.8.2 but agent version at 2.8.1 and the same "no matching agent binaries available" entries in the controller log. Although I see no reference to 2.8.2 in machine-0.log at all13:08
manadart_gnuoy: OK, OTP presently, but I'll suss it our immediately after.13:08
gnuoyIs it expected that an upgrade to Juju 2.8.2 will trigger a charms install hook ? That appears to be mcayland observed yesterday (and it highlighted a bug in the nova-cloud-controller charm). I cannot reproduce that behaviour when upgrading to 2.8.1. I haven't managed to upgrade to 2.8.2 yet. Upgrading to 2.8.1 from <2.8 causes relation hooks to fire but I haven't seen the install hook fire.13:48
pmatulisgnuoy, after controller upgrade try 'juju controllers --refresh'14:15
manadart_achilleasa: See comment regarding install hook from gnuoy ^14:16
gnuoypmatulis, yeah, I was doing the refresh14:17
manadart_gnuoy: https://bugs.launchpad.net/juju/+bug/189045214:42
mupBug #1890452: Juju allows upgrade based on stream, but fails to find agent binaries <juju:New> <https://launchpad.net/bugs/1890452>14:42
gnuoythanks manadart_14:42
manadart_gnuoy: The work-around to force it into action is `juju model-config agent-stream=proposed`.15:12
gnuoyah, great, thans manadart_15:13
manadart_For the controller ^15:13
gnuoy* thanks15:13
* manadart_ nods.15:13
achilleasacan I get a review on https://github.com/juju/juju/pull/11881?17:08
achilleasahml: you might want to take a look ^ it's the next step from the PR you reviewed yest17:08
hmlachilleasa:  ack17:08
achilleasapetevg: can you also do a QA and doc check (I changed the docs for the three hook tools) for ^^^17:14
petevgachilleasa: will do!17:15

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