← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1550525] Re: Abort an ongoing live migration

 

I added details Ito describe the new feature introduced in nova by the 2.24 version, please let me know more information are required.
I think that the new feature needs to be documented in the API guide.

** Project changed: nova => openstack-api-site

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1550525

Title:
      Abort an ongoing live migration

Status in openstack-api-site:
  Confirmed

Bug description:
  https://review.openstack.org/277971
  Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
  Your project "openstack/nova" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.

  commit fa002925460e70d988d1b4dd1ea594c680a43740
  Author: Andrea Rosa <andrea.rosa@xxxxxx>
  Date:   Fri Feb 5 08:31:06 2016 +0000

      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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-api-site/+bug/1550525/+subscriptions


References