juju should retry failed update-status hooks

Bug #1681287 reported by Michael Foley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Won't Fix
Undecided
Unassigned

Bug Description

I think juju should retry update-status hook runs that fail. We see various charms that fail during the update-status hook call that a simple run of "juju resovled --retry" fixes and it would be nice if juju would do that automatically a limited number of times.

Not all failure cases of an update-status hook can be handled in within the hook itself and it would be generally helpful rather than every charm having to handle all possible failure modes.

Revision history for this message
John A Meinel (jameinel) wrote :

What version of Juju are you running? I thought we did auto-retry most hook failures.

Changed in juju-core:
status: New → Incomplete
Revision history for this message
Michael Foley (foli) wrote :

The environment that reminded me to file this bug is running juju 1.25.6, but I'm pretty sure I have seen it in 1.25.10 also.

If juju2 auto-retries most hook failures then that is good news.

I now see that information in the juju 2 docs now that I know to search for auto retry.
- https://jujucharms.com/docs/2.0/authors-hook-debug
- https://jujucharms.com/docs/2.1/models-config#retrying-failed-hooks

Thanks, this bug report can probably be closed.

Revision history for this message
Anastasia (anastasia-macmood) wrote :

Marking as 'Won't Fix' on juju-core based on comment # 2.

Thank you for clarification, Michael \o/

Changed in juju-core:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.