Bug 1340479

Summary: qemu live migration port conflicts with other users of ephemeral port(s)
Product: Red Hat Enterprise Linux 6 Reporter: Marcel Kolaja <mkolaja>
Component: libvirtAssignee: Jiri Denemark <jdenemar>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.5CC: aavati, areis, barumuga, berrange, cdhouch, chorn, clalancette, dani-rh, dshetty, dyuan, fjin, gianluca.cecchi, herrold, itamar, jdenemar, jen, jforbes, jherrman, jsuchane, juzhang, kkeithle, laine, libvirt-maint, mzhan, rbalakri, rhodain, s.kieske, stefanha, veillard, virt-maint, ydu, zpeng
Target Milestone: rcKeywords: Upstream, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-0.10.2-29.el6_5.14 Doc Type: Bug Fix
Doc Text:
Prior to this update, migrating a virtual machine failed when the libvirtd service used a transmission control protocol (TCP) port that was already in use. Now, it is possible to predefine a custom migration TCP port range in case the default port is in use. In addition, libvirtd now ensures that the port it chooses from the custom range is not used by another process.
Story Points: ---
Clone Of: 1018695 Environment:
Last Closed: 2016-06-20 19:26:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1018695    
Bug Blocks:    

Description Marcel Kolaja 2016-05-27 14:00:58 UTC
This bug has been copied from bug #1018695 and has been proposed
to be backported to 6.5 z-stream (EUS).

Comment 8 Fangge Jin 2016-06-06 03:03:57 UTC
I can reproduce this bug on build libvirt-0.10.2-29.el6_5.13.x86_64

Verify pass on build libvirt-0.10.2-29.el6_5.14 with same step as https://bugzilla.redhat.com/show_bug.cgi?id=1018695#c28

Note:
I met two problems when verifying this bug:
1) Bug 1052014 - guest fail to start with permission denied error when with gluster volume

2) Bug 1286213 - [QEMU/KVM-RHS] ownership of diskimage changes during livemigration, livemigration with kvm/libvirt fails

Comment 14 errata-xmlrpc 2016-06-20 19:26:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1261