[one-users] Addind a debian host with xen to opennebula

Carlos Martín Sánchez cmartin at opennebula.org
Tue Aug 2 06:54:21 PDT 2011


Hi Luis,

Could you please check again that ruby is indeed installed in the
host, and not only in the front-end?
Remember also to read the xen specific requirements [1]

Regards.

[1] http://opennebula.org/documentation:rel2.2:xeng
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | cmartin at opennebula.org



2011/7/29 Luis G. Alford G. <lgalford at gmail.com>:
> Hi, carlos thanks for you repley   i still have the same issu i have check
> the log file and the problem continues, please read tha attached file and
> please let me know what I can do to have this working , I have install ruby
> ans add it to the path of trhe users in the server
>
> thanks
>
> Fri Jul 29 16:12:46 2011 [ONE][I]: Init OpenNebula Log system
> Fri Jul 29 16:12:46 2011 [ONE][I]: Log Level: 3
> [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
> Fri Jul 29 16:12:46 2011 [ONE][I]: ----------------------------------------
> Fri Jul 29 16:12:46 2011 [ONE][I]:      OpenNebula Configuration File
> Fri Jul 29 16:12:46 2011 [ONE][I]: ----------------------------------------
> Fri Jul 29 16:12:46 2011 [ONE][I]:
> ----------------------------------
> DB=BACKEND=mysql,DB_NAME=opennebula,PASSWD=oneadmin,PORT=0,SERVER=127.0.0.1,USER=oneadmin
> DEBUG_LEVEL=3
> DEFAULT_DEVICE_PREFIX=hd
> DEFAULT_IMAGE_TYPE=OS
> HM_MAD=EXECUTABLE=one_hm
> HOST_MONITORING_INTERVAL=600
> IMAGE_REPOSITORY_PATH=/srv/cloud/one/var//images
> IM_MAD=ARGUMENTS=xen,EXECUTABLE=one_im_ssh,NAME=im_xen
> MAC_PREFIX=02:00
> MANAGER_TIMER=15
> NETWORK_SIZE=254
> PORT=2633
> SCRIPTS_REMOTE_DIR=/var/tmp/one
> TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs
> VM_DIR=/srv/cloud/one/var/
> VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE
> VM_MAD=ARGUMENTS=xen,DEFAULT=/srv/cloud/one/etc/vmm_ssh/vmm_ssh_xen.conf,EXECUTABLE=one_vmm_sh,NAME=vmm_xen,TYPE=xen
> VM_MAD=ARGUMENTS=-t 15 -r 0
> kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm
> VM_POLLING_INTERVAL=600
> VNC_BASE_PORT=5900
> ----------------------------------
> Fri Jul 29 16:12:46 2011 [ONE][I]: Bootstraping OpenNebula database.
> Fri Jul 29 16:12:46 2011 [VMM][I]: Starting Virtual Machine Manager...
> Fri Jul 29 16:12:46 2011 [LCM][I]: Starting Life-cycle Manager...
> Fri Jul 29 16:12:46 2011 [InM][I]: Starting Information Manager...
> Fri Jul 29 16:12:46 2011 [TrM][I]: Starting Transfer Manager...
> Fri Jul 29 16:12:46 2011 [DiM][I]: Starting Dispatch Manager...
> Fri Jul 29 16:12:46 2011 [ReM][I]: Starting Request Manager...
> Fri Jul 29 16:12:46 2011 [ReM][I]: Starting XML-RPC server, port 2633 ...
> Fri Jul 29 16:12:46 2011 [HKM][I]: Starting Hook Manager...
> Fri Jul 29 16:12:46 2011 [LCM][I]: Life-cycle Manager started.
> Fri Jul 29 16:12:46 2011 [InM][I]: Information Manager started.
> Fri Jul 29 16:12:46 2011 [TrM][I]: Transfer Manager started.
> Fri Jul 29 16:12:46 2011 [DiM][I]: Dispatch Manager started.
> Fri Jul 29 16:12:46 2011 [ReM][I]: Request Manager started.
> Fri Jul 29 16:12:46 2011 [HKM][I]: Hook Manager started.
> Fri Jul 29 16:12:46 2011 [VMM][I]: Virtual Machine Manager started.
> Fri Jul 29 16:12:48 2011 [VMM][I]: Loading Virtual Machine Manager drivers.
> Fri Jul 29 16:12:48 2011 [VMM][I]:      Loading driver: vmm_xen (XEN)
> Fri Jul 29 16:12:48 2011 [VMM][I]:      Driver vmm_xen loaded.
> Fri Jul 29 16:12:48 2011 [VMM][I]:      Loading driver: vmm_kvm (KVM)
> Fri Jul 29 16:12:50 2011 [VMM][I]:      Driver vmm_kvm loaded.
> Fri Jul 29 16:12:50 2011 [InM][I]: Loading Information Manager drivers.
> Fri Jul 29 16:12:50 2011 [InM][I]:      Loading driver: im_xen
> Fri Jul 29 16:12:51 2011 [InM][I]:      Driver im_xen loaded
> Fri Jul 29 16:12:51 2011 [TM][I]: Loading Transfer Manager drivers.
> Fri Jul 29 16:12:51 2011 [VMM][I]:      Loading driver: tm_nfs
> Fri Jul 29 16:12:52 2011 [TM][I]:       Driver tm_nfs loaded.
> Fri Jul 29 16:12:52 2011 [HKM][I]: Loading Hook Manager driver.
> Fri Jul 29 16:12:53 2011 [HKM][I]:      Hook Manager loaded
> Fri Jul 29 16:13:16 2011 [ReM][D]: HostPoolInfo method invoked
> Fri Jul 29 16:13:16 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Jul 29 16:13:31 2011 [InM][I]: Monitoring host 130.129.223.30 (11)
> Fri Jul 29 16:13:32 2011 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen
> 130.129.223.30; else                              exit 42; fi'
> Fri Jul 29 16:13:32 2011 [InM][I]: STDERR follows.
> Fri Jul 29 16:13:32 2011 [InM][I]: /usr/bin/env: ruby: No such file or
> directory
> Fri Jul 29 16:13:32 2011 [InM][I]: Error executing xen.rb
> Fri Jul 29 16:13:32 2011 [InM][I]: ExitCode: 127
> Fri Jul 29 16:13:32 2011 [InM][E]: Error monitoring host 11 : MONITOR
> FAILURE 11 Could not monitor host 130.129.223.30.
>
> Fri Jul 29 16:13:46 2011 [ReM][D]: HostPoolInfo method invoked
> Fri Jul 29 16:13:46 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Jul 29 16:13:59 2011 [ReM][D]: UserPoolInfo method invoked
> Fri Jul 29 16:14:00 2011 [ReM][D]: HostPoolInfo method invoked
> Fri Jul 29 16:14:00 2011 [ReM][D]: ClusterPoolInfo method invoked
> Fri Jul 29 16:14:00 2011 [ReM][D]: VirtualNetworkPoolInfo method invoked
> Fri Jul 29 16:14:00 2011 [ReM][D]: ImagePoolInfo method invoked
> Fri Jul 29 16:14:00 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Jul 29 16:14:00 2011 [ReM][D]: UserPoolInfo method invoked
> Fri Jul 29 16:14:09 2011 [ReM][D]: HostInfo method invoked
> Fri Jul 29 16:14:09 2011 [ReM][D]: HostDelete method invoked
> Fri Jul 29 16:14:16 2011 [ReM][D]: HostPoolInfo method invoked
> Fri Jul 29 16:14:16 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Jul 29 16:14:23 2011 [ReM][D]: HostAllocate method invoked
> Fri Jul 29 16:14:23 2011 [ReM][D]: HostInfo method invoked
> Fri Jul 29 16:14:31 2011 [InM][I]: Monitoring host 130.129.223.30 (12)
> Fri Jul 29 16:14:33 2011 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen
> 130.129.223.30; else                              exit 42; fi'
> Fri Jul 29 16:14:33 2011 [InM][I]: STDERR follows.
> Fri Jul 29 16:14:33 2011 [InM][I]: /usr/bin/env: ruby: No such file or
> directory
> Fri Jul 29 16:14:33 2011 [InM][I]: Error executing xen.rb
> Fri Jul 29 16:14:33 2011 [InM][I]: ExitCode: 127
> Fri Jul 29 16:14:33 2011 [InM][E]: Error monitoring host 12 : MONITOR
> FAILURE 12 Could not monitor host 130.129.223.30.
>
> Fri Jul 29 16:14:46 2011 [ReM][D]: HostPoolInfo method invoked
> Fri Jul 29 16:14:46 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Jul 29 16:15:13 2011 [ReM][D]: HostPoolInfo method invoked
> Fri Jul 29 16:15:13 2011 [ReM][D]: ClusterPoolInfo method invoked
> Fri Jul 29 16:15:15 2011 [ReM][D]: HostInfo method invoked
> Fri Jul 29 16:15:16 2011 [ReM][D]: HostPoolInfo method invoked
> Fri Jul 29 16:15:16 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Jul 29 16:15:46 2011 [ReM][D]: HostPoolInfo method invoked
> Fri Jul 29 16:15:46 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Jul 29 16:16:00 2011 [ReM][D]: HostPoolInfo method invoked
> Fri Jul 29 16:16:05 2011 [ReM][D]: ClusterPoolInfo method invoked
> Fri Jul 29 16:16:08 2011 [ReM][D]: VirtualNetworkPoolInfo method invoked
> Fri Jul 29 16:16:12 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Jul 29 16:16:14 2011 [ReM][D]: UserPoolInfo method invoked
> Fri Jul 29 16:16:16 2011 [ReM][D]: HostPoolInfo method invoked
> Fri Jul 29 16:16:16 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Jul 29 16:16:16 2011 [ReM][D]: ImagePoolInfo method invoked
> Fri Jul 29 16:16:46 2011 [ReM][D]: HostPoolInfo method invoked
> Fri Jul 29 16:16:46 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
>
>
>
> 2011/7/28 Carlos Martín Sánchez <cmartin at opennebula.org>
>>
>> Hi Luis,
>>
>> Please check /var/log/one/oned.log and look for any monitoring errors.
>> If you configured the passwordless ssh for oneadmin, then the problem may
>> be the specific hypervisor configuration. See the configuration requirements
>> for Xen[1] or KVM[2]
>>
>> Regards.
>>
>> [1] http://opennebula.org/documentation:rel2.2:xeng
>> [2] http://opennebula.org/documentation:rel2.2:kvmg
>>
>> --
>> Carlos Martín, MSc
>> Project Major Contributor
>> OpenNebula - The Open Source Toolkit for Cloud Computing
>> www.OpenNebula.org | cmartin at opennebula.org
>>
>>
>> On Thu, Jul 28, 2011 at 12:16 AM, Luis G. Alford G. <lgalford at gmail.com>
>> wrote:
>>>
>>> hi,
>>>
>>> I have a question that I know that might be dumb to some people on this
>>> list but I know that you can help me. I just finish installing openneubula
>>> and sunstone server and everything seemes to be ok now i want to add a
>>> worker o phisycal server to it. I have try it abut i'm not sucessfull on
>>> this task I create a trust relationship betewen the opennebula server and
>>> the wprker server and it work fine i'm able to do a ssh session without
>>> typing any password. but when I try to add the node at the begin it said ok
>>> but after a few seconds it change to error. any Ideas of what might be wrong
>>> . waiting for you kindly answer
>>>
>>> regards
>>> Luis Alford
>>>
>>>
>>> ps : please excuse my english
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>
>
>



More information about the Users mailing list