Nova virt driver interface lacks post_live_migration_at_destination()

Bug #1071404 reported by Dan Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Dan Smith
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

pre_live_migration is missing too?

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

base baremetal hyper-v libvirt xenapi method
yes yes yes yes yes live_migration
yes no yes yes yes confirm_migration
yes no yes yes yes finish_migration
yes no yes yes yes finish_revert_migration
no no yes yes yes post_live_migration_at_destination
no no yes yes yes pre_live_migration
no no no yes yes pre_block_migration

Revision history for this message
Dan Smith (danms) wrote :

It's fine for the drivers to leave something unimplemented, but not for base to omit it. So, it looks like the following need to be added to base:

post_live_migration_at_destination, pre_live_migration, pre_block_migration

I'll submit a patch for this soon.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/14894

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/14894
Committed: http://github.com/openstack/nova/commit/e23b3fbac5097cc71e6b23f535598d861e995dfa
Submitter: Jenkins
Branch: master

commit e23b3fbac5097cc71e6b23f535598d861e995dfa
Author: Dan Smith <email address hidden>
Date: Fri Oct 26 09:00:38 2012 -0700

    Add missing live migration methods to ComputeDriver base class

    Several live migration-related methods are implemented in the virt
    drivers (and used in compute/manager), but missing from the base
    class:

      pre_live_migration()
      pre_block_migration()
      post_live_migration_at_destination()

    This adds those, fixing bug 1071404.

    Change-Id: Iccca4706462c5452882e34608df6e477d2280099

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.