I'm trying live-migration with qemu in a virtualized environment with VirtualBox VMs (not with KVM)
I get mount the NFS among controller and compute nodes, and I can see the instances directory in all compute nodes (this is directory is shared).
I can perform 'migrate' command in terminal and in the dashboard with success. So, the installation seems to be working correctly.
However, the 'live-migration' command is not working in the line command, and no errors are put in the terminal. I'm trying as follow:
# nova live-migration MY_UUID_VM_INSTANCE my_host_destine
No errors are sent to the terminal, and in the dashboard no action is performed after this command.
I'm receiving this error:
/var/log/nova-all.log ERROR: Exception during message handling... ... File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 4162, in pre_live_migration self._create_images_and_backing(context, instance, instance_dir, UnboundLocalError: local variable 'instance_dir' referenced before assignment
I guess that 'now' is something related at libvirt.
What I'm doing wrong? I already perform a live migration without openstack using only KVM in physical hosts. I guess that the problem could be the usage of qemu. Someone could help me?