juju-wait should stop waiting when a workload status goes to error

Bug #1602803 reported by Jason Hobbs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Wait Plugin
New
Undecided
Unassigned

Bug Description

juju-wait should give up waiting if a service or unit goes into error status. It can do this right now only if workload-status is being monitored for being active, but this would have value in other times too.

For example, in OIL, not all of the charms we're deploying have workload status implemented - some leave it unknown, so we can't monitor workload status. But, we still want juju-wait to exit whenever there is an error in a charm. Eventually it will exit because we have a timeout, but we would like it to exit immediately so we can clean up the job and deploy something else.

Tags: oil
Revision history for this message
Cory Johns (johnsca) wrote :

There's some issue with this, though, in that Juju 2.x will automatically retry hook failures and transient issues shouldn't necessarily block a deployment. See https://bugs.launchpad.net/juju-wait/+bug/1680963

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.