[one-users] Hosts not monitored

Alexandru - Florian Antonescu florinantonescu at gmail.com
Thu Oct 6 06:14:39 PDT 2011


Hello,

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.
When running the script I don't get any output, and if I interrupt the
script I get the following output.
Can someone help me identify what is going on?

./lib/mads/one_im_exec.rb -r 0 -t 15 kvm
^C/srv/cloud/one/lib/ruby/ActionManager.rb:168:in `wait': Interrupt
        from /srv/cloud/one/lib/ruby/ActionManager.rb:168:in
`start_listener'
        from /srv/cloud/one/lib/ruby/ActionManager.rb:166:in `synchronize'
        from /srv/cloud/one/lib/ruby/ActionManager.rb:166:in
`start_listener'
        from /srv/cloud/one/lib/ruby/OpenNebulaDriver.rb:300:in
`start_driver'
        from ./lib/mads/one_im_exec.rb:117

Best regards,
Florian

On Thu, Oct 6, 2011 at 12:30 PM, Valentin Bud <valentin.bud at gmail.com>wrote:

>
>
> On Thu, Oct 6, 2011 at 1:09 PM, Alexandru - Florian Antonescu <
> florinantonescu at gmail.com> wrote:
>
>> Hello,
>>
>> 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:
>> Thu Oct  6 08:01:51 2011 [InM][I]: Monitoring host zrhs69 (2)
>> Thu Oct  6 08:01:51 2011 [InM][I]: Monitoring host zrhs6a (3)
>> Thu Oct  6 08:02:06 2011 [ReM][D]: HostPoolInfo method invoked
>> oneadmin user is able to ssh into the hosts without a password.
>>
>> 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 ?
>>
>> Can anyone give me a hint on how to proceed?
>>
>> Best regards,
>> Florian
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
> Hello Florian,
>
>  In /etc/one/oned.conf at the "  KVM Information Driver Manager
> Configuration " section:
> IM_MAD = [
>       name       = "im_kvm",
>       executable = "one_im_ssh",
>       arguments  = "-r 0 -t 15 kvm" ]
>
> 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 (/).
> 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.
>
> 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.
>
> Have a great day,
> v
>
>
> --
> network warrior
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111006/b5e8e8c3/attachment-0002.htm>


More information about the Users mailing list