Hi,<br><br>I solved the problem by installing libvirt ver. 0.6.3 with a rpm.<br><br>Maybe I was not using correct options when I installed the ver. 0.7.7 from sources...<br><br>Cheers,<br><br>Chris.<br><br><div class="gmail_quote">
On Wed, Mar 30, 2011 at 1:34 AM, Javier Fontan <span dir="ltr"><<a href="mailto:jfontan@gmail.com">jfontan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Unfortunately I don't have any clue on what can be happening. The info<br>
I can give you is that opennebula is monitoring hosts and VMs and<br>
hosts both using libvirt commands, maybe one of those commands makes<br>
libvirt unhappy. Can you check executing the commands manually?<br>
<br>
virsh --connect qemu:///system --readonly dominfo <vm><br>
virsh --connect qemu:///system --readonly list<br>
virsh --connect qemu:///system --readonly dumpxml <vm><br>
virsh --connect qemu:///system --readonly domifstat <vm><br>
<br>
virsh -c qemu:///system nodeinfo<br>
<div><div></div><div class="h5"><br>
On Fri, Mar 25, 2011 at 7:07 AM, christophe bonnaud <<a href="mailto:takyon77@gmail.com">takyon77@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I have install opennebula vers. 2.0.1-1 with libvirt vers. 0.7.7<br>
><br>
> When I create a virtual machine, it's working fine but few minutes after,<br>
> libvirt crash.<br>
><br>
> If I don't run any virtual machine, libvrit has no problem.<br>
><br>
> If I start a machine manually using virsh:<br>
> - if opennebula is working: libvirt has the same problem.<br>
> - if opennebula is stop: libvirt has no problem<br>
><br>
> If seems that every 10 minutes, when opennebula try to monitor the virtual<br>
> machine, libvirt crash at the same moment.<br>
><br>
> In oned.log I have:<br>
><br>
> Fri Mar 25 14:59:02 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Fri Mar 25 14:59:02 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Fri Mar 25 14:59:16 2011 [VMM][I]: Monitoring VM 29.<br>
> Fri Mar 25 14:59:32 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Fri Mar 25 14:59:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
><br>
> And if I run libvirt in gdb + debug:<br>
><br>
> 14:59:16.135: debug : virEventRunOnce:592 : Poll on 8 handles 0x2aaaac00b390<br>
> timeout -1<br>
> 14:59:16.135: debug : virEventRunOnce:594 : Poll got 1 event<br>
> 14:59:16.135: debug : virEventDispatchTimeouts:404 : Dispatch 2<br>
> 14:59:16.135: debug : virEventDispatchHandles:449 : Dispatch 8<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=0 w=1<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=1 w=2<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=2 w=3<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=3 w=4<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=4 w=5<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=5 w=6<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=6 w=7<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=7 w=8<br>
> 14:59:16.135: debug : virEventDispatchHandles:476 : Dispatch n=7 f=15 w=8<br>
> e=4 0x8aa160<br>
> 14:59:16.135: debug : virEventUpdateHandleImpl:146 : Update handle w=8 e=1<br>
> 14:59:16.135: debug : virEventInterruptLocked:663 : Skip interrupt, 1<br>
> 1084229952<br>
> 14:59:16.135: debug : virEventCleanupTimeouts:494 : Cleanup 2<br>
> 14:59:16.135: debug : virEventCleanupHandles:535 : Cleanupo 8<br>
> 14:59:16.135: debug : virEventCleanupTimeouts:494 : Cleanup 2<br>
> 14:59:16.135: debug : virEventCleanupHandles:535 : Cleanupo 8<br>
> 14:59:16.135: debug : virEventMakePollFDs:372 : Prepare n=0 w=1, f=5 e=1<br>
> 14:59:16.135: debug : virEventMakePollFDs:372 : Prepare n=1 w=2, f=7 e=1<br>
> 14:59:16.135: debug : virEventMakePollFDs:372 : Prepare n=2 w=3, f=12 e=25<br>
> 14:59:16.135: debug : virEventMakePollFDs:372 : Prepare n=3 w=4, f=13 e=25<br>
> 14:59:16.135: debug : virEventMakePollFDs:372 : Prepare n=4 w=5, f=14 e=1<br>
> 14:59:16.135: debug : virEventMakePollFDs:372 : Prepare n=5 w=6, f=10 e=25<br>
> 14:59:16.135: debug : virEventMakePollFDs:372 : Prepare n=6 w=7, f=9 e=25<br>
> 14:59:16.135: debug : virEventMakePollFDs:372 : Prepare n=7 w=8, f=15 e=1<br>
> 14:59:16.135: debug : virEventCalculateTimeout:313 : Calculate expiry of 2<br>
> timers<br>
> 14:59:16.135: debug : virEventCalculateTimeout:343 : Timeout at 0 due in -1<br>
> ms<br>
> 14:59:16.135: debug : virEventRunOnce:592 : Poll on 8 handles 0x2aaaac0078f0<br>
> timeout -1<br>
> 14:59:16.135: debug : virEventRunOnce:594 : Poll got 1 event<br>
> 14:59:16.135: debug : virEventDispatchTimeouts:404 : Dispatch 2<br>
> 14:59:16.135: debug : virEventDispatchHandles:449 : Dispatch 8<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=0 w=1<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=1 w=2<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=2 w=3<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=3 w=4<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=4 w=5<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=5 w=6<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=6 w=7<br>
> 14:59:16.135: debug : virEventDispatchHandles:463 : i=7 w=8<br>
> 14:59:16.135: debug : virEventDispatchHandles:476 : Dispatch n=7 f=15 w=8<br>
> e=1 0x8aa160<br>
> 14:59:16.135: debug : virEventUpdateHandleImpl:146 : Update handle w=8 e=1<br>
> 14:59:16.135: debug : virEventInterruptLocked:663 : Skip interrupt, 1<br>
> 1084229952<br>
> 14:59:16.135: debug : virEventUpdateHandleImpl:146 : Update handle w=8 e=1<br>
> 14:59:16.135: debug : virEventInterruptLocked:663 : Skip interrupt, 1<br>
> 1084229952<br>
> 14:59:16.136: debug : virEventCleanupTimeouts:494 : Cleanup 2<br>
> 14:59:16.136: debug : virEventCleanupHandles:535 : Cleanupo 8<br>
> 14:59:16.136: debug : remoteDispatchClientRequest:368 : prog=536903814 ver=1<br>
> type=0 satus=0 serial=6 proc=122<br>
> 14:59:16.136: debug : virEventCleanupTimeouts:494 : Cleanup 2<br>
> 14:59:16.136: debug : virEventCleanupHandles:535 : Cleanupo 8<br>
> 14:59:16.136: debug : virEventMakePollFDs:372 : Prepare n=0 w=1, f=5 e=1<br>
> 14:59:16.136: debug : virEventMakePollFDs:372 : Prepare n=1 w=2, f=7 e=1<br>
> 14:59:16.136: debug : virEventMakePollFDs:372 : Prepare n=2 w=3, f=12 e=25<br>
> 14:59:16.136: debug : virEventMakePollFDs:372 : Prepare n=3 w=4, f=13 e=25<br>
><br>
> Program received signal SIGSEGV, Segmentation fault.<br>
> [Switching to Thread 0x43204940 (LWP 32689)]<br>
> 0x00000033c0a79a30 in strlen () from /lib64/libc.so.6<br>
> (gdb) backtrace<br>
> #0 0x00000033c0a79a30 in strlen () from /lib64/libc.so.6<br>
> #1 0x000000000043d861 in qemudNodeGetSecurityModel (conn=<value optimized<br>
> out>, secmodel=0x43203c20) at qemu/qemu_driver.c:4910<br>
> #2 0x0000003972458589 in virNodeGetSecurityModel (conn=0x0, secmodel=0x0)<br>
> at libvirt.c:5118<br>
> #3 0x000000000041ef1b in remoteDispatchNodeGetSecurityModel (server=<value<br>
> optimized out>, client=<value optimized out>, conn=0x2aaaac007740,<br>
> hdr=<value optimized out>, rerr=0x43203f30,<br>
> args=<value optimized out>, ret=0x43203e80) at remote.c:1306<br>
> #4 0x000000000041fbc1 in remoteDispatchClientCall (server=0x8aa160,<br>
> client=0x8ad920, msg=0x2aaaac03e700) at dispatch.c:506<br>
> #5 0x000000000041ff62 in remoteDispatchClientRequest (server=0x8aa160,<br>
> client=0x8ad920, msg=0x2aaaac03e700) at dispatch.c:388<br>
> #6 0x0000000000416ad7 in qemudWorker (data=<value optimized out>) at<br>
> libvirtd.c:1528<br>
> #7 0x00000033c160673d in start_thread () from /lib64/libpthread.so.0<br>
> #8 0x00000033c0ad3f6d in clone () from /lib64/libc.so.6<br>
><br>
> ( I can provide more logs if necessary )<br>
><br>
> Does anyone met this situation or have any clues concerning the origin of<br>
> this problem?<br>
><br>
> Cheers,<br>
><br>
> Chris.<br>
><br>
><br>
> --<br>
> ------------------------------------------------------<br>
> Bonnaud Christophe<br>
> GSDC<br>
> Korea Institute of Science and Technology Information<br>
> Fax. +82-42-869-0789<br>
> Tel. +82-42-869-0660<br>
> Mobile +82-10-4664-3193<br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher<br>
DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>
Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a><br>
OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>------------------------------------------------------<br>Bonnaud Christophe<br>GSDC<br>Korea Institute of Science and Technology Information<br>Fax. +82-42-869-0789<br>
Tel. +82-42-869-0660<br>Mobile +82-10-4664-3193<br>