Comment 2 for bug 1044237

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

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

commit b006e6bcb4b58039663b5ee0d0b007cf42245e49
Author: Jian Wen <email address hidden>
Date: Tue Sep 11 20:57:14 2012 +0800

    libvirt: Fix live block migration

    Current check_can_live_migrate_destination trys to get instance info
    by call self._conn.lookupByName(instance_name) on the destination
    host before migrating. Because the instance is not on the destination
    host yet, it failes with InstanceNotFound.

    This fix gets the available disk size of the destination side.
    On the source side, checks whether the above space is enough before
    migrating.

    Fixes bug 1044237

    Change-Id: I20f64e1f85828049b697a4b1173bac8e5779d45a