Bug 966707

Summary: libvirt live migration got unexpected fail
Product: Red Hat Enterprise Linux 6 Reporter: Chris Pelland <cpelland>
Component: libvirtAssignee: Eric Blake <eblake>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.4CC: acathrow, bili, cpelland, dallan, dyasny, dyuan, eblake, juzhang, lsu, michen, mzhan, pm-eus, quintela, qzhang, rwu, virt-maint, weizhan, xuzhang, zpeng
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-0.10.2-18.el6_4.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-18 12:17:29 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: 961034    
Bug Blocks:    

Description Chris Pelland 2013-05-23 18:11:06 UTC
This bug has been copied from bug #961034 and has been proposed
to be backported to 6.4 z-stream (EUS).

Comment 6 weizhang 2013-05-31 05:48:07 UTC
Do migration loop on both
libvirt-0.10.2-18.el6_4.5.x86_64
libvirt-0.10.2-18.el6_4.6.x86_64

Can not reproduce the problem on both version, so I check the source code of libvirt-0.10.2-18.el6_4.6.x86_64, find the patch already in
src/rpc/virnetsocket.c

int virNetSocketDupFD(virNetSocketPtr sock, bool cloexec)
{
    int fd;

    if (cloexec)
        fd = fcntl(sock->fd, F_DUPFD_CLOEXEC, 0);
    else
        fd = dup(sock->fd);
    if (fd < 0) {
...

So verify pass.

Comment 8 errata-xmlrpc 2013-06-18 12:17:29 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.

http://rhn.redhat.com/errata/RHBA-2013-0951.html