Transfer terminate_instance logic to conductor task manager.

Registered by Joshua Harlow

Begin transfer of conductor workflow for terminating a instance (and cleaning up its resources) which is done inside the compute manager to being managed by the conductor task management layer. To start moving this workflow to be 'conducted' vs locally applied we need to begin the transfer (and likely refactor) of logic from where it is now to the conductor (with a light-weight task-receiver that will still exist in the compute manager to fulfill conductor requests).

This will involve the following:

0. Document and understand the current workflow.

1. Moving the conduction of the terminate_instance workflow to the conductor (reducing whats in nova compute to a smaller set). Handle the new and current error states of that workflow in the conductor that result from this modified workflow.

2. Support the above terminate_instance workflow running in the conductor via taskflow (which brings in resumption, recovery, state tracking and various other benefits) by bringing in taskflow to aid in this process
  - https://blueprints.launchpad.net/nova/+spec/terminate-instance-activate-via-taskflow

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Joshua Harlow
Direction:
Needs approval
Assignee:
None
Definition:
Drafting
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Current workflow description:
- https://etherpad.openstack.org/p/nova-terminate-tasks

deferred from icehouse-3 to "next": http://lists.openstack.org/pipermail/openstack-dev/2014-February/026335.html

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy
Current workflow description:
- https://etherpad.openstack.org/p/nova-terminate-tasks

deferred from icehouse-3 to "next": http://lists.openstack.org/pipermail/openstack-dev/2014-February/026335.html

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.