<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br>I've found out that the reason for my problems was that libvirtd was continuously crashing at start-up on my OpenNebula Front-End. Since I didn't manage to repair it so far, for the time being, I disabled it completely, and this seemed to make the error disappear, that is, my KVM drivers are loaded successfully ever since.<br><br>However, I got a question here, which might be naive, but I got really curious now: shouldn't the hypervisor, virtualization drivers, libvirt settings and all the related stuff be affecting OpenNebula only in case of the <span style="font-weight: bold;">hosts</span>? How (and why) does the fact that libvirt is crashing on my <span style="font-weight: bold;">front-end</span> affect the ONE system?<br><br>Thanks,<br>Lehel.<br><br>--- On <b>Thu, 4/19/12, biro lehel <i><lehel.biro@yahoo.com></i></b> wrote:<br><blockquote
style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: biro lehel <lehel.biro@yahoo.com><br>Subject: Re: [one-users] KVM drivers fail to load? [MAD did not answer INIT command]<br>To: "Ruben S. Montero" <rsmontero@opennebula.org><br>Cc: users@lists.opennebula.org<br>Date: Thursday, April 19, 2012, 10:50 PM<br><br><div id="yiv1340447500"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit;" valign="top">Hi Ruben,<br><br>No, I'm running OpenNebula on a 'normal' physical machine, with which I didn't have problems so far. Apart from heavy load, IYHO, could anything else be possibly causing such malfunction?<br><br>Cheers,<br>Lehel.<br><br>--- On <b>Thu, 4/19/12, Ruben S. Montero <i><rsmontero@opennebula.org></i></b> wrote:<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><br>From: Ruben S. Montero
<rsmontero@opennebula.org><br>Subject: Re: [one-users] KVM drivers fail to load? [MAD did not answer INIT command]<br>To: "biro lehel" <lehel.biro@yahoo.com><br>Cc: users@lists.opennebula.org<br>Date: Thursday, April 19, 2012, 3:35 PM<br><br><div id="yiv1340447500">Hi,<div><br></div><div>Are you running the OpenNebula on a VM? We've seen this type of error when OpenNebula is started under
heavy-load.... (usually in a VM low on CPU resources)</div><div><br></div><div>Cheers</div>
<div><br></div><div>Ruben<br><br><div class="yiv1340447500gmail_quote">On Thu, Apr 19, 2012 at 11:28 AM, biro lehel <span dir="ltr"><<a rel="nofollow">lehel.biro@yahoo.com</a>></span> wrote:<br><blockquote class="yiv1340447500gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit;" valign="top">Dear all,<br><br>In my ONE system, sometimes, after the front-end's startup, I've noticed that the KVM drivers (vmm_kvm and im_kvm) are not able to load. At first I didn't understand what could be causing such ONE malfunction, but soon I tracked back all related errors and found the answer in the very initial part of oned.log, which I copied at the end of this mail.<br>
<br>It seems to be a strange issue, since it apparently happens rather randomly, sometimes a reboot of the front-end makes the issue disappear, but sometimes the error just sticks.<br><br>I'm aware that it might possibly not be an ONE issue. However, I would be extremely grateful if you could provide some hints or point-outs to where should I at least be looking for the cause of this problem. Is this a front-end issue? Is this an issue with the respective host? Both have KVM installed and I've
performed virtualizations on both of them (with virsh+qemu) since my ONE infrastructure is up. Are there any logs which I could check to possibly find more detail?<br><br>Here is the initial part of oned.log, highlighted with the errors:<br>
<br>Wed Apr 18 16:24:58 2012 [ONE][I]: Starting OpenNebula 3.2.0<br>----------------------------------------<br> OpenNebula Configuration File <br>----------------------------------------<br>AUTH_MAD=ARGUMENTS=--authn ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad<br>
DB=BACKEND=sqlite<br>DEBUG_LEVEL=3<br>DEFAULT_DEVICE_PREFIX=hd<br>DEFAULT_IMAGE_TYPE=OS<br>ENABLE_OTHER_PERMISSIONS=YES<br>HM_MAD=EXECUTABLE=one_hm<br>HOST_MONITORING_INTERVAL=600<br>HOST_PER_INTERVAL=15<br>IMAGE_MAD=ARGUMENTS=fs -t 15,EXECUTABLE=one_image<br>
IM_MAD=ARGUMENTS=-r 0 -t 15
kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm<br>MAC_PREFIX=02:00<br>MANAGER_TIMER=15<br>NETWORK_SIZE=254<br>PORT=2633<br>SCRIPTS_REMOTE_DIR=/var/tmp/one<br>SESSION_EXPIRATION_TIME=900<br>TM_MAD=ARGUMENTS=tm_shared/tm_shared.conf,EXECUTABLE=one_tm,NAME=tm_shared<br>
VM_DIR=/var/lib/one/<br>VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=vmm_kvm,TYPE=kvm<br>VM_PER_INTERVAL=5<br>VM_POLLING_INTERVAL=600<br>VNC_BASE_PORT=5900<br>----------------------------------------<br>
Wed Apr 18 16:24:58 2012 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]<br>Wed Apr 18 16:24:58 2012 [ONE][I]: Checking database version.<br>Wed Apr 18 16:24:58 2012 [VMM][I]: Starting Virtual Machine Manager...<br>
Wed Apr 18 16:24:58 2012 [VMM][I]: Virtual Machine Manager started.<br>Wed Apr 18 16:24:58 2012 [LCM][I]: Starting Life-cycle Manager...<br>Wed Apr 18 16:24:58 2012 [LCM][I]: Life-cycle Manager started.<br>Wed Apr 18 16:24:58 2012
[InM][I]: Starting Information Manager...<br>Wed Apr 18 16:24:58 2012 [InM][I]: Information Manager started.<br>Wed Apr 18 16:24:58 2012 [TrM][I]: Starting Transfer Manager...<br>Wed Apr 18 16:24:58 2012 [TrM][I]: Transfer Manager started.<br>
Wed Apr 18 16:24:58 2012 [DiM][I]: Starting Dispatch Manager...<br>Wed Apr 18 16:24:58 2012 [DiM][I]: Dispatch Manager started.<br>Wed Apr 18 16:24:58 2012 [HKM][I]: Starting Hook Manager...<br>Wed Apr 18 16:24:58 2012 [HKM][I]: Hook Manager started.<br>
Wed Apr 18 16:24:58 2012 [AuM][I]: Starting Auth Manager...<br>Wed Apr 18 16:24:58 2012 [AuM][I]: Authorization Manager started.<br>Wed Apr 18 16:24:58 2012 [ImM][I]: Starting Image Manager...<br>Wed Apr 18 16:24:58 2012 [ImM][I]: Image Manager started.<br>
Wed Apr 18 16:24:58 2012 [ReM][I]: Starting Request Manager...<br>Wed Apr 18 16:24:58 2012 [ReM][I]: Request Manager started.<br>Wed Apr 18 16:24:58 2012 [ReM][I]: Starting XML-RPC server, port 2633 ...<br>Wed Apr
18 16:25:00 2012 [VMM][I]: Loading Virtual Machine Manager drivers.<br><span style="font-weight:bold;">Wed Apr 18 16:25:00 2012 [VMM][I]: Loading driver: vmm_kvm (KVM)</span><br style="font-weight:bold;"><span style="font-weight:bold;">Wed Apr 18 16:25:05 2012 [MAD][E]: MAD did not answer INIT command</span><br>
Wed Apr 18 16:25:05 2012 [InM][I]: Loading Information Manager drivers.<br><span style="font-weight:bold;">Wed Apr 18 16:25:05 2012 [InM][I]: Loading driver: im_kvm</span><br style="font-weight:bold;"><span style="font-weight:bold;">Wed Apr 18 16:25:10 2012 [MAD][E]: MAD did not answer INIT command</span><br>
Wed Apr 18 16:25:10 2012 [TM][I]: Loading Transfer Manager drivers.<br>Wed Apr 18 16:25:11 2012 [VMM][I]: Loading driver: tm_shared<br>Wed Apr 18 16:25:12 2012 [TM][I]: Driver tm_shared loaded.<br>Wed Apr 18 16:25:12 2012 [HKM][I]: Loading Hook Manager
driver.<br>Wed Apr 18 16:25:13 2012 [HKM][I]: Hook Manager loaded<br>Wed Apr 18 16:25:13 2012 [ImM][I]: Loading Image Manager driver.<br>Wed Apr 18 16:25:13 2012 [InM][I]: Monitoring host pcls (6)<br><span style="font-weight:bold;">Wed Apr 18 16:25:13 2012 [InM][E]: Could not find information driver im_kvm</span><br>
<br><br>Sometimes, only vmm_kvm fails to load, while im_kvm loads successfully, which is another twist to the story.<br><br>Any suggestion would be highly appreciated.<br><br>Thank you,<br>Lehel.<br></td></tr></tbody></table>
<br>_______________________________________________<br>
Users mailing list<br>
<a rel="nofollow">Users@lists.opennebula.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a rel="nofollow" target="_blank" href="http://www.OpenNebula.org">www.OpenNebula.org</a> | <a rel="nofollow">rsmontero@opennebula.org</a> | @OpenNebula<br>
</div>
</div></blockquote></td></tr></tbody></table></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opennebula.org" href="/mc/compose?to=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></div></blockquote></td></tr></table>