Hi Manuel,

According to the log, can you please verify that the script 
"/var/tmp/one/im/run_probes":


1)      is present on the newly added node

2)      is accessible by oneadmin user

3)      is executable by oneadmin user

Cheers,

Ondra

From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Manuel 
Lanazca
Sent: Monday, December 22, 2014 7:44 PM
To: users@lists.opennebula.org
Subject: [one-users] Opennebula node (ubuntu 14.04) saying Error executing 
collectd-client.rb when creating a host.

Hello OpenNebula Team,

I am having an issue adding a new host to OpenNebula. I hope someone can  help 
me.


OpenNebula releaase: 4.10.1-1
Hypervisor:  Ubuntu 14.04 / 3.13.0-43-generic
libvirt-bin                         1.2.2-0ubuntu13.1.7


LOG:

Dec 22 13:16:16 neb1 oned[18378]: [Z0][InM][I]: Command execution fail: 'if [ 
-x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 
/var/lib/one//datastores 4124 20 50 kvm1; else                              
exit 42; fi'
Dec 22 13:16:16 neb1 oned[18378]: [Z0][InM][I]: cat: 
/tmp/one-collectd-client.pid: No such file or directory
Dec 22 13:16:16 neb1 oned[18378]: [Z0][InM][I]: /var/tmp/one/im/run_probes: 
line 34: 37231 Aborted                 (core dumped) ./$i $ARGUMENTS
Dec 22 13:16:16 neb1 oned[18378]: [Z0][InM][E]: Error executing 
collectd-client.rb
Dec 22 13:16:16 neb1 oned[18378]: [Z0][InM][I]: ExitCode: 134
Dec 22 13:16:27 neb1 oned[18378]: [Z0][InM][I]: Command execution fail: 'if [ 
-x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 
/var/lib/one//datastores 4124 20 50 kvm1; else                              
exit 42; fi'
Dec 22 13:16:27 neb1 oned[18378]: [Z0][InM][I]: cat: 
/tmp/one-collectd-client.pid: No such file or directory
Dec 22 13:16:27 neb1 oned[18378]: [Z0][InM][I]: /var/tmp/one/im/run_probes: 
line 34: 37433 Aborted                 (core dumped) ./$i $ARGUMENTS
Dec 22 13:16:27 neb1 oned[18378]: [Z0][InM][E]: Error executing 
collectd-client.rb
Dec 22 13:16:27 neb1 oned[18378]: [Z0][InM][I]: ExitCode: 134
Dec 22 13:16:30 neb1 oned[18378]: [Z0][InM][I]: Command execution fail: 'if [ 
-x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 
/var/lib/one//datastores 4124 20 50 kvm1; else                              
exit 42; fi'
Dec 22 13:16:30 neb1 oned[18378]: [Z0][InM][I]: cat: 
/tmp/one-collectd-client.pid: No such file or directory
Dec 22 13:16:30 neb1 oned[18378]: [Z0][InM][I]: /var/tmp/one/im/run_probes: 
line 34: 37573 Aborted                 (core dumped) ./$i $ARGUMENTS
Dec 22 13:16:30 neb1 oned[18378]: [Z0][InM][E]: Error executing 
collectd-client.rb
Dec 22 13:16:30 neb1 oned[18378]: [Z0][InM][I]: ExitCode: 134



I have tried to perform some debug

++ ./collectd-client.rb kvm /var/lib/one//datastores 4124 20 49 kvm1
./collectd-client.rb:122:in `<main>': undefined method `split' for nil:NilClass 
(NoMethodError)
++ EXIT_CODE=1
++ '[' x1 '!=' x0 ']'
++ error_message 'Error executing collectd-client.rb'
++ echo 'ERROR MESSAGE --8<------'
ERROR MESSAGE --8<------
++ echo 'Error executing collectd-client.rb'
Error executing collectd-client.rb
++ echo 'ERROR MESSAGE ------>8--'
ERROR MESSAGE ------>8--
++ exit 1
+ data=
+ EXIT_CODE=1
+ echo ''

+ exit 1

________________________________
This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you for understanding.
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to