Make checks before live-migration async

Registered by Timofey Durakov on 2016-05-24

Existing live-migration operation, provided by nova is quite complex thing.
Nova made verification of the env before acception and triggering
live-migration. While this validation is required, it's done in synchronious
way, and is quite complex by itself, from api service request is send over
RPC call to conductor, which triggers 2 more rpc calls to compute, and only if
everything is OK, request triggers rpc cast to compute, to start process, and
REST API layer response with 202.

Existing workflow is complex, and leaves space for timeouts, and also blocks
HTTP request, which in general is bad.

Blueprint information

Status:
Complete
Approver:
Andrew Laski
Priority:
Low
Drafter:
Timofey Durakov
Direction:
Approved
Assignee:
Timofey Durakov
Definition:
Approved
Series goal:
Accepted for newton
Implementation:
Implemented
Milestone target:
milestone icon newton-2
Started by
Timofey Durakov on 2016-06-16
Completed by
Matt Riedemann on 2016-07-12

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/async-live-migration-rest-check,n,z

Addressed by: https://review.openstack.org/320416
    Make checks before live-migration async

Gerrit topic: https://review.openstack.org/#q,topic:async_checks,n,z

Addressed by: https://review.openstack.org/311115
    Added instance actions for conductor

Addressed by: https://review.openstack.org/311116
    Make live migration checks async

Addressed by: https://review.openstack.org/314932
    rest api version bumped for async pre live migration checks

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.