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
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