[one-users] Monitoring host Xen 4.1.2.16: Command execution fail --> /var/tmp/one/im/run_probes xen 3 nodoxen-1 -->ExitCode: 42

Roberto Giordani r.giordani at libero.it
Sat May 26 04:35:01 PDT 2012


Hello,
I'm testing *Opennebula 3.4.1 with OpenSUSE 12.1 x64 + XEN 4.1.2* where
is installed
opennebula-sunstone-3.4.1-1.1.x86_64
opennebula-zones-3.4.1-1.1.x86_64
opennebula-3.4.1-1.1.x86_64

from opensuse repository
http://download.opensuse.org/repositories/Virtualization:/Cloud:/OpenNebula/openSUSE_12.1/

I've a second OpenSUSE12.1 with XEN 4.1.2 host (nodoxen-1) that I want
to add into OpenNebula
Unfortunately into OpenNebula documentations I didnt found a complete
example to use with XEN server, the main example use always KVM :-(

This is my *oned.conf*
/[ONE][I]: Starting OpenNebula 3.4.1/
/----------------------------------------
     OpenNebula Configuration File     
----------------------------------------
AUTH_MAD=ARGUMENTS=--authn
ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad
DATASTORE_LOCATION=/var/lib/one//datastores
DATASTORE_MAD=ARGUMENTS=-t 15 -d fs,vmware,iscsi,EXECUTABLE=one_datastore
DB=BACKEND=sqlite
DEBUG_LEVEL=3
DEFAULT_DEVICE_PREFIX=hd
DEFAULT_IMAGE_TYPE=OS
ENABLE_OTHER_PERMISSIONS=YES
HM_MAD=EXECUTABLE=one_hm
HOST_MONITORING_INTERVAL=600
HOST_PER_INTERVAL=15
IMAGE_RESTRICTED_ATTR=SOURCE
IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm
IM_MAD=ARGUMENTS=xen,EXECUTABLE=one_im_ssh,NAME=im_xen
IM_MAD=ARGUMENTS=-t 15 -r 0 vmware,EXECUTABLE=one_im_sh,NAME=im_vmware
IM_MAD=ARGUMENTS=im_ec2/im_ec2.conf,EXECUTABLE=one_im_ec2,NAME=im_ec2
MAC_PREFIX=02:00
MANAGER_TIMER=15
NETWORK_SIZE=254
PORT=2633
SCRIPTS_REMOTE_DIR=/var/tmp/one
SESSION_EXPIRATION_TIME=900
TM_MAD=ARGUMENTS=-t 15 -d
dummy,shared,qcow2,ssh,vmware,iscsi,EXECUTABLE=one_tm
VM_MAD=ARGUMENTS=-t 15 -r 0
kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=vmm_kvm,TYPE=kvm
VM_MAD=ARGUMENTS=-t 15 -r 0
xen,DEFAULT=vmm_exec/vmm_exec_xen.conf,EXECUTABLE=one_vmm_exec,NAME=vmm_xen,TYPE=xen
VM_MAD=ARGUMENTS=-t 15 -r 0
vmware,DEFAULT=vmm_exec/vmm_exec_vmware.conf,EXECUTABLE=one_vmm_sh,NAME=vmm_vmware,TYPE=vmware
VM_MAD=ARGUMENTS=vmm_ec2/vmm_ec2.conf,EXECUTABLE=one_vmm_ec2,NAME=vmm_ec2,TYPE=xml
VM_PER_INTERVAL=5
VM_POLLING_INTERVAL=600
VM_RESTRICTED_ATTR=CONTEXT/FILES
VM_RESTRICTED_ATTR=DISK/SOURCE
VM_RESTRICTED_ATTR=NIC/MAC
VM_RESTRICTED_ATTR=NIC/VLAN_ID
VM_RESTRICTED_ATTR=RANK
VNC_BASE_PORT=5900/

After some tuning on Managment host where is hosted OpenNebula, I've
followed
*Bootstrapping OpenNebula 3.4 and creating a VM from scratch *
http://www.youtube.com/watch?v=fQP4NQQ9NSI

but adding it after some minutes the oned.log report this error
[InM][I]: Monitoring host nodoxen-1 (3)
Sat May 26 13:24:48 2012 [InM][I]: *Command execution fail: 'if [ -x
"/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen 3
nodoxen-1; else                              exit 42; fi'
Sat May 26 13:24:48 2012 [InM][I]: ExitCode: 42*
Sat May 26 13:24:48 2012 [InM][E]: Error monitoring host 3 : MONITOR
FAILURE 3 -


Could someone explain what I must do to add a XEN host?

Regards,
Roberto.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120526/8e3a475b/attachment-0002.htm>


More information about the Users mailing list