/srv/irclogs.ubuntu.com/2020/03/16/#smooth-operator.txt

Chipacagoood morning peeps09:17
niemeyerGooooood day :)09:46
Chipacaniemeyer: goooooooooooooooooooooooooooooooood  morning!10:50
Dmitrii-Shhttps://github.com/juju/juju/pull/11323 - "pod spec" becomes "k8s spec"10:56
Chipacanice10:57
Dmitrii-ShI think "pod spec" was a confusing term because it wasn't just about pods10:57
FacuMuy buenos días a todos!10:57
ChipacaFacu: buen día! no tennis today, right?10:57
Facuhola Chipaca! nop, I'm quarantined10:58
Chipacaok10:58
ChipacaDmitrii-Sh: Facu: can we have a meet in ~15 minutes?10:58
FacuChipaca, sure10:58
Dmitrii-Shack10:59
Chipacai've got my manager hat on so beware :-)10:59
FacuChipaca, niemeyer, I started this https://docs.google.com/document/d/12dha4GkmjWusAN6cMMZsQKKK-qfpVrvPFw6PRX0wUNA/edit# (so we can collect requirements or discussion items for when we actually talk/decide this)11:13
FacuChipaca, I'm ready now! Room 57? ( https://meet.google.com/veq-yfqm-kdk )11:14
ChipacaFacu: sure11:16
ChipacaDmitrii-Sh: ^^11:16
FacuChipaca, we're there11:16
Chipacajam: 👋12:21
jamChipaca: Is that the hand-washing emote?12:21
Chipacajam: no clearly that's 👐12:22
Chipacaor maybe 👏12:22
Chipacajam: i was pinging you because i'm (experimentally) changing how our standups work12:23
Chipacaniemeyer: ^ you too, probably, at least for now :-)12:23
Chipacajam: there'll be a google doc where you write what you worked on (and maybe what you're hoping to get to); this needs to be written before the standup itself12:23
Chipacathen at the standup you just call out things that bring up questions, or blockers, or just highlights; the team reads the standup doc after the meeting to catch up with the rest of the detail12:24
Chipacajam: this serves three purposes12:24
Chipacajam: 1. focus and shorten the standups themselves12:25
Chipacajam: 2. feed into a weekly 'whattup with chamrcraft' email12:25
Chipacajam: 3. make it less hypercritical to have the standups such that everybody can make them every day12:25
Chipacajam: hopefully this makes sense to you12:26
jamChipaca: and a google doc vs a trello/kanban/discourse/something else?12:26
Chipacajam: a trello exists but it's less detailed than this, yes12:26
jamChipaca: I'm fine with it, just have gotten used to other project managementy tools.12:26
Chipacaour trello: https://trello.com/b/SGgb8v0h/charmcraft12:27
jamChipaca: the google doc that I see linked above is https://docs.google.com/document/d/12dha4GkmjWusAN6cMMZsQKKK-qfpVrvPFw6PRX0wUNA/edit which points to "Charm Tool Spec" is there a different doc that I missed?12:27
Chipacastill nascent, i should add12:27
Chipacathe standup doc is a different one12:27
ChipacaFacu: Dmitrii-Sh: jam: niemeyer: https://docs.google.com/document/d/1sJQ5-OtK83x2KdePZfp1AC_3FQJrvzXaWFEc_n-4vxY/edit#12:27
ChipacaFacu: Dmitrii-Sh: if you could read what i just told jam to double-check it (1) matches what we discussed, and (2) i didn't forget anything please :-)12:28
Chipacajam: the trello will have doing/.../done lanes but does not have them yet fwiw12:28
FacuChipaca, looks fine12:29
Chipacajam: i'm still thinking about how best to keep track of some of the things, as quite a bit of at least outreach / library work is not a flow of work12:30
Chipacajam: i also brought forward the standup half an hour fwiw (so we won't have Facu on Mondays once quarantine is up, but otherwise should work for all)12:31
jamChipaca: everyone is away on Friday? What party day is this?  :)12:32
Chipacajam: the feast of St. Arnold of Soissons (patron saint of beer)12:33
FacuI *may* work on Friday, if PyCamp is cancelled here12:33
Chipacajam: i asked for holiday because i was going to run in lisbon :'(12:33
FacuChipaca, run in lisbon?12:34
ChipacaFacu: lisboa meia maratona12:35
jamWikipedia says the Feast is August 14, are you just trying to get a day of for extra beer? :)12:35
Facuoh12:35
jamChipaca: you were running from Friday through Monday? That is true dedication12:35
Chipacawell, some tourism was also planned12:36
Chipacajam: wrt the feast, maybe we're observing it on the orthodox calendar12:37
jamChipaca: I thought you were just running to Lisbon and back.12:37
jamhttps://www.google.com/maps/dir/London,+UK/Lisbon,+Portugal/@44.7763435,-13.6239022,5z/data=!3m1!4b1!4m14!4m13!1m5!1m1!1s0x47d8a00baf21de75:0x52963a5addd52a99!2m2!1d-0.1277583!2d51.5073509!1m5!1m1!1s0xd19331a61e4f33b:0x400ebbde49036d0!2m2!1d-9.1393366!2d38.7222524!3e212:38
jamsays its about 375hrs12:38
jambut you're running, not walking, right?12:38
jamChipaca: I also don't have edit rights to the doc where you want me writing what I've been up to :)12:57
Chipacafixing...12:57
Chipacajam: please reload12:57
jamChipaca: fixed. thanks. Is the intent to have 10min standups/ break other discussions out of it?13:02
Chipacajam: that route cheats because it puts you on a ferry, that's non-canon13:04
Chipacajam: i am not too religious about it, in that i'm ok with a little discussion happening in the standup, but as soon as it gets rambly yes it should break out13:04
Chipacajam: some research is still needed on the subject of pontoon running shoes13:07
Chipacaand at what point are you just standing on a boat13:07
jamChipaca: when you hook up outboard motors on the back ?13:07
Chipacajam: maybe it should be a venetian bicycle and call it a biathlon13:09
Chipacaor, swimming, but i suck at swimming13:09
* Chipaca also sucks at running13:09
Chipacaignore that last comment, it was from my knee13:09
FacuChipaca, can not edit the doc13:18
ChipacaFacu: reload?13:18
ChipacaFacu: or use your canonical acct13:18
FacuChipaca, reloaded, thanks13:19
ChipacaFacu: also, https://artsandculture.google.com/asset/among-the-sierra-nevada-california/IQE1CY9y_Rfy5A13:19
FacuChipaca, nice! the author removed the AT-AT! :p13:20
ChipacaFacu: it was shrouded by the revisionists13:23
Facujeje13:23
Chipacajam: standup?13:31
jamyep, just getting out of my last one13:31
Chipaca10 events, sitting in a queue13:59
Chipacawe're getting better! that was only double the lenght it should've bene :-|14:29
Chipacabeen*14:29
niemeyerSorry... /o\14:29
Chipacaniemeyer: we'll get there :-)14:31
Facuniemeyer, where do you propose to start piling examples? (my only suggestion is that this shouldn't be too public, so far, until we have some APIs more stable)14:37
niemeyerFacu: Best thing I can think of right now is a repository under canonical/ with "examples" or "samples"  as part of the name, and one example per subdir14:38
niemeyerFacu: WE might then take PRs on that14:38
niemeyerFacu: That's just one idea though14:38
Facuniemeyer, ack14:39
Chipacaniemeyer: Facu: how about an 'examples' branch in operator itself?14:52
ChipacaDmitrii-Sh: WRT gnuoy and the ceph-iscsi charm, what he needs is a check that he's using the framework in a sensible way (and not a line-by-line python code review)14:55
Dmitrii-Shok14:56
Chipacaniemeyer: how're you for meetings? can i make your life worse in that sense14:57
niemeyerChipaca: On a call but can do shortly15:11
* Facu -> lunch15:21
Dmitrii-ShFacu: does that right any bell?16:14
Dmitrii-Shcharm push ./ cs:~dmitriis/nats16:14
Dmitrii-ShERROR cannot post archive: cannot put archive blob: failed to PUT object 3701adfe8af7ba58-3c2ab4da9ad292fc from container charmstore-blobs16:14
Dmitrii-Shcaused by: failed executing the request http://10.24.0.23:8080/v1/AUTH_acf64c68bc7349c98dec46b7e0e72d9f/charmstore-blobs/3701adfe8af7ba58-3c2ab4da9ad292fc16:14
Dmitrii-Shcaused by: Put http://10.24.0.23:8080/v1/AUTH_acf64c68bc7349c98dec46b7e0e72d9f/charmstore-blobs/3701adfe8af7ba58-3c2ab4da9ad292fc: read tcp 10.25.10.42:51284->10.24.0.23:8080: read: connection reset by peer16:14
Dmitrii-ShIt succeeded after I retried16:15
FacuDmitrii-Sh, let me see16:15
FacuDmitrii-Sh, no clue anyway... that's the old charmstore?16:16
Dmitrii-Shyes16:16
Facuah, don't know much about its infrastructure16:21
Facusorry16:21
Dmitrii-ShChipaca: Apparently, there is no way to install and disable a snap. So the race condition I was after was because of the following sequence:16:22
Dmitrii-Sh1) snap got installed;16:22
Dmitrii-Sh2) systemd service start attempts by snapd followed that before a config was rendered by a charm;16:22
Dmitrii-Sh3) the charm then rendered the config but a `systemctl service start <service>` made by it then failed once. It then succeeded on a retry.16:22
Dmitrii-ShFacu: ok, np16:23
ChipacaDmitrii-Sh: i'm not sure i understand what you mean16:24
ChipacaDmitrii-Sh: snaps can ship services that are disabled until they are configured16:24
ChipacaDmitrii-Sh: snap services can be disabled after installing the snap, but there is no way to say 'install this but disable the services'16:24
Chipacamaybe that's what you mean16:25
ChipacaDmitrii-Sh: what is the snap?16:25
Dmitrii-ShChipaca: yes, maybe this is a bug of a particular snap - services shouldn't be started before a config is supplied from an external entity (the charm in this case).16:25
Dmitrii-Shand, yes, there's no 'install --disable'16:26
ChipacaDmitrii-Sh: as a blanket assertion that is false16:26
Chipaca"services shouldn't be started before a config is supplied" is false, i mean, in general16:26
Dmitrii-ShChipaca: it's the nats snap created by the Anbox team16:26
Chipacait is perfectly possible to ship a service that works without a config16:26
Chipacaif it does need a config, then its install hook should disable the services until that config is provided16:26
Chipacaeasy to do16:27
Dmitrii-ShChipaca: yes, in this particular case it didn't make sense to start it before config is available.16:27
Dmitrii-Shand the fix was to do snap stop nats --disable on install16:27
Dmitrii-Shand then start --enable after the config was renderd16:27
Dmitrii-Shrendered*16:27
ChipacaDmitrii-Sh: the real fix is for the snap's install hook to do 'snapctl stop --disable' itself16:30
Dmitrii-Shok, I'll suggest that to Simon16:37
FacuChipaca, do we want or not to have copyright header in otherwise empty files? (`__init__.py`)16:43
ChipacaFacu: nope16:43
Facuack16:43
ChipacaFacu: that's why the previous checker explicitly ignored empty files16:43
Facu-not -empty16:43
Facunice16:43
Facu`find` is so complex16:44
Chipacatbf the -type f should be the first predicate, but ¯\_(ツ)_/¯16:44
niemeyerChipaca: SOrry, left one to join another.. I'm available now.. how're things there?16:55
Dmitrii-ShGot another person asking me about how to easily retrieve pod fqdns and expose them to a different app without relying on ingress-address == cluster-ip https://bugs.launchpad.net/juju/+bug/186716817:43
Dmitrii-Shseems like this will be a common theme for stateful apps that use headless services in K8s https://kubernetes.io/docs/concepts/services-networking/service/#headless-services17:43
FacuMoved all tests to unit tests, removed Makefile, improved README for dependencies and how to test: https://github.com/canonical/operator/pull/18418:06
Chipacaniemeyer: and I'd stepped out to get some sunlight18:07
Chipacaniemeyer: i need to get dinner started, but it's not a 100%-of-my-concentration thing once i've kicked it off so we can probably chat while i do it, if that works for you -- ping me on signal or tg if it works for you too18:09
* Chipaca will probably be able to work fine with 9 fingers after all18:09
niemeyerChipaca: Sounds dangerous :)18:11
niemeyerWe can do it tomorrow18:11
Facuif I do juju status, I see for postgresql/0:  Workload=active    Agent=idle19:13
Facufor my-super-charm the Agent is also idle, but the Workload is in "unknown" state... is this ok? there's something charm side that should change that?19:14
* Facu eods20:36
ChipacaFacu: 👋20:36
ChipacaFacu: have a good one20:36

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