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