[RFE] Task control functions for long running tasks

Bug #1526768 reported by Vladyslav Drok
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
In Progress
Wishlist
Naohiro Tamura

Bug Description

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/

Tags: needs-spec rfe
Vladyslav Drok (vdrok)
Changed in ironic:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: rfe
Revision history for this message
Vladyslav Drok (vdrok) wrote :

Copy of 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

Changed in ironic:
assignee: nobody → Naohiro Tamura (naohirot)
tags: added: ipmi irmc
Changed in ironic:
status: Confirmed → In Progress
Revision history for this message
Jim Rollenhagen (jim-rollenhagen) wrote :

The patch above doesn't address a "unified way of controlling long running task". We'll need a spec written for that.

Changed in ironic:
assignee: Naohiro Tamura (naohirot) → nobody
tags: added: needs-spec
removed: ipmi irmc
Changed in ironic:
status: In Progress → Triaged
Changed in ironic:
assignee: nobody → Naohiro Tamura (naohirot)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic-specs (master)

Change abandoned by Julia Kreger (<email address hidden>) on branch: master
Review: https://review.opendev.org/250783
Reason: Abandoning spec as it has not been updated in nearly three years. If there is interest in it at a later time, it can be resurrected.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers