Bug 806177 - Concurrent migration will cause virsh command hang
Summary: Concurrent migration will cause virsh command hang
Keywords:
Status: CLOSED DUPLICATE of bug 803186
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.3
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Jiri Denemark
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-23 05:57 UTC by weizhang
Modified: 2012-03-28 02:28 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-27 11:57:15 UTC
Target Upstream Version:


Attachments (Terms of Use)
libvirtd.log (468.20 KB, text/plain)
2012-03-23 05:58 UTC, weizhang
no flags Details
backtrace (13.12 KB, text/plain)
2012-03-23 05:59 UTC, weizhang
no flags Details

Description weizhang 2012-03-23 05:57:35 UTC
Description of problem:
Concurrent migration will hang on  libvirt-0.9.10-6.el6.x86_64.rpm

Version-Release number of selected component (if applicable):
kernel-2.6.32-250.el6.x86_64
qemu-kvm-0.12.1.2-2.262.el6.x86_64
libvirt-0.9.10-6.el6.x86_64

How reproducible:
90%

Steps to Reproduce:
1. Start 15 guests with empty disk
2. Do migration with
# for i in {1..15}; do virsh migrate --live mig-$i qemu+ssh://{target ip}/system --unsafe & sleep 1; done
3. Do virsh list
  
Actual results:
virsh list will hang, and migration will not finished

Expected results:
virsh will not hang, migration succeed without error

Additional info:

Comment 1 weizhang 2012-03-23 05:58:30 UTC
Created attachment 572163 [details]
libvirtd.log

Comment 2 weizhang 2012-03-23 05:59:13 UTC
Created attachment 572164 [details]
backtrace

Comment 3 Jiri Denemark 2012-03-23 10:16:36 UTC
How is this different from bug 803186, is the only difference in removing virsh migrate-setmaxdowntime command from the loop?

This is very likely a dup of that bug but I'll wait for the additional info before closing it.

Comment 4 weizhang 2012-03-26 02:18:59 UTC
I report it because the bug 803186 is reported on rhel 6.2 but I can only reproduce this bug on rhel6.3, and on rhel6.2 concurrent migration will not cause virsh command hang

Comment 5 Jiri Denemark 2012-03-27 11:57:15 UTC
It's a race so you were not probably lucky enough to hit it on rhel6.2. I wasn't able to reproduce this bug even on rhel6.3 (until I saw the backtrace and logs).

*** This bug has been marked as a duplicate of bug 803186 ***

Comment 6 weizhang 2012-03-28 02:28:12 UTC
Please have a look at bug 803186 comment 17


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