Bug 624062 - Tunnelled migration doesn't work in RHEL 6.0 without increasing security risk
Summary: Tunnelled migration doesn't work in RHEL 6.0 without increasing security risk
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Chris Lalancette
QA Contact: Virtualization Bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2010-08-13 14:43 UTC by Justin Clift
Modified: 2015-07-13 04:34 UTC (History)
8 users (show)

Clone Of:
: 630625 (view as bug list)
Last Closed: 2010-11-10 21:05:40 UTC

Attachments (Terms of Use)

Description Justin Clift 2010-08-13 14:43:08 UTC
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

How reproducible:

Every time.

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.

Actual results:

Migration fails.

Expected results:

The guest virtual machine will migrate to the new host server without incident.

Additional info:

Comment 2 Daniel Veillard 2010-08-15 16:44:33 UTC
libvirt-0.8.1-25.el6 has been built in RHEL-6-candidate with the fixes,


Comment 3 Justin Clift 2010-08-17 16:28:01 UTC
Tested tunnelled migration in libvirt-0.8.1-25.el6 with qemu:qemu owned QEMU.  It worked fine for me.

Comment 6 releng-rhel@redhat.com 2010-11-10 21:05:40 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.