[one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0]
Ruben S. Montero
rsmontero at opennebula.org
Thu Mar 8 09:04:36 PST 2012
Yes,
I mean the contents of the directory. run_probes, just executes the scripts
in /var/tmp/one/im/kvm.d (in your case). The reason for no output of
run_probes is an empty kvm.d. Could you check the contents of that
directory (and execute any script there....)?
BTW run_probes is a very simple shell script (similar to run_parts) you may
want to execute it with bash -xv /var/tmp/one/im/run_probes kvm 4 pcls
On Thu, Mar 8, 2012 at 5:57 PM, biro lehel <lehel.biro at yahoo.com> wrote:
> Hello Ruben,
>
> as I mentioned at the bottom of my previous email, I already run
> /var/tmp/one/im/run_probes with the necessary parameters on pcls (my only
> host), which resulted in the same (empty) output. The file exists, it just
> doesn't produce the expected (or any) output, and I couldn't find the
> reason so far.
>
> I didn't try 'onehost sync', but I could try tomorrow morning (since I got
> home already, and I'm not at the respective computers), if you consider
> that it might help.
>
> Any other suggestions?
>
> Cheers,
> Lehel.
>
> --- On *Thu, 3/8/12, Ruben S. Montero <rsmontero at opennebula.org>* wrote:
>
>
> From: Ruben S. Montero <rsmontero at opennebula.org>
> Subject: Re: [one-users] Monitoring issue right after host creation [No
> Monitoring Information | OpenNebula 3.2.0]
> To: "biro lehel" <lehel.biro at yahoo.com>
> Cc: users at lists.opennebula.org
> Date: Thursday, March 8, 2012, 6:17 PM
>
> Hi,
>
> Could you please check the contents of /var/tmp/one/im/ at pcls? It seems
> that there are no probes there. If that's the case you can copy them by
> hand or use onehost sync and wait for a monitoring action on the host.
>
> Cheers
>
> Ruben
>
> On Thu, Mar 8, 2012 at 4:25 PM, biro lehel <lehel.biro at yahoo.com<http://mc/compose?to=lehel.biro@yahoo.com>
> > wrote:
>
> Hello,
>
> I tried to add my one and only host, by executing on the front-end:
>
> > onehost create pcls im_kvm vmm_kvm tm_shared dummy
>
> Issuing the 'onehost list' command, the result seems to be the one
> expected. However, issuing 'onehost show pcls' command results in zero
> values and NO monitoring information:
>
> oneadmin at linux-4dsu:~/remotes/im> onehost show pcls
> HOST 6
> INFORMATION
> ID : 6
> NAME : pcls
> STATE : MONITORED
> IM_MAD : im_kvm
> VM_MAD : vmm_kvm
> VN_MAD : dummy
> TM_MAD : tm_shared
> LAST MONITORING TIME : 1331219173
>
> HOST
> SHARES
> MAX MEM : 0
> USED MEM (REAL) : 0
> USED MEM (ALLOCATED) : 0
> MAX CPU : 0
> USED CPU (REAL) : 0
> USED CPU (ALLOCATED) : 0
> MAX DISK : 0
> USED DISK (REAL) : 0
> USED DISK (ALLOCATED) : 0
> RUNNING VMS : 0
>
> MONITORING INFORMATION
>
> (the report ends here, without monitoring information).
>
> I had some errors before, oned.log having:
>
> Thu Mar 8 15:49:03 2012 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 4 pcls;
> else exit 42; fi'
> Thu Mar 8 15:49:03 2012 [InM][I]: ExitCode: 42
> Thu Mar 8 15:49:03 2012 [InM][E]: Error monitoring host 4 : MONITOR
> FAILURE 4 -
>
> However, I fixed this by simply adding execution permission to the
> run_probes file mentioned above (since, it didn't have one). At this
> moment, oned.log contains no errors (to be precise, it says,
>
> Thu Mar 8 17:16:12 2012 [ReM][D]: HostPoolInfo method invoked
> Thu Mar 8 17:16:12 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Mar 8 17:16:12 2012 [ReM][D]: AclInfo method invoked
> Thu Mar 8 17:16:13 2012 [InM][I]: Monitoring host pcls (6)
> Thu Mar 8 17:16:18 2012 [InM][I]: ExitCode: 0
> Thu Mar 8 17:16:18 2012 [InM][D]: Host 6 successfully monitored.
> Thu Mar 8 17:16:19 2012 [ReM][D]: UserPoolInfo method invoked
> Thu Mar 8 17:16:19 2012 [AuM][D]: Message received: LOG I 874 ExitCode: 0
>
> ).
>
> Firing the respective command on the host ( /var/tmp/one/im/run_probes kvm
> 4 pcls ) also results in no output and no errors (it simply puts a space on
> a new line in the CLI).
>
> I don't think that this is the expected behavior and I think that there is
> a problem somewhere. What am I missing? Any suggestions?
>
> Thanks,
> Lehel.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org<http://mc/compose?to=Users@lists.opennebula.org>
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> OpenNebula - The Open Source Solution for Data Center Virtualization
> www.OpenNebula.org | rsmontero at opennebula.org<http://mc/compose?to=rsmontero@opennebula.org>| @OpenNebula
>
>
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120308/01af243e/attachment-0002.htm>
More information about the Users
mailing list