Comment 12 for bug 1516989

Revision history for this message
Johan Ehnberg (johan-ehnberg) wrote :

I confirm the fix is effective. For large environments where hooks have failed, here's a one-liner after running the fix to re-run all the failed hooks, which should return the agents to normal (idle) state:
for i in `juju status --format tabular|grep failed|awk '{print $1;}'`;do echo Fixing $i;juju resolved -r $i;done