The problem seems to have been NFS related (var folder was not mounted correctly on hosts).<br><br><div class="gmail_quote">On Fri, Oct 7, 2011 at 2:00 PM, Alexandru - Florian Antonescu <span dir="ltr"><<a href="mailto:florinantonescu@gmail.com">florinantonescu@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">This problem is persisting even re-installation of OpenNebula 3.0.<div><br></div><div>I have tried to enable debugging by exporting ONE_MAD_DEBUG but I see no extra messages logged to oned.log and no new file created in var folder. Everything appears to be working properly, except that it doesn't.</div>


<div><br></div><div>These are the messages logged to var/oned.log</div><div><div>Fri Oct  7 09:18:53 2011 [InM][I]: Monitoring host zrhs9 (0)</div><div>Fri Oct  7 09:18:55 2011 [InM][I]: ExitCode: 0</div><div>Fri Oct  7 09:18:59 2011 [ReM][D]: HostPoolInfo method invoked</div>


<div><br></div><div>From here it would seem that the monitoring code is executed properly.</div><div><br></div><div>Also, when I run onehost show 0 this is what is displayed:</div><div><div>HOST 0 INFORMATION</div><div>ID                    : 0</div>


<div>NAME                  : zrhs69</div><div>STATE                 : INIT</div><div>IM_MAD                : im_kvm</div><div>VM_MAD                : vmm_kvm</div><div>TM_MAD                : tm_shared</div><div><br></div>


<div>HOST SHARES</div><div>MAX MEM               : 0</div><div>USED MEM (REAL)       : 0</div><div>USED MEM (ALLOCATED)  : 0</div><div>MAX CPU               : 0</div><div>USED CPU (REAL)       : 0</div><div>USED CPU (ALLOCATED)  : 0</div>


<div>RUNNING VMS           : 0</div><div><br></div><div>MONITORING INFORMATION</div><div><br></div></div>The monitoring information is missing and no extra error message is displayed. </div><div><br></div><div>Can someone give me some help with debugging this?</div>


<div><br></div><div>Best regards,</div><div>Florian</div><div><div></div><div class="h5"><div><br><div class="gmail_quote">On Thu, Oct 6, 2011 at 3:14 PM, Alexandru - Florian Antonescu <span dir="ltr"><<a href="mailto:florinantonescu@gmail.com" target="_blank">florinantonescu@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<div><br></div><div>After digging though the scripts, I reached the point were the one_im_exec.rb ruby script is called and from here I couldn't follow anymore.</div>


<div>When running the script I don't get any output, and if I interrupt the script I get the following output.</div>
<div>Can someone help me identify what is going on?</div><div><br></div><div><div>./lib/mads/one_im_exec.rb -r 0 -t 15 kvm</div><div>^C/srv/cloud/one/lib/ruby/ActionManager.rb:168:in `wait': Interrupt</div><div>        from /srv/cloud/one/lib/ruby/ActionManager.rb:168:in `start_listener'</div>



<div>        from /srv/cloud/one/lib/ruby/ActionManager.rb:166:in `synchronize'</div><div>        from /srv/cloud/one/lib/ruby/ActionManager.rb:166:in `start_listener'</div><div>        from /srv/cloud/one/lib/ruby/OpenNebulaDriver.rb:300:in `start_driver'</div>



<div>        from ./lib/mads/one_im_exec.rb:117</div></div><div><br></div><div>Best regards,</div><div>Florian<div><div></div><div><br><br><div class="gmail_quote">On Thu, Oct 6, 2011 at 12:30 PM, Valentin Bud <span dir="ltr"><<a href="mailto:valentin.bud@gmail.com" target="_blank">valentin.bud@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div><div></div><div>On Thu, Oct 6, 2011 at 1:09 PM, Alexandru - Florian Antonescu <span dir="ltr"><<a href="mailto:florinantonescu@gmail.com" target="_blank">florinantonescu@gmail.com</a>></span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>

Hello,<div><br></div><div>I have recently installed OpenNebula 3.0 (from source) and noticed that the added hosts are not being monitored, they just remain in INIT state. In var/oned.log I see entries like these:</div><div>







<div>Thu Oct  6 08:01:51 2011 [InM][I]: Monitoring host zrhs69 (2)</div><div>Thu Oct  6 08:01:51 2011 [InM][I]: Monitoring host zrhs6a (3)</div><div>Thu Oct  6 08:02:06 2011 [ReM][D]: HostPoolInfo method invoked</div></div>







<div>oneadmin user is able to ssh into the hosts without a password.</div><div><br></div><div>After looking in etc/im_kvm folder I saw that it is empty. Is this normal? How are hosts being monitored in OpenNebula 3.0 ?</div>







<div><br></div><div>Can anyone give me a hint on how to proceed?</div><div><br></div><div>Best regards,</div><div>Florian</div><font color="#888888"><div><br></div>
</font><br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">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></blockquote></div><br>Hello Florian,<div><br></div><div> In /etc/one/oned.conf at the "  KVM Information Driver Manager Configuration " section:</div><div><div>IM_MAD = [</div><div>      name       = "im_kvm",</div>





<div>      executable = "one_im_ssh",</div><div>      arguments  = "-r 0 -t 15 kvm" ]</div></div><div><br></div><div>The executable one_im_ssh is located in /usr/lib/one/mads or $ONE_LOCATION/lib/mads, depends if you installed OpenNebula self contained on in root (/). </div>





<div>The one_im_ssh script sets $MAD_LOCATION and executes $MAD_LOCATION/one_im_exec $*. Maybe you can find out what happens following the logic found in those scripts.</div><div><br></div><div>The monitoring part works for me. I have ONE3.0 on Debian Squeeze (6.0.2) as frontend. The nodes are also Debian 6.0.2 with qemu-kvm 0.12.5 and libvirt 0.8.3-5.</div>





<div><br></div><div>Have a great day,</div><div>v</div><div><br clear="all"><font color="#888888"><div><br></div>-- <br>network warrior<br>
</font></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br>