Comment 3 for bug 1329953

Revision history for this message
Sergii Golovatiuk (sgolovatiuk) wrote :

Live Block Migration has been fixed. However, I think we need to add more values to nova.conf

block_migration_flag=VIR_MIGRATE_LIVE,VIR_MIGRATE_TUNNELLED,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_NON_SHARED_INC,VIR_MIGRATE_UNDEFINE_SOURCE
live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE

to enable true live migration without pausing instances during the migration.

Currently you can test live migration using this guide

1. Since we don’t distribute openrc, grab it from controller and export variables on compute
2. Make sure nova cli works
nova flavor-list
nova image-list
3. Create instance
nova boot --flavor 1 --image <ID_FROM_IMAGE_LIST> test2
4. Find out the node where instance is launched and export variables from openrc on it
5. Perform migration
nova live-migration --block_migrate test2 node-12
6. Check the status of VM
nova list
7. Check if VM was migrated successfully