Live migration on XenAPI is not live when using pools

Bug #1201795 reported by Vangelis Tasoulas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
John Garbutt

Bug Description

Live migration on XenAPI is not live.

In short, this fixes the problem for me:

--- nova-orig/virt/xenapi/vmops.py 2013-07-15 14:21:05.532868954 +0200
+++ nova/virt/xenapi/vmops.py 2013-07-16 14:54:10.865301101 +0200
@@ -1727,7 +1727,7 @@
                 host_ref = self._get_host_opaque_ref(context,
                                                      destination_hostname)
                 self._session.call_xenapi("VM.pool_migrate", vm_ref,
- host_ref, {})
+ host_ref, { "live": "true" })
             post_method(context, instance, destination_hostname,
                         block_migration)
         except Exception:

For more information, look at the following question:
https://answers.launchpad.net/nova/+question/232484

Tags: xenserver
Revision history for this message
John Garbutt (johngarbutt) wrote :

This is on the pool live-migrate case.

tags: added: xenserver
Changed in nova:
status: New → Triaged
importance: Undecided → Medium
summary: - Live migration on XenAPI is not live
+ Live migration on XenAPI is not live when using pools
Changed in nova:
assignee: nobody → John Garbutt (johngarbutt)
status: Triaged → In Progress
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/37666

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

Reviewed: https://review.openstack.org/37666
Committed: http://github.com/openstack/nova/commit/01f2f46d64bb81256cb06a8e8a091e6f5fabedc8
Submitter: Jenkins
Branch: master

commit 01f2f46d64bb81256cb06a8e8a091e6f5fabedc8
Author: John Garbutt <email address hidden>
Date: Thu Jul 18 12:46:59 2013 +0100

    xenapi: ensure pool based migrate is live

    The current code is missing a flag to pool_migrate that should be
    included to ensure the migrate is live. This change adds that flag to
    both uses of VM.pool_migrate, namely the live-migrate call and the
    host_maintenance call.

    Fixes bug 1201795
    Change-Id: I265baaba5e9bd9132bd5e1c6f9fb18cefab02cfb

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

Other bug subscribers

Related questions

Remote bug watches

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