[openstack-dev] [nova] Nova Live Migration of rescued instances

Paul Carlton paul.carlton2 at hpe.com
Wed May 25 07:49:01 UTC 2016


I'm working on a spec https://review.openstack.org/#/c/307131/ to permit
the live migration of rescued instances. I have an implementation that
works for libvirt and have addressed lack of support for this feature
in other drivers using driver capabilities.

I've achieved this for libvirt driver by simply changing how rescue and
unrescue are implemented.  In the libvirt driver rescue saves the current
domain xml in a local file and unrescue uses this to revert the instance to
its previous setup, i.e. booting from instance primary disk again rather
than rescue image.  However saving the previous state in the domain
xml file is unnecessary since during unrescue the domain is destroyed
and restarted. This is effectively a hard reboot so I just call hard reboot
during the unrescue operation.  Hard reboot rebuilds the domain xml
from the nova database so the domain xml file is not needed.

However I was wondering which other drivers support rescue, vmware
and xen I think?  Would it be possible to implement support for live
migration of rescued instances for these drivers too?  I'm happy to do
the work to implement this, given some guidance from those with more
familiarity with these drivers than I.

Thanks

-- 
Paul Carlton
Software Engineer
Cloud Services
Hewlett Packard
BUK03:T242
Longdown Avenue
Stoke Gifford
Bristol BS34 8QZ

Mobile:    +44 (0)7768 994283
Email:    mailto:paul.carlton2 at hpe.com
Hewlett-Packard Limited registered Office: Cain Road, Bracknell, Berks RG12 1HN Registered No: 690597 England.
The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as "HP CONFIDENTIAL".




More information about the OpenStack-dev mailing list