Re: problems starting several qemu VMS simultaneously

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Serge Hallyn (serge.hallyn@xxxxxxxxxxxxx):
> Quoting Serge Hallyn (serge.hallyn@xxxxxxxxxxxxx):
> > Quoting Wen Congyang (wency@xxxxxxxxxxxxxx):
> > > At 03/22/2012 06:54 AM, Serge Hallyn Wrote:
> > > > Hi,
> > > > 
> > > > I grabbed today's git head of libvirt.  Created a VM (clean install of
> > > > ubuntu oneiric, installed through virt-manager), and cloned it 3 times.
> > > > Then I did
> > > > 
> > > > serge@ubuntu:~$ for i in `seq 1 4`; do virsh start o$i  > /tmp/o$i 2>&1 & done
> > > > [1] 12184
> > > > [2] 12185
> > > > [3] 12186
> > > > [4] 12187
> > > > serge@ubuntu:~$ virsh list
> > > > error: Failed to list active domains
> > > > error: End of file while reading data: Input/output error
> 
> (Note that most of the time, virsh list actually succeeds, only one of
> the virsh start's fails)
> 
> > > I cannot reproduce this problem on RHEL6.

At last, found the trigger.  I can now reproduce this on uptodate fedora
16, using http://people.canonical.com/~serge/breaklibvirt.sh (run as root
from /home/$user).

The trigger is the qemu hook.  If I don't have a qemu hook, then I can do
100 runs of the parallel starts and lists with no failures.  But introduce
a slow hook, and the very first run always fails.

-serge

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]