← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1588378] Re: Cancelled live migration are reported as in progress

 

Reviewed:  https://review.openstack.org/324615
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=58cb7e56dbc9e42cd742c6ad9ffd1c62bc2ef0b7
Submitter: Jenkins
Branch:    master

commit 58cb7e56dbc9e42cd742c6ad9ffd1c62bc2ef0b7
Author: Andrea Rosa <andrea.rosa@xxxxxxx>
Date:   Thu Jun 2 16:27:15 2016 +0100

    Cancelled live migration are not in progress
    
    Since we have introduced the new API for aborting a running live
    migration we have introduced a new state called "cancelled" which is
    applied to all the aborted live migration job in the libvirt driver.
    This new status is not filtered by the sqlalchemy query used to get the
    list of the all migration in progress for host and node.
    
    Change-Id: I219591297f73c4bb8b1d97aaf298681c0421d1ae
    Closes-bug: #1588378


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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/1588378

Title:
  Cancelled live migration are reported as in progress

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  With the introduction of the API for aborting a running live-migration (https://review.openstack.org/277971) we have introduced a new status for the aborted live migration jobs. This new status called "cancelled" is not filtered by the sqlalchemy query used to return the list of migration in progress: 
  https://github.com/openstack/nova/blob/87dc738763d6a7a10409e14b878f5cdd39ba805e/nova/db/sqlalchemy/api.py#L4851

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1588378/+subscriptions


References