/srv/irclogs.ubuntu.com/2020/08/05/#smooth-operator.txt

ballotHello ! I've pushed the last modifications of the charm and all the tests in https://code.launchpad.net/~ballot/charm-k8s-mm-pd-bot/+git/charm-k8s-mm-pd-bot/+merge/388497 if you want to review part of it. Since it's the initial push with a working charm, this is quite a huge one, sorry for that07:04
Chipacagoooooooooooooooooooooooooooooooooooooood  morning!08:28
bthomasMorning08:30
jammorning Chipaca08:31
bthomasHmmm got the following error on snap installing juju "Run hook connect-plug-peers of snap "juju" (run hook "connect-plug-peers": error: cannot communicate with server: timeout exceeded while waiting for response)"09:11
bthomasand looks like juju did not install as shown by snap list09:12
bthomasworked second time. Odd.09:13
jambthomas, that sounds like something to share in #juju/as a Juju bug.09:22
jamI know there are some snap hooks that let Juju know about things like microk8s09:23
bthomasjam : got it. worked second time so I am not sure if I can reproduce it. If I can will report it.09:23
jambthomas, it definitely sounds like a race condition that the script should be handling.09:24
Chipacajam, bthomas, that looks like a snapd bug to me09:24
jamChipaca, depends what "server" it is trying to talk to :)09:25
Chipacaunless juju has a concept of 'plugs'09:25
Chipacathat's a snappy thing :)09:25
jamChipaca, so it is certainly part of snap installing, I thought it might be the script failing to talk to a Juju server during the plug hook execution.09:26
jamBut if it is *snap* failing to talk to the server to ask it to run the hook, that would certainly be a snap issue09:26
Chipacabthomas: you could enable debug logs in snapd so you have useful logs for the next time it happens for people to debug it, but it is rather chatty09:26
bthomasChipaca: will do09:27
Chipacabthomas: https://forum.snapcraft.io/t/4668/2?u=chipaca09:27
Chipacaeasiest way to enable debug :)09:27
bthomasthanks09:28
* Chipaca has that bookmarked09:28
* Chipaca always forgets he has it bookmarked09:28
Chipacaanyway, i need to take a break09:28
bthomasI create notes of such tasty tips in org-mode09:29
Chipacashow-off09:29
Chipaca09:29
bthomas:-)09:29
Chipacajust asked the following in #juju by mistake, so if you're in both, sorry for the noise :)10:29
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:29
Chipacajam: which means main needs to parse the juju version, and so does model (for app data)10:29
Chipacajam: DRY would mean doing that once in main and then passing it in to model10:29
Chipacais that worth it10:29
Chipacawhat I'm going to do is do it in both places for now, and we can think about refactoring once that's out10:30
jamChipaca, in a meeting, will respond soon, but first cut sounds ok10:32
jamChipaca, can we join a hangout to discuss the options?10:54
jam       PYTHONEXECUTABLE10:55
jam              If this environment variable is set, sys.argv[0] will be set to its value instead of the value got  through  the  C  runtime.10:55
jam              Only works on Mac OS X.10:55
jam*so close*10:55
jamChipaca, I'm stepping away for a bit. I think parsing it once and having it available as an attribute of model (probably private to start), would be nice, I do prefer not having Model interact with env vars11:03
facubatista¡Muy buenos días a todos!11:14
bthomasfacubatista: Buenos dias (but that is as far as my spanish goes :-)11:21
facubatistabthomas, hello! :)11:22
Chipacafacubatista: q'acé caez'n!11:43
facubatista:) hola Chipaca11:43
Chipacajam: d'oh, i didn't see your earlier request-for-hangout11:44
Chipacabecause, coding11:44
jammorning facubatista11:44
jamHi Chipaca I'm back if you'd like to chat11:44
facubatistahola jam11:44
jamits almost bug revue time anyway11:44
Chipacajam: I'm 5 minutes from a pushable branch11:45
jamChipaca, then finish it!11:46
* Chipaca looks up the konami code for emacs11:46
jamu u d d l r l r a b b a11:46
Chipacanot one M-x?11:52
Chipacaalso, is ABBA part of a konami conspiracy11:53
Chipacaoh dang the symlinks won't work will they11:53
Chipacajam: can you get a 2.7 juju, and a charmcraft-built charm, remove the 'dispatch' binary from the charm by hand, and push that to the 2.7 juju?11:54
Chipacajam: and then fire config-changed or something not in the handful of initial events11:55
jamChipaca, you mean 'snap install juju --channel 2.7/stable; juju bootstrap lxd lxd' ?11:55
jamyes I can, but you probably can, too :)11:55
Chipacayou make it sound so easy11:55
Chipacajam: sorry, yes, i'll do it11:55
Chipacajam: i forgot 2.7 isn't that old that i need you to build it for me :)11:55
jamChipaca, I'm happy to help if it accelerates you, but give a man a fish and all that11:55
* Chipaca likes fish11:55
Chipacaoh dang i haven't had lunch11:55
jamis that a form of nerd sniping?11:56
Chipacahttps://github.com/canonical/operator/compare/master...chipaca:argv0-woes?expand=111:56
Chipacai haven't proposed it because AUGH11:56
Chipacaand i'm going to have lunch11:57
jamBest part: AUGH THE SYMLINKS WON'T WORK NEWS AT 1111:57
facubatistaChipaca, meeting?12:06
mupIssue operator#362 opened: Create symlinks when Juju version doesn't support dispatch <Created by gnuoy> <https://github.com/canonical/operator/issues/362>12:37
mupIssue operator#365 opened: Make JujuVersion.from_environ return 0,0,0 if JUJU_VERSION isn't set <Created by chipaca> <https://github.com/canonical/operator/issues/365>12:38
mupIssue operator#358 closed: New configs added to a charm not available <Created by davigar15> <Closed by chipaca> <https://github.com/canonical/operator/issues/358>12:39
facubatistaChipaca, meeting?13:35
Chipacawhoops13:35
facubatistaChipaca, jam, https://obby.co.uk/schools/venturistable13:53
facubatistaChipaca, it was pizza: https://blog.taniquetil.com.ar/posts/0517/13:53
facubatistaChipaca, indeed you were there https://www.dropbox.com/sh/0pw0yix8qmc3qgy/AADJFfwTzVo28bNt7qexvKjxa?dl=0&preview=IMG17916.JPG13:56
facubatistaI remember there was an issue with the train, we had to walk quite a lot13:57
Chipacaman, we really need spread-like integration tests15:05
Chipacafacubatista: charmcraft-built charms on 2.7 don't work at all15:08
Chipacabah, it's gnuoy's bug15:09
Chipacahmm15:09
mupPR operator#366 opened: version-check to determine dispatch support <Created by chipaca> <https://github.com/canonical/operator/pull/366>16:01
* facubatista eods20:00

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