[libvirt-users] tunneled VM migration error

Shantanu Pavgi pavgi at uab.edu
Wed Mar 7 21:23:30 UTC 2012


I am getting following error with tunneled migration command: 
{{{
$ virsh --connect qemu:///system migrate --verbose --p2p --tunnelled 32 qemu+ssh://kvm-03/system
error: operation failed: Failed to connect to remote libvirt URI qemu+ssh://kvm-03/system

}}}

However I am able to perform other virsh command like list, pool-list, dumpxml using the same remote libvirt URI: 
{{{
$ virsh --connect qemu+ssh://kvm-03/system list
}}}

Also, the hypervisor native migration is working fine with following command:
{{{
$ virsh --connect qemu:///system migrate 31 qemu+ssh://kvm-03/system
}}}

I am confused why remote URI worked for some of the commands but not for the migrate command. Am I missing something with the tunneled migration command or libvirtd/qemu configuration file? Any help would be appreciated.  

Software versions on both systems: 
 * CentOS 6.2
 * Libvirt 0.9.4
 * qemu-kvm 2:0.12.1.2-2.209.el6_2.4

--
Shantanu





More information about the libvirt-users mailing list