[libvirt-users] random "monitor socket did not show up"

Hello gentlemen! I just experienced this weird thing: I have 2 machines (one is a Dell Pe1950 with 2 Xeon 5130, the other is a Fujitsu RX200S6 with 2 Xeon E5645), both run CentoOS 5.6, the DELL has the 2.6.18-238.9.1.el5 while the Fujitsu runs the 2.6.18-238.12.1.el5 kernel. But when I try to do a virsh create with this script <domain type='kvm'> <name>one-292</name> <memory>1894400</memory> <os> <type arch='i686'>hvm</type> <boot dev='hd'/> </os> <devices> <emulator>/usr/bin/kvm</emulator> <disk type='file' device='disk'> <source file='/var/lib/one/292/images/disk.0'/> <target dev='hda'/> <driver name='qemu' type='qcow2'/> </disk> <disk type='file' device='cdrom'> <source file='/var/lib/one/292/images/disk.1'/> <target dev='hdb'/> <readonly/> <driver name='qemu' type='raw'/> </disk> <interface type='bridge'> <source bridge='br0:0'/> <mac address='20:00:ac:14:fe:06'/> </interface> <graphics type='vnc' listen='0.0.0.0' port='6192'/> </devices> </domain> it works perfectly on the Dell. On the Fujitsu it failed repeatedly and then worked. Any explainations and some hint on getting it work always ? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area GianUberto.Lauri@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 | (unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987

Probably a dumb question, but when I run virsh console guestname, should I expect to get a login prompt for my guest? If I run that command while the OS is booting I can see the boot process...but then it just freezes and I never get a login prompt. Jeff

On Wed, Sep 21, 2011 at 03:16:03PM -0500, Jeff wrote:
Probably a dumb question, but when I run virsh console guestname, should I expect to get a login prompt for my guest? If I run that command while the OS is booting I can see the boot process...but then it just freezes and I never get a login prompt.
Assuming you're running Linux in the guest, it sounds like you don't have a getty configured on ttyS0. How you do that is distro specific. Dave

于 2011年09月21日 22:38, Gian Uberto Lauri 写道:
Hello gentlemen!
I just experienced this weird thing:
I have 2 machines (one is a Dell Pe1950 with 2 Xeon 5130, the other is a Fujitsu RX200S6 with 2 Xeon E5645), both run CentoOS 5.6, the DELL has the 2.6.18-238.9.1.el5 while the Fujitsu runs the 2.6.18-238.12.1.el5 kernel.
But when I try to do a virsh create with this script
<domain type='kvm'> <name>one-292</name> <memory>1894400</memory> <os> <type arch='i686'>hvm</type> <boot dev='hd'/> </os> <devices> <emulator>/usr/bin/kvm</emulator> <disk type='file' device='disk'> <source file='/var/lib/one/292/images/disk.0'/> <target dev='hda'/> <driver name='qemu' type='qcow2'/> </disk> <disk type='file' device='cdrom'> <source file='/var/lib/one/292/images/disk.1'/> <target dev='hdb'/> <readonly/> <driver name='qemu' type='raw'/> </disk> <interface type='bridge'> <source bridge='br0:0'/> <mac address='20:00:ac:14:fe:06'/> </interface> <graphics type='vnc' listen='0.0.0.0' port='6192'/> </devices> </domain>
it works perfectly on the Dell. On the Fujitsu it failed repeatedly and then worked.
Any explainations and some hint on getting it work always ?
Hi, Gian What's the error on the Fujitsu box? Osier

"OY" == Osier Yang <jyang@redhat.com> writes:
OY> Hi, Gian OY> What's the error on the Fujitsu box? That's what's in OpenNebula log: Wed Sep 21 15:59:07 2011 [VMM][I]: error: Failed to create domain from /var/lib/one/290/images/deployment.0 Wed Sep 21 15:59:07 2011 [VMM][I]: error: monitor socket did not show up.: No such file or directory That reflects what I get from the command line: [root@goedel images]# virsh create deployment.0 error: Failed to create domain from deployment.0 error: monitor socket did not show up.: No such file or directory -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area GianUberto.Lauri@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 | (unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987
participants (4)
-
Dave Allan
-
Gian Uberto Lauri
-
Jeff
-
Osier Yang