Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1024632

Summary: Migration hang when the guest is with glusterfs volume and the destination host can't access to this glusterfs volume.
Product: Red Hat Enterprise Linux 7 Reporter: chhu
Component: libvirtAssignee: Jiri Denemark <jdenemar>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: ajia, dyuan, mzhan, rbalakri, shyu, zpeng
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-16 14:43:27 UTC Type: Bug
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: 1022319    
Bug Blocks:    

Description chhu 2013-10-30 06:41:19 UTC
Description of problem:
Migration hang when the guest is with glusterfs volume and the destination host can't access to this glusterfs volume.

Version-Release number of selected component (if applicable):
libvirt-1.1.1-10.el7.x86_64
qemu-kvm-1.5.3-10.el7.x86_64
glusterfs-3.4.0.36rhs-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create a guest with xml below on glusterfs client A:
# virsh dumpxml r7|grep disk -A 6
    <disk type='network' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source protocol='gluster' name='gluster-vol1/rh7-qcow2.img'>
        <host name='10.66.82.251' port='24007'/>
      </source>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>

2. Do live migration to another glusterfs client B successfully.
# virsh migrate --live --verbose r7 qemu+ssh://10.66.5.93/system --unsafe
root.5.93's password: 
Migration: [100 %]

3. Do live migration back to this machine A successfully.
# virsh migrate --live --verbose r7 qemu+ssh://10.66.4.217/system --unsafe
root.4.217's password: 
Migration: [100 %]

4. On the glusterfs client B, uninstall the glusterfs package.
# rpm -qa|grep gluster
glusterfs-libs-3.4.0.36rhs-1.el7.x86_64
glusterfs-api-3.4.0.36rhs-1.el7.x86_64

5. Redo the live migration to glusterfs client B, the migration hang.
# virsh migrate --live --verbose r7 qemu+ssh://10.66.5.93/system --unsafe
root.5.93's password:

Actual results:
In step5, the migration hang.

Expected results:
In step5, the virsh migrate command line should return back with suitable error message.

Comment 4 Jiri Denemark 2015-04-16 14:43:27 UTC
After playing with this for some time, I don't think there's any real bug here. By default, virsh does not use keepalive protocol to detect broken connections and relies completely on TCP timeouts, which are much longer.

Closing to match the RHEL 6 clone.