Enable live block migration

Enable live block migration (doesn't need shared storage).

USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION uses block migration for doing
live migration instead of the default option which requires a shared
file system.

Change-Id: I89b7e390bf1cf4f2eccabca2e31a9d1b6b270677
This commit is contained in:
Joe Gordon
2014-11-19 14:52:44 -08:00
committed by Clark Boylan
parent cdb3544a77
commit c122e5266d

View File

@@ -338,6 +338,8 @@ EOF
if [[ "$DEVSTACK_GATE_TOPOLOGY" != "aio" ]]; then
echo "CIRROS_ARCH=i386" >> "$localrc_file"
echo "NOVA_ALLOW_MOVE_TO_SAME_HOST=False" >> "$localrc_file"
echo "export LIVE_MIGRATION_AVAILABLE=True" >> "$localrc_file"
echo "export USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION=True" >> "$localrc_file"
local primary_node=`cat /etc/nodepool/primary_node_private`
echo "SERVICE_HOST=$primary_node" >>"$localrc_file"