It seems that there is a problem with the execution of im scripts. Execute this command as oneadmin:
$ ssh xenserver-crlpszzx /var/tmp/one/im/run_probes kvm 18 xenserver-crlpszzx This is the command opennebula executes to monitor the host. It should get more information this way. On Tue, Feb 19, 2013 at 7:15 PM, Alexandre De Carvalho <[email protected]> wrote: > I have only this : > > [root@localhost one]# onehost show 18 > HOST 18 INFORMATION > ID : 18 > NAME : xenserver-crlpszzx > STATE : ERROR > IM_MAD : im_xenserver > VM_MAD : vmm_xenserver > TM_MAD : tm_xenserver > > HOST SHARES > MAX MEM : 0 > USED MEM (REAL) : 0 > USED MEM (ALLOCATED) : 0 > MAX CPU : 0 > USED CPU (REAL) : 0 > USED CPU (ALLOCATED) : 0 > RUNNING VMS : 0 > > MONITORING INFORMATION > ERROR=[ > MESSAGE="Error parsing host information: > ", > TIMESTAMP="Tue Feb 19 19:04:15 2013" ] > [root@localhost one]# cd .. > [root@localhost etc]# cd .. > [root@localhost /]# cd .. > [root@localhost /]# tail -f -n 200 var/log/one/oned.log > Tue Feb 19 19:03:00 2013 [ONE][I]: Init OpenNebula Log system > Tue Feb 19 19:03:00 2013 [ONE][I]: Log Level: 3 > [0=ERROR,1=WARNING,2=INFO,3=DEBUG] > Tue Feb 19 19:03:00 2013 [ONE][I]: ---------------------------------------- > Tue Feb 19 19:03:00 2013 [ONE][I]: OpenNebula Configuration File > Tue Feb 19 19:03:00 2013 [ONE][I]: ---------------------------------------- > Tue Feb 19 19:03:00 2013 [ONE][I]: > ---------------------------------- > DB=BACKEND=sqlite > DEBUG_LEVEL=3 > DEFAULT_DEVICE_PREFIX=hd > DEFAULT_IMAGE_TYPE=OS > HM_MAD=EXECUTABLE=one_hm > HOST_MONITORING_INTERVAL=600 > HOST_PER_INTERVAL=15 > IMAGE_MAD=ARGUMENTS=fs -t 15,EXECUTABLE=one_image > 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=xenserver,EXECUTABLE=one_im_sh,NAME=im_xenserver > MAC_PREFIX=02:00 > MANAGER_TIMER=15 > NETWORK_SIZE=254 > PORT=2633 > SCRIPTS_REMOTE_DIR=/var/tmp/one > TM_MAD=ARGUMENTS=tm_shared/tm_shared.conf,EXECUTABLE=one_tm,NAME=tm_shared > TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh > TM_MAD=ARGUMENTS=tm_xenserver/tm_xenserver.conf,EXECUTABLE=one_tm,NAME=tm_xenserver > VM_DIR=/var/lib/one/ > 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=xen,DEFAULT=vmm_sh/vmm_sh_xenserver.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_xen,TYPE=xen > VM_MAD=ARGUMENTS=xenserver,DEFAULT=vmm_sh/vmm_sh_xenserver.conf,EXECUTABLE=one_vmm_sh,NAME=vmm_xenserver,TYPE=xml > VM_PER_INTERVAL=5 > VM_POLLING_INTERVAL=600 > VNC_BASE_PORT=5900 > ---------------------------------- > Tue Feb 19 19:03:00 2013 [ONE][I]: Checking database version. > Tue Feb 19 19:03:00 2013 [VMM][I]: Starting Virtual Machine Manager... > Tue Feb 19 19:03:00 2013 [LCM][I]: Starting Life-cycle Manager... > Tue Feb 19 19:03:00 2013 [VMM][I]: Virtual Machine Manager started. > Tue Feb 19 19:03:00 2013 [LCM][I]: Life-cycle Manager started. > Tue Feb 19 19:03:00 2013 [InM][I]: Starting Information Manager... > Tue Feb 19 19:03:00 2013 [InM][I]: Information Manager started. > Tue Feb 19 19:03:00 2013 [TrM][I]: Starting Transfer Manager... > Tue Feb 19 19:03:00 2013 [DiM][I]: Starting Dispatch Manager... > Tue Feb 19 19:03:00 2013 [HKM][I]: Starting Hook Manager... > Tue Feb 19 19:03:00 2013 [DiM][I]: Dispatch Manager started. > Tue Feb 19 19:03:00 2013 [TrM][I]: Transfer Manager started. > Tue Feb 19 19:03:00 2013 [HKM][I]: Hook Manager started. > Tue Feb 19 19:03:00 2013 [ImM][I]: Starting Image Manager... > Tue Feb 19 19:03:00 2013 [ImM][I]: Image Manager started. > Tue Feb 19 19:03:00 2013 [ReM][I]: Starting Request Manager... > Tue Feb 19 19:03:00 2013 [ReM][I]: Starting XML-RPC server, port 2633 ... > Tue Feb 19 19:03:00 2013 [ReM][I]: Request Manager started. > Tue Feb 19 19:03:02 2013 [VMM][I]: Loading Virtual Machine Manager drivers. > Tue Feb 19 19:03:02 2013 [VMM][I]: Loading driver: vmm_kvm (KVM) > Tue Feb 19 19:03:02 2013 [VMM][I]: Driver vmm_kvm loaded. > Tue Feb 19 19:03:02 2013 [VMM][I]: Loading driver: vmm_xen (XEN) > Tue Feb 19 19:03:02 2013 [VMM][I]: Driver vmm_xen loaded. > Tue Feb 19 19:03:02 2013 [VMM][I]: Loading driver: vmm_xenserver (XML) > Tue Feb 19 19:03:02 2013 [VMM][I]: Driver vmm_xenserver loaded. > Tue Feb 19 19:03:02 2013 [InM][I]: Loading Information Manager drivers. > Tue Feb 19 19:03:02 2013 [InM][I]: Loading driver: im_kvm > Tue Feb 19 19:03:02 2013 [InM][I]: Driver im_kvm loaded > Tue Feb 19 19:03:02 2013 [InM][I]: Loading driver: im_xen > Tue Feb 19 19:03:02 2013 [InM][I]: Driver im_xen loaded > Tue Feb 19 19:03:02 2013 [InM][I]: Loading driver: im_xenserver > Tue Feb 19 19:03:02 2013 [InM][I]: Driver im_xenserver loaded > Tue Feb 19 19:03:02 2013 [TM][I]: Loading Transfer Manager drivers. > Tue Feb 19 19:03:02 2013 [VMM][I]: Loading driver: tm_shared > Tue Feb 19 19:03:02 2013 [TM][I]: Driver tm_shared loaded. > Tue Feb 19 19:03:02 2013 [VMM][I]: Loading driver: tm_ssh > Tue Feb 19 19:03:02 2013 [TM][I]: Driver tm_ssh loaded. > Tue Feb 19 19:03:02 2013 [VMM][I]: Loading driver: tm_xenserver > Tue Feb 19 19:03:02 2013 [TM][I]: Driver tm_xenserver loaded. > Tue Feb 19 19:03:02 2013 [HKM][I]: Loading Hook Manager driver. > Tue Feb 19 19:03:03 2013 [HKM][I]: Hook Manager loaded > Tue Feb 19 19:03:03 2013 [ImM][I]: Loading Image Manager driver. > Tue Feb 19 19:03:03 2013 [ImM][I]: Image Manager loaded > Tue Feb 19 19:03:05 2013 [ReM][D]: HostPoolInfo method invoked > Tue Feb 19 19:03:12 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:03:12 2013 [ReM][D]: HostDelete method invoked > Tue Feb 19 19:03:30 2013 [ReM][D]: HostPoolInfo method invoked > Tue Feb 19 19:03:30 2013 [ReM][D]: VirtualMachinePoolInfo method invoked > Tue Feb 19 19:03:30 2013 [ReM][D]: AclInfo method invoked > Tue Feb 19 19:04:00 2013 [ReM][D]: HostPoolInfo method invoked > Tue Feb 19 19:04:00 2013 [ReM][D]: VirtualMachinePoolInfo method invoked > Tue Feb 19 19:04:00 2013 [ReM][D]: AclInfo method invoked > Tue Feb 19 19:04:00 2013 [ReM][D]: HostAllocate method invoked > Tue Feb 19 19:04:06 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:07 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:08 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:09 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:10 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:11 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:12 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:13 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:14 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:14 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:15 2013 [InM][I]: Monitoring host xenserver-crlpszzx (18) > Tue Feb 19 19:04:15 2013 [InM][I]: ExitCode: 0 > Tue Feb 19 19:04:15 2013 [InM][D]: Host 18 successfully monitored. > Tue Feb 19 19:04:15 2013 [ONE][E]: syntax error, unexpected $end, expecting > VARIABLE at line 2, columns 1:2 > Tue Feb 19 19:04:15 2013 [InM][E]: Error parsing host information: > > Tue Feb 19 19:04:15 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:15 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:17 2013 [ReM][D]: HostInfo method invoked > Tue Feb 19 19:04:30 2013 [ReM][D]: HostPoolInfo method invoked > Tue Feb 19 19:04:30 2013 [ReM][D]: VirtualMachinePoolInfo method invoked > Tue Feb 19 19:04:30 2013 [ReM][D]: AclInfo method invoked > Tue Feb 19 19:05:00 2013 [ReM][D]: HostPoolInfo method invoked > Tue Feb 19 19:05:00 2013 [ReM][D]: VirtualMachinePoolInfo method invoked > Tue Feb 19 19:05:00 2013 [ReM][D]: AclInfo method invoked > Tue Feb 19 19:05:30 2013 [ReM][D]: HostPoolInfo method invoked > Tue Feb 19 19:05:30 2013 [ReM][D]: VirtualMachinePoolInfo method invoked > Tue Feb 19 19:05:30 2013 [ReM][D]: AclInfo method invoked > Tue Feb 19 19:06:00 2013 [ReM][D]: HostPoolInfo method invoked > Tue Feb 19 19:06:00 2013 [ReM][D]: VirtualMachinePoolInfo method invoked > Tue Feb 19 19:06:00 2013 [ReM][D]: AclInfo method invoked > Tue Feb 19 19:06:30 2013 [ReM][D]: HostPoolInfo method invoked > Tue Feb 19 19:06:30 2013 [ReM][D]: VirtualMachinePoolInfo method invoked > Tue Feb 19 19:06:30 2013 [ReM][D]: AclInfo method invoked > ^C > > > > 2013/2/19 Javier Fontan <[email protected]> >> >> You should get more information after those lines, it prints the >> monitoring information it cannot parse. Could you send it here? >> >> On Tue, Feb 19, 2013 at 5:36 PM, Alexandre De Carvalho >> <[email protected]> wrote: >> > Hi, >> > >> > I have this problem when i want add a host : >> > >> > Tue Feb 19 17:30:04 2013 [InM][D]: Host 10 successfully monitored. >> > Tue Feb 19 17:30:04 2013 [ONE][E]: syntax error, unexpected $end, >> > expecting >> > VARIABLE at line 2, columns 1:2 >> > Tue Feb 19 17:30:04 2013 [InM][E]: Error parsing host information: >> > >> > Here my /etc/one/oned.conf : >> > >> > >> > >> > #------------------------------------------------------------------------------- >> > # XCP Driver Addon Virtualization Driver Manager Configuration >> > >> > #------------------------------------------------------------------------------- >> > VM_MAD = [ name = "vmm_xenserver", executable = "one_vmm_sh", arguments >> > = >> > "xenserver", default = "vmm_sh/vmm_sh_xenserver.conf", type = "xml" ] >> > >> > #------------------------------------------------------------------------------- >> > # XCP Driver Addon Information Driver Manager Configuration >> > >> > #------------------------------------------------------------------------------- >> > IM_MAD = [ name = "im_xenserver", executable = "one_im_sh", arguments = >> > "xenserver" ] >> > >> > #------------------------------------------------------------------------------- >> > >> > #------------------------------------------------------------------------------- >> > # XCP Driver Addon Transfer Manager Driver Configuration >> > >> > #------------------------------------------------------------------------------- >> > TM_MAD = [ name = "tm_xenserver", executable = "one_tm", arguments = >> > "tm_xenserver/tm_xenserver.conf" ] >> > >> > #------------------------------------------------------------------------------- >> > >> > >> > Can you help me, please ? >> > >> > -- >> > Best regards, >> > Alexandre >> > >> > >> > >> > _______________________________________________ >> > Users mailing list >> > [email protected] >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> > >> >> >> >> -- >> Javier Fontán Muiños >> Project Engineer >> OpenNebula - The Open Source Toolkit for Data Center Virtualization >> www.OpenNebula.org | [email protected] | @OpenNebula > > > > > -- > Cordialement, > Alexandre DE CARVALHO > > -- Javier Fontán Muiños Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | [email protected] | @OpenNebula _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
