Description of problem:
If I create several guests quickly xm will report that all have been created but
`xm list` will show several missing. I look at root's mail on the host box and
I see the following:
Traceback (most recent call last):
File "/usr/share/rhn/virtualization/poller.py", line 189, in ?
domain_list = poll_hypervisor()
File "/usr/share/rhn/virtualization/poller.py", line 76, in poll_hypervisor
raise VirtualizationException, \
virtualization.errors.VirtualizationException: Failed to obtain handle to domain
82: <libvirt.libvirtError instance at 0xb7d4232c>
Version-Release number of selected component:
Linux 2.6.18-8.1.1.el5xen #1 SMP Mon Feb 26 21:05:12 EST 2007 i686 i686 i386
Host: Dual Xeon 2.8GHz 2GB RAM
Guest: 256MB RAM booting the same version of the kernel
Almost everytime time. Sometimes 4 of 6 VM successfully start, sometimes fewer.
Steps to Reproduce:
1. for vm in `ls -1 /etc/xen | grep \"^guest[0-9]*$\"`; do xm create $vm; done
2. xm list
xm create will say all guests have started. Root will receive a stack trace
from poller.py and xm list show not report all guests.
If `xm create` says that guests have been successfully created then `xm list`
should show them.
Please provide the /var/log/xen/xend.log, xen-hotplug.log & xend-debug.log
Also please provide one (or more) representative config files for the guest(s)
being created from /etc/xen
Finally, attach the output of 'xm list --long', 'xm info' and 'xm dmesg'.
Created attachment 153934 [details]
Created attachment 153935 [details]
output of xm dmesg
Created attachment 153936 [details]
output of xm info
Created attachment 153937 [details]
output of xm list --long
I reproduced this bug this morning by starting 6 guests roughly at the same
time. Though it took 3 tries before guests 4 and 5 crashed on startup. The
output of xend-debug.log was simply a few lines about VNC connectoins such as:
02/05/2007 08:05:52 Listening for VNC connections on TCP port 5948
Nothing to flush.
Created attachment 153942 [details]
guest config file: /etc/xen/seldom0
I have 6 of these files each differing only in the name, mac address, uuid, and
The xend.log shows the guest kernels are crashing on boot. This is probably due
to bug 247265. Please update your guest images to use 2.6.18-37.el5 or later
(see download link in the other ticket I just referenced). This newer kernel
should resolve the crashes.
I upgraded to
and the crashes have gone away.
Closing out based on Comment #11.