/srv/irclogs.ubuntu.com/2020/07/30/#smooth-operator.txt

ballotjam: following our discussion yesterday about podspec "spec" documentation : https://bugs.launchpad.net/juju/+bug/188951908:26
jamthanks ballot08:26
barrypricejam: oh one other thing, I noticed that on deploy, my units get Workload set to 'active' in juju status, but after a config change, new units are spawned and their Workload becomes 'unknown'09:33
barrypricenot very high priority but I thought I was handling that09:33
jambarryprice, let me look09:34
mthaddonbarryprice, jam: I think that's because in configure_pod you're only setting status on the leader?09:34
barrypricemthaddon: it affects the leader too though09:35
barrypricehmm or maybe the old leader sets spec which causes new pods to come up and until config-changed next fires, there's no status set?09:35
barrypriceI'm a bit fuzzy about the order in which things happen there, do the new pods come up during config-changed or after it's fired?09:36
jambarryprice, so none of the other units have a status set (as tom noted). For the leader itself, I would think that Juju would look at the readiness probe to determine when the pod has transitioned to fully ready09:36
jamafter being restarted09:36
jambarryprice, IIRC, you should set the status to active, and then Juju will handle the fact that it isn't actually active while the pod is restarting.09:37
barrypriceha, ok - thanks. this is low pri, it was just bugging me09:37
mthaddonI'd expect the pods are rescheduled if there's a config change by "self.model.pod.set_spec(spec)"09:37
mthaddonjam: https://paste.ubuntu.com/p/7n6t8kbq6M/ does that look like a reasonable .jujuignore for the jenkins-agent charm?10:18
jammthaddon, looks reasonable to me. Juju has some default ignores (like build), but I think it is fine to be explicit in your rules10:19
mthaddonack - I wasn't sure if there were defaults, but sounds good, thx10:19
barrypricemthaddon: fyi https://github.com/canonical/charmcraft/blob/master/charmcraft/jujuignore.py#L20810:33
mthaddonah thx10:34
mthaddonlooks like I need to include trailing / for directories, will update10:36
facubatista:hlo:11:14
facubatista¡Muy buenos días a todos!11:14
facubatistajam, did you see my mail about release notes? I'd try to do the release now (in case my electricity provider decides to ruin my day later)11:17
jamfacubatista, morning. I did see them, I'll look over them once more and confirm. They seemed ok11:17
facubatistajam, thanks!11:18
jamfacubatista, meeting?12:02
facubatistaoops12:03
mupIssue operator#249 closed: Let's instrument all registered methods' calls <bug> <Created by facundobatista> <Closed by jameinel> <https://github.com/canonical/operator/issues/249>12:23
ballotHello there. Is there a way to retrieve the config value set for juju-external-hostname config item ? I'm logging self.model.config and the key doesn't seem to be here even when set.12:50
* facubatista -> errands, bb~1h15:20
* facubatista eods21:16

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