Live Migration of Rescued Instances

Registered by Paul Carlton

When an instance is rescued the libvirt driver creates a file in the.
instance directory that contains the original instance xml. This file
is used when unrescuing the instance to revert to the original disk
configuration. However, this file is not necessary to restore the
instance's original configuration. Furthermore the reliance on this
file means we currently cannot live migrate a rescued instance. Thus
it is proposed that we do not create this file during the rescue
operation and rebuild the instance's original xml file from the
database when we unrescue it.

Blueprint information

Status:
Started
Approver:
John Garbutt
Priority:
Low
Drafter:
Paul Carlton
Direction:
Needs approval
Assignee:
Vladik Romanovsky
Definition:
Pending Approval
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Matt Riedemann

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/live-migrate-rescued-instances,n,z

Addressed by: https://review.openstack.org/#/c/307131 <== spec for Newton
    Blueprint to Live Migration of Rescued Instances

Addressed by: https://review.openstack.org/308198
    Permit Live Migration of Rescued Instances

I don't know the full implications of changing the rescue operation in the libvirt driver to not create the file, we need danpb to weigh in on this. -- mriedem 20160421

Addressed by: https://review.openstack.org/307131
    Live Migration of Rescued Instances

Addressed by: https://review.openstack.org/#/c/316026/ (python-novaclient)
   [microversion] Bump to 2.28

Addressed by: https://review.openstack.org/328280
    API changes for live migration of rescued instance

Addressed by: https://review.openstack.org/333947
    Add a test utility for checking mock calls with objects

There are still open changes for this and we're now past non-priority feature freeze for Newton. -- mriedem 20160705

Addressed by: https://review.openstack.org/347161
    Live Migration of Rescued Instances

Addressed by: https://review.openstack.org/429913
    Live Migration of Rescued Instances

Addressed by: https://review.openstack.org/440893
    [WIP] Live migration of rescued instances

Addressed by: https://review.openstack.org/440904
    [WIP] Live migration of rescued instances

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

Re-approved for Pike. -- mriedem 20170320

The changes for this look abandoned and I'm going to make room for other things that are ready for review in the Pike release, so I'm deferring this to Queens. -- mriedem 20170722

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.