nova/doc/api_samples
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
..
all_extensions Enable all extension for server PUT API sample tests 2016-01-28 14:06:36 +09:00
consoles Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
extension-info Makes GET extension info sample tests run for v2 also 2015-12-14 15:06:37 +09:00
flavor-access Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
flavor-extra-specs Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
flavor-manage Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
flavors Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
images Enable all extension for image API sample tests 2015-10-20 14:42:53 +09:00
keypairs Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
limits Merge limits functional tests of v2 and v2.1 2015-08-24 13:13:39 +09:00
os-access-ips Enable all extension for server PUT API sample tests 2016-01-28 14:06:36 +09:00
os-admin-actions Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-admin-password Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-agents Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-aggregates Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-assisted-volume-snapshots Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-attach-interfaces Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-availability-zone Merge "remove nova-cert from most functional tests" 2015-12-21 09:05:10 +00:00
os-baremetal-nodes Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-cells Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-certificates Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-cloudpipe Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-config-drive Use just ids in all request templates for flavors/images 2015-12-17 13:01:28 -05:00
os-console-auth-tokens Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-console-output Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-create-backup Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-deferred-delete Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-disk-config Enable all extension for server PUT API sample tests 2016-01-28 14:06:36 +09:00
os-evacuate Remove onSharedStorage from evacuate API 2015-12-15 11:23:11 +01:00
os-extended-availability-zone Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-extended-server-attributes Fix indents of servers-detail-resp.json 2016-01-20 23:37:34 +00:00
os-extended-status Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-extended-volumes Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-fixed-ips Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-flavor-rxtx Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-floating-ip-dns Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-floating-ip-pools Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-floating-ips Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-floating-ips-bulk Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-fping Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-hide-server-addresses Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-hosts remove nova-cert from most functional tests 2015-12-17 10:54:08 -05:00
os-hypervisors Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-instance-actions Make os-instance-action read deleted instances. 2016-02-05 07:59:52 -05:00
os-instance-usage-audit-log Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-lock-server Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-migrate-server Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-migrations Add new APIs and deprecate old API for migrations 2016-02-26 14:25:48 +00:00
os-multinic Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-multiple-create Use just ids in all request templates for flavors/images 2015-12-17 13:01:28 -05:00
os-networks Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-networks-associate Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-pause-server Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-pci Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-personality Use just ids in all request templates for flavors/images 2015-12-17 13:01:28 -05:00
os-preserve-ephemeral-rebuild Use just ids in all request templates for flavors/images 2015-12-17 13:01:28 -05:00
os-quota-class-sets Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-quota-sets Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-remote-consoles Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-rescue Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-scheduler-hints Use just ids in all request templates for flavors/images 2015-12-17 13:01:28 -05:00
os-security-group-default-rules Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-security-groups Use just ids in all request templates for flavors/images 2015-12-17 13:01:28 -05:00
os-server-diagnostics Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-server-external-events Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-server-groups ServerGroupsV213SampleJsonTest should actually test v2.13 2016-01-14 14:48:40 -08:00
os-server-password Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-server-usage Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-services Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-shelve Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-simple-tenant-usage Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-suspend-server Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-tenant-networks Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-used-limits Merge used-limits functional tests of v2 and v2.1 2015-08-24 13:02:04 +09:00
os-user-data Use just ids in all request templates for flavors/images 2015-12-17 13:01:28 -05:00
os-virtual-interfaces Expose VIF net-id attribute in os-virtual-interfaces 2015-08-27 16:50:44 +09:00
os-volumes Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-ips Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-metadata Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-migrations Add new APIs and deprecate old API for migrations 2016-02-26 14:25:48 +00:00
servers doc: fix malformed api sample 2016-01-28 14:08:16 +01:00
servers-sort Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
versions Abort an ongoing live migration 2016-02-26 15:11:41 +00:00