actions status does not reference the action that was triggered
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Eric Claude Jones |
Bug Description
When running an action I can trigger many and the show-action-status does not help me identify what the action was after the fact.
Current behavior:
juju run-action percona-cluster/0 pause
Action queued with id: 8881ff73-
juju run-action percona-cluster/0 backup
Action queued with id: a62a9385-
juju run-action percona-cluster/0 resume
Action queued with id: 780381ce-
juju run-action percona-cluster/0 backup
Action queued with id: 8f8aee46-
juju show-action-status
actions:
- id: 780381ce-
status: completed
unit: percona-cluster/0
- id: 8881ff73-
status: completed
unit: percona-cluster/0
- id: 8f8aee46-
status: completed
unit: percona-cluster/0
- id: a62a9385-
status: failed
unit: percona-cluster/0
There should be some information on the action that triggered it for context.
juju show-action-status
8881ff73-
action: pause
arguments:
status: completed
unit: percona-cluster/0
completed at: 2016-06-28 12:32:00
a62a9385-
action: backup
arguments:
status: failed
unit: percona-cluster/0
completed at: 2016-06-28 12:32:30
780381ce-
action: resume
arguments:
status: completed
unit: percona-cluster/0
completed at: 2016-06-28 12:34:03
8f8aee46-
action: backup
arguments:
status: completed
unit: percona-cluster/0
completed at: 2016-06-28 12:35:15
Notes:
The order of the items is kept by their completion times. Here is a very specific case where order is important. I tried to backup after I stopped the database. Ooops!
We've added the action that was run and the arguments used with it.
the completed at timestamp is tracked to help identify timelines that might tie into things like audit logs that would have effected if the action completed successfully or not.
We don't prefix the whole thing with actions: key as there's no point to it here.
Changed in juju-core: | |
milestone: | none → 2.0.0 |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0.0 → none |
milestone: | none → 2.0.0 |
Changed in juju: | |
milestone: | 2.0.0 → 2.0.1 |
Changed in juju: | |
milestone: | 2.0.1 → none |
Changed in juju: | |
assignee: | nobody → Eric Claude Jones (ecjones) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
milestone: | none → 2.2-rc1 |
Changed in juju: | |
status: | Fix Committed → Fix Released |