[08:31] 👋❗ [09:09] morning [09:26] Chipaca is there a self.peer_set() function in OPS ? [09:26] bthomas: no [09:27] Ah ok. So looks like i am misunderstanding what jam was saying on charmelot. Seems like that was a exploratory suggestion. [10:52] ¡Muy buenos días a todos! [10:58] facubatista: [citation needed] [10:58] 🙂 [10:58] hola Chipaca! [10:58] facubatista: q'acelga caezn [10:58] Chipaca, acá me ando [10:58] facubatista: guarda con los cables [10:59] *sparks of joy* [10:59] * Chipaca LOLs [10:59] facubatista: are we doing the bug revue today? otherwise i'll get me some lunch [11:01] Chipaca, let's do it (I can wait for you, though) [11:02] facubatista: let's do it now, and wrap 10' early [11:02] then i can monch before the osm meet [11:02] ack [11:06] * bthomas wants to learn spanish and travel the picturesque roads of the "Motorcycle diaries" === oscar_44 is now known as oscar_0 [13:01] I have a question. In a juju model, if a unit is added or removed, is there an event that can catch that in the operator framework? [13:03] because the scenario is that I need to make the charm to regenerate the config file if one unit is added or removed [13:03] oscar_0: is the unit that is added or removed related in some way to the charm that needs to regenerate its config? [13:03] yes it has a relation [13:07] oscar_0: then you'll get a bunch of events 🙂 [13:08] oscar_0: you'll get foo-relation-joined, and foo-relation-changed, when it appears [13:09] oscar_0: and foo-relation-departed and -broken when it disappears [13:09] Chipaca: ah, thanks. appreciate your response [13:09] oscar_0: observe them with e.g. self.framework.observe(self.on[foo].relation_joined, self._on_foo_relation_joined) [13:10] Chipaca: great, I think that one helps me to get on track with this [13:11] oscar_0: FWIW you can also write that as self.on.foo_relation_joined (instead of ["foo"].relation_joined), whichever you find more convenient [13:26] Chipaca: is "relation_broken" called when a relation is removed? [13:27] oscar_0: https://discourse.juju.is/t/charm-hooks/1040#heading--name-relation-broken [13:27] oscar_0: 🙂 [13:28] I know, I should RTFM ;) [13:29] oscar_0: i only point you at it as it is more nuanced [13:29] a simple yes/no might've done you a mis-service [13:30] Chipaca: yep, thanks for the reference [14:04] * facubatista -> errands, brb [14:08] * facubatista cancelled the errands, will do later