/srv/irclogs.ubuntu.com/2020/11/09/#juju.txt

Hybrid512Hi14:02
Hybrid512One small question : I sometime have some units that are stuck in "blocked" status because of apache2 not running (or ports not open but that's most of the time related to the same issue). I'm not talking anout why apache2 is not running, this is due to a known issue with HA and certificates and there is a simple workaround in that case. My14:05
Hybrid512question is, when I fix the problem and restarted Apache2, it takes sometaimes many minutes before the unit switch to the ready state because I suppose there are some scheduled checks and until that check is not triggered, status doesn't change.14:05
Hybrid512When units are in error state, I can use the "juju resolve" command that retrigger the hook immediately, is there something similar with blocked units ? Is there a way to force triggering a check so that a fixed unit can switch to the ready state immediately ?14:06
Hybrid512and not by waiting minutes14:07
stickupkidHybrid512, that's a good question... from reading the code around resolve, it checks just for the error status... I'll ask around to see if and why that can't encompass blocked14:29
Hybrid512I found an old bug reports towards this (for juju 2.0 beta) but this was never answered14:29
Hybrid512right now, something similar to "juju resolve" would be great ... actually, I would have thought "juju resolve" would do the trick but I then get an error message saying the unit is not in an error state :/14:30
stickupkidHybrid512, yes because we treat blocked and error as two different states14:47
stickupkidmanadart, https://github.com/juju/juju/pull/12279 gce14:47
Hybrid512stickupkid agreed but then, would be great to have a similar command to do that ... something like "juju unblock" or something14:48
=== _thumper_ is now known as thumper
jamthumper: /wave21:31
thumperjam: /wave back21:56

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