Bug 511241
Summary: | sequential virsh start chokes | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Aron Griffis <aron.griffis> | ||||||||
Component: | libvirt | Assignee: | Daniel Veillard <veillard> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 5.4 | CC: | berrange, bzeranski, dallan, hbrock, llim, shawn.pagan, virt-maint, weizhan, xen-maint | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | libvirt-0.8.2-1.el5 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2011-01-13 22:51:53 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: | |||||||||||
Bug Blocks: | 562684 | ||||||||||
Attachments: |
|
Description
Aron Griffis
2009-07-14 12:00:57 UTC
This is possibly a race condition in the libvirt QEMU startup handling code - IIRC there was one we fixed post-0.6.3 . Can you provide the file /var/log/libvirt/qemu/kvm-tile56-webserver1.log if it is available. (I'm assuming your host itself has sufficient RAM & CPU cycles to be able to cope with all these guests :-) Also could you tell me the total number of - PTYs present in /dev/pts - network interfaces in ifconfig - running guests at the time it fails Created attachment 351611 [details]
debug.txt.1
This isn't from the same run as above. The problem is easy to reproduce so this is from another run. I added this to the error path in my loop:
( PS4=$'\n$ '; set -x
ls -l /dev/pts
cat /var/log/libvirt/qemu/$g.log
ifconfig -a
/usr/bin/virsh list
) &> debug.txt
Created attachment 351612 [details]
debug.txt.2
Created attachment 351616 [details]
debug.txt.3
In each one of these, in the ifconfig output, there's a variation on: vnet212: error fetching interface information: Device not found I dont believe the vnet error is serious - the QEMU VM just started up & quit, so there's a small race before the vnet device fully disappears from userspace. No signs of any actual QEMU errors in those logs, so I've got to suspect a libvirt race condition in starting up QEMU. Fixed in libvirt-0.8.2-1.el5 verified on RHEL5.6 libvirt-0.8.2-6.el5.x86_64 kvm An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0060.html |