nova/etc/nova
Andrea Rosa fa00292546 Abort an ongoing live migration
This change adds a DELETE call on the server-migrations object to cancel
a running live migration of a specific instance.
TO perform the cancellation the virtualization driver needs to support
it, in case that the feature is not supported we return an error.
We allow a cancellation of a migration only if the migration is
running at the moment of the request and if the migration type is equal
to 'live-migration'.
In this change we implement this feature for the libvirt driver.
When the cancellation of a live migration succeeded we rollback the live
migration and we set the state of the Migration object equals to
'cancelled'.
The implementation of this change is based on the work done by the
implementation of the feature called 'force live migration':
https://review.openstack.org/245921

DocImpact
ApiImpact

Implements blueprint: abort-live-migration
Change-Id: I1ff861e54997a069894b542bd764ac3ef1b3dbb2
2016-02-26 15:11:41 +00:00
..
rootwrap.d libvirt: Race condition leads to instance in error 2016-02-05 20:48:58 +00:00
README-nova.conf.txt fix the extension of README in etc/nova 2014-03-25 15:01:51 -07:00
api-paste.ini remove /v1.1 from default paste.ini 2016-01-04 06:09:43 -05:00
cells.json Remove trailing comma from sample JSON 2014-02-26 10:17:01 +08:00
logging_sample.conf Fix logging_sample.conf to use oslo_log formatter 2015-09-24 18:04:20 +09:00
nova-config-generator.conf Switch to oslo.cache lib 2016-02-02 08:20:13 -05:00
policy.json Abort an ongoing live migration 2016-02-26 15:11:41 +00:00
release.sample Allow loading of product/vendor/package info from external file 2012-12-19 18:54:33 +00:00
rootwrap.conf Add /usr/local/{sbin,bin} to rootwrap exec_dirs 2016-02-15 14:08:24 +11:00