Task control functions for long running tasks

Registered by Naohiro Tamura

This proposes unified way of controlling long running task such as
cleaning, zapping, soft reboot, soft shutdown, and inject NMI.

Control functions are:
- Abort
- Cancel/Rollback
- Get Progress (percentage, estimated end time)
- Suspend/Resume

Currently "cleaning" introduced new verb "Abort" [1], "soft reboot and
nmi" proposed new transit state CANCEL_REBOOT_SOFT,
CANCEL_POWER_OFF_SOFT and CANCEL_INJECT_NMI [2][3].

Control functions are common among tasks in concurrent programming.
It should be coordinated so that Ironic can provide customer with
unified I/F.

[1] https://review.openstack.org/#/c/201552/
[2] https://review.openstack.org/#/c/186700/
[3] https://review.openstack.org/#/c/216730/

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Naohiro Tamura
Direction:
Needs approval
Assignee:
Naohiro Tamura
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/task-control-functions-for-long-running-tasks,n,z

Addressed by: https://review.openstack.org/250783
    Add 'abort' support for Soft Power Off and Inject NMI

We're moving from using blueprints to track features to RFE bugs. I've filed one for your change (see related bugs section). Please track further work there using Closes-Bug, Partial-Bug or Related-Bug in commit messages and use this newly created RFE bug.
//vdrok 2015-12-16

Hi Vladyslav,
Thanks for taking care of the migration. I continue to work on the RFE bug report.
//naohiro 2015-12-17

Gerrit topic: https://review.openstack.org/#q,topic:task-control-functions-for-long-running-tasks,n,z

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.