[07:04] Hello ! 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 that [08:28] goooooooooooooooooooooooooooooooooooooood morning! [08:30] Morning [08:31] morning Chipaca [09:11] Hmmm 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:12] and looks like juju did not install as shown by snap list [09:13] worked second time. Odd. [09:22] bthomas, that sounds like something to share in #juju/as a Juju bug. [09:23] I know there are some snap hooks that let Juju know about things like microk8s [09:23] jam : got it. worked second time so I am not sure if I can reproduce it. If I can will report it. [09:24] bthomas, it definitely sounds like a race condition that the script should be handling. [09:24] jam, bthomas, that looks like a snapd bug to me [09:25] Chipaca, depends what "server" it is trying to talk to :) [09:25] unless juju has a concept of 'plugs' [09:25] that's a snappy thing :) [09:26] Chipaca, 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] But if it is *snap* failing to talk to the server to ask it to run the hook, that would certainly be a snap issue [09:26] bthomas: 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 chatty [09:27] Chipaca: will do [09:27] bthomas: https://forum.snapcraft.io/t/4668/2?u=chipaca [09:27] easiest way to enable debug :) [09:28] thanks [09:28] * Chipaca has that bookmarked [09:28] * Chipaca always forgets he has it bookmarked [09:28] anyway, i need to take a break [09:29] I create notes of such tasty tips in org-mode [09:29] show-off [09:29] :þ [09:29] :-) [10:29] just asked the following in #juju by mistake, so if you're in both, sorry for the noise :) [10:29] jam: 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_data [10:29] jam: which means main needs to parse the juju version, and so does model (for app data) [10:29] jam: DRY would mean doing that once in main and then passing it in to model [10:29] is that worth it [10:30] what I'm going to do is do it in both places for now, and we can think about refactoring once that's out [10:32] Chipaca, in a meeting, will respond soon, but first cut sounds ok [10:54] Chipaca, can we join a hangout to discuss the options? [10:55] PYTHONEXECUTABLE [10:55] 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] Only works on Mac OS X. [10:55] *so close* [11:03] Chipaca, 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 vars [11:14] ¡Muy buenos días a todos! [11:21] facubatista: Buenos dias (but that is as far as my spanish goes :-) [11:22] bthomas, hello! :) [11:43] facubatista: q'acé caez'n! [11:43] :) hola Chipaca [11:44] jam: d'oh, i didn't see your earlier request-for-hangout [11:44] because, coding [11:44] morning facubatista [11:44] Hi Chipaca I'm back if you'd like to chat [11:44] hola jam [11:44] its almost bug revue time anyway [11:45] jam: I'm 5 minutes from a pushable branch [11:46] Chipaca, then finish it! [11:46] * Chipaca looks up the konami code for emacs [11:46] u u d d l r l r a b b a [11:52] not one M-x? [11:53] also, is ABBA part of a konami conspiracy [11:53] oh dang the symlinks won't work will they [11:54] jam: 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:55] jam: and then fire config-changed or something not in the handful of initial events [11:55] Chipaca, you mean 'snap install juju --channel 2.7/stable; juju bootstrap lxd lxd' ? [11:55] yes I can, but you probably can, too :) [11:55] you make it sound so easy [11:55] jam: sorry, yes, i'll do it [11:55] jam: i forgot 2.7 isn't that old that i need you to build it for me :) [11:55] Chipaca, I'm happy to help if it accelerates you, but give a man a fish and all that [11:55] * Chipaca likes fish [11:55] oh dang i haven't had lunch [11:56] is that a form of nerd sniping? [11:56] https://github.com/canonical/operator/compare/master...chipaca:argv0-woes?expand=1 [11:56] i haven't proposed it because AUGH [11:57] and i'm going to have lunch [11:57] Best part: AUGH THE SYMLINKS WON'T WORK NEWS AT 11 [12:06] Chipaca, meeting? [12:37] Issue operator#362 opened: Create symlinks when Juju version doesn't support dispatch [12:38] Issue operator#365 opened: Make JujuVersion.from_environ return 0,0,0 if JUJU_VERSION isn't set [12:39] Issue operator#358 closed: New configs added to a charm not available [13:35] Chipaca, meeting? [13:35] whoops [13:53] Chipaca, jam, https://obby.co.uk/schools/venturistable [13:53] Chipaca, it was pizza: https://blog.taniquetil.com.ar/posts/0517/ [13:56] Chipaca, indeed you were there https://www.dropbox.com/sh/0pw0yix8qmc3qgy/AADJFfwTzVo28bNt7qexvKjxa?dl=0&preview=IMG17916.JPG [13:57] I remember there was an issue with the train, we had to walk quite a lot [15:05] man, we really need spread-like integration tests [15:08] facubatista: charmcraft-built charms on 2.7 don't work at all [15:09] bah, it's gnuoy's bug [15:09] hmm [16:01] PR operator#366 opened: version-check to determine dispatch support [20:00] * facubatista eods