[one-users] one remote scripts

Pavel Zhukov pavel at zhukoff.net
Mon Nov 15 22:09:57 PST 2010


Hi.
I have installed opennebula on Centos from rpm. and config remote 
script dir as:

SCRIPTS_REMOTE_DIR=~/scripts/
(tried SCRIPTS_REMOTE_DIR=/var/tmp as well)
but scri[rs always store in /tmp/one folder and wipe after reboot.

"Onehost sync" does nothing

Is it bug? Or I do something wrong?

Logs and configs:

$ rpm -qi opennebula
Name        : opennebula                   Relocations: (not 
relocatable)
Version     : 2.0                               Vendor: (none)
Release     : 1                             Build Date: Thu 21 Oct 
2010 01:37:56 AM MSD
Install Date: Mon 15 Nov 2010 05:19:51 PM MSK      Build Host: 
pkg-centos5-64

cat /etc/one/oned.conf | grep SCRIP
SCRIPTS_REMOTE_DIR=~/scripts/
I tried /vat/tmp as well

/var/log/one/oned.log


----------------------------------
DB=BACKEND=mysql,DB_NAME=opennebula,PASSWD=cloud,SERVER=localhost,USER=oneadmin
DEBUG_LEVEL=3
DEFAULT_DEVICE_PREFIX=sd
DEFAULT_IMAGE_TYPE=OS
HM_MAD=EXECUTABLE=one_hm
HOST_MONITORING_INTERVAL=10
IMAGE_REPOSITORY_PATH=/cloud/var/images
IM_MAD=ARGUMENTS=kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm
MAC_PREFIX=02:00
MANAGER_TIMER=15
NETWORK_SIZE=254
PORT=2633
SCRIPTS_REMOTE_DIR=~/scripts/
TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh
VM_DIR=/cloud
VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE
VM_MAD=ARGUMENTS=kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm
VM_POLLING_INTERVAL=10
VNC_BASE_PORT=5900
-------------------------------------------

Error afrer wiping /tmp:
Mon Nov 15 23:43:52 2010 [InM][I]: Command execution fail: 
/tmp/one/im/run_probes kvm 192.168.101.1
Mon Nov 15 23:43:52 2010 [InM][I]: STDERR follows.
Mon Nov 15 23:43:52 2010 [InM][I]: bash: /tmp/one/im/run_probes: No 
such file or directory
Mon Nov 15 23:43:52 2010 [InM][I]: ExitCode: 127
Mon Nov 15 23:43:52 2010 [InM][E]: Error monitoring host 0 : MONITOR 
FAILURE 0 Could not monitor host 192.168.101.1.



More information about the Users mailing list