Description of problem:
Due a bug in the location of a socket file with libvirt, tunnelled migration to move a virtual machine from one host server to another doesn't work in RHEL 6.0.
There *is* a workaround, of changing the process ownership of QEMU from the default qemu:qemu:, to root:root, however this introduces potential security risk.
Chris Lalancette has created (very simple) working patches upstream, which allow tunnelled migration to work properly out of the box. (No change to root:root ownership needed)
Version-Release number of selected component (if applicable):
libvirt 0.8.1-24 and earlier
Steps to Reproduce:
1. Using a standard installation of RHEL 6.0 running libvirt, attempt to migrate a virtual machine from one host server to another:
# virsh migrate --live vm1 qemu+ssh://host2/system --p2p --tunnelled --desturi tcp:host2
Migration will fail every time.
The guest virtual machine will migrate to the new host server without incident.
Two patches are posted upstream for it
libvirt-0.8.1-25.el6 has been built in RHEL-6-candidate with the fixes,
Tested tunnelled migration in libvirt-0.8.1-25.el6 with qemu:qemu owned QEMU. It worked fine for me.
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.