summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorJian Wen <wenjianhn@gmail.com>2012-09-11 20:57:14 +0800
committerJian Wen <wenjianhn@gmail.com>2012-09-12 18:39:01 +0800
commitb006e6bcb4b58039663b5ee0d0b007cf42245e49 (patch)
treeb176972e488c692921645162b7f468b6c73dcf5a /nova/openstack
parent511807ed248fbe63cb6642c1cff6e0bd4bb8ae5d (diff)
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
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions