Making the live-migration API friendly

Registered by Alex Xu on 2015-11-13

When performing live-migrate on an instance, admin should specify block_migration flag, it is really hard for admin and external system to use this API.

We can make those flags detected by nova automatically.
Host can specify with None, but would be great make it optional directly.

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Medium
Drafter:
Alex Xu
Direction:
Approved
Assignee:
Eli Qiao
Definition:
Approved
Series goal:
Accepted for mitaka
Implementation:
Implemented
Milestone target:
milestone icon mitaka-3
Started by
John Garbutt on 2015-12-08
Completed by
John Garbutt on 2016-03-02

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/optional-host-and-block-migration-flag-in-live-migrate-api,n,z

Addressed by: https://review.openstack.org/245543 <== spec MERGED
    Make block_migration and host flags in live-migration API

Gerrit topic: https://review.openstack.org/#q,topic:bp/making-live-migration-api-friendly,n,z

Addressed by: https://review.openstack.org/254101
    Calculate block_migration in virt drivers if it's None

Addressed by: https://review.openstack.org/254102
    Return host and block_migration in task_api._execute()

Addressed by: https://review.openstack.org/259319
    WIP: API: Improve os-migrateLive input and output values

Addressed by: https://review.openstack.org/275585
    Libvirt: Calculate block_migration if it's None

Marking as completed, as we have merged all the Nova patches here. --johnthetubaguy 2nd March 2016

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.