juju-2.0 has no way to cancel an action
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Eric Claude Jones |
Bug Description
There doesn't appear to be any way to cancel an action in juju-2.0.
I got myself into a state where juju-2.0 had actions pending that would never run. This happened when I got bitten by LP#1537585, the only fix I found was to juju destroy-unit on the failing lxc. Once that happens, the next time I did a juju run on all services it would hang, seemingly trying to connect to the unit which I had destroyed.
Regardless, there should be a UI for removing a action from the queue, there could be other reasons why you don't want them in there.
Also, the help for juju run-action refers to commands that don't exist to do this, specifically:
"Queue an Action for execution on a given unit, with a given set of params.
Displays the ID of the Action for use with 'juju kill', 'juju status', etc."
I couldn't find any evidence of there being a juju kill command.
This occured with juju 2.0-beta7.
Please let me know if you need any further information.
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.2-beta1 → 2.2-beta2 |
Changed in juju: | |
milestone: | 2.2-beta2 → 2.2-beta3 |
tags: | added: talisman |
Changed in juju: | |
assignee: | nobody → Eric Claude Jones (ecjones) |
Changed in juju: | |
milestone: | 2.2-beta3 → 2.2-beta4 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Command to cancel an action could be useful. We'd need to consider what to do in both cases - for actions that do have a unit and for actions that are orphaned (unit is dead).
This bug will focus on means of canceling an action. /bugs.launchpad .net/juju- core/+bug/ 1588095
I am breaking out the help into a separate bug: https:/