[one-users] Problem with host creation
Tino Vazquez
tinova at opennebula.org
Thu Mar 17 07:33:11 PDT 2011
Hi,
It is possible to use the same server as front-end and worker node. As
oneadmin, can you access passwordlessly from the server to the server?
That is, can you get the following to work without input for a password:
<oneadmin>$ ssh localhost
Regards,
-Tino
--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79
2011/3/16 Łukasz Grabowski <grabbs07 at gmail.com>:
> Hi, I am trying to add a host to a cluster, but it seems that it is not
> working.
> Could you help me solve the problem?
> The file run_probes that appears in oned.log doesn't exist in /var/tmp/im/
>
> Is it possible to make one server to be a front-end and worker-node at the
> same time?
>
>
> oneadmin at debian:~$ onehost list
> ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM
> STAT
> 4 194.29.169.16 default 0 0 0 100 0K 0K
> err
>
> oned.log
> DB=BACKEND=sqlite
> DEBUG_LEVEL=3
> DEFAULT_DEVICE_PREFIX=hd
> DEFAULT_IMAGE_TYPE=OS
> HM_MAD=EXECUTABLE=one_hm
> HOST_MONITORING_INTERVAL=20
> IMAGE_REPOSITORY_PATH=/srv/cloud/one/images
> IM_MAD=ARGUMENTS=xen,EXECUTABLE=one_im_ssh,NAME=im_xen
> MAC_PREFIX=02:00
> MANAGER_TIMER=10
> NETWORK_SIZE=254
> PORT=2633
> SCRIPTS_REMOTE_DIR=/var/tmp
> TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh
> VM_DIR=/srv/cloud/one/var
> VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE
> VM_MAD=ARGUMENTS=xen,DEFAULT=vmm_ssh/vmm_ssh_xen.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_xen,TYPE=xen
> VM_POLLING_INTERVAL=10
> VNC_BASE_PORT=5000
> ----------------------------------
> Sun Nov 28 16:01:59 2010 [ONE][I]: Bootstraping OpenNebula database.
> Sun Nov 28 16:02:00 2010 [VMM][I]: Starting Virtual Machine Manager...
> Sun Nov 28 16:02:00 2010 [LCM][I]: Starting Life-cycle Manager...
> Sun Nov 28 16:02:00 2010 [VMM][I]: Virtual Machine Manager started.
> Sun Nov 28 16:02:00 2010 [LCM][I]: Life-cycle Manager started.
> Sun Nov 28 16:02:00 2010 [InM][I]: Starting Information Manager...
> Sun Nov 28 16:02:00 2010 [InM][I]: Information Manager started.
> Sun Nov 28 16:02:00 2010 [TrM][I]: Starting Transfer Manager...
> Sun Nov 28 16:02:00 2010 [DiM][I]: Starting Dispatch Manager...
> Sun Nov 28 16:02:00 2010 [TrM][I]: Transfer Manager started.
> Sun Nov 28 16:02:00 2010 [DiM][I]: Dispatch Manager started.
> Sun Nov 28 16:02:00 2010 [ReM][I]: Starting Request Manager...
> Sun Nov 28 16:02:00 2010 [ReM][I]: Starting XML-RPC server, port 2633 ...
> Sun Nov 28 16:02:00 2010 [ReM][I]: Request Manager started.
> Sun Nov 28 16:02:00 2010 [HKM][I]: Starting Hook Manager...
> Sun Nov 28 16:02:00 2010 [HKM][I]: Hook Manager started.
> Sun Nov 28 16:02:02 2010 [VMM][I]: Loading Virtual Machine Manager drivers.
> Sun Nov 28 16:02:02 2010 [VMM][I]: Loading driver: vmm_xen (XEN)
> Sun Nov 28 16:02:02 2010 [VMM][I]: Driver vmm_xen loaded.
> Sun Nov 28 16:02:02 2010 [InM][I]: Loading Information Manager drivers.
> Sun Nov 28 16:02:02 2010 [InM][I]: Loading driver: im_xen
> Sun Nov 28 16:02:03 2010 [InM][I]: Driver im_xen loaded
> Sun Nov 28 16:02:03 2010 [TM][I]: Loading Transfer Manager drivers.
> Sun Nov 28 16:02:03 2010 [VMM][I]: Loading driver: tm_ssh
> Sun Nov 28 16:02:03 2010 [TM][I]: Driver tm_ssh loaded.
> Sun Nov 28 16:02:03 2010 [HKM][I]: Loading Hook Manager driver.
> Sun Nov 28 16:02:03 2010 [HKM][I]: Hook Manager loaded
> Sun Nov 28 16:02:10 2010 [InM][I]: Monitoring host 194.29.169.16 (4)
> Sun Nov 28 16:02:10 2010 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;
> else exit 42; fi'
> Sun Nov 28 16:02:10 2010 [InM][I]: STDERR follows.
> Sun Nov 28 16:02:10 2010 [InM][I]: ssh: connect to host 194.29.169.16 port
> 22: Network is unreachable
> Sun Nov 28 16:02:10 2010 [InM][I]: ExitCode: 255
> Sun Nov 28 16:02:10 2010 [InM][E]: Error monitoring host 4 : MONITOR FAILURE
> 4 Could not monitor host 194.29.169.16.
>
> Sun Nov 28 16:02:29 2010 [ReM][D]: HostPoolInfo method invoked
> Sun Nov 28 16:02:29 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
> Sun Nov 28 16:02:30 2010 [InM][I]: Monitoring host 194.29.169.16 (4)
> Sun Nov 28 16:02:30 2010 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;
> else exit 42; fi'
> Sun Nov 28 16:02:30 2010 [InM][I]: STDERR follows.
> Sun Nov 28 16:02:30 2010 [InM][I]: Permission denied, please try again.
> Sun Nov 28 16:02:30 2010 [InM][I]: Permission denied, please try again.
> Sun Nov 28 16:02:30 2010 [InM][I]: Permission denied (publickey,password).
> Sun Nov 28 16:02:30 2010 [InM][I]: ExitCode: 255
> Sun Nov 28 16:02:30 2010 [InM][E]: Error monitoring host 4 : MONITOR FAILURE
> 4 Could not monitor host 194.29.169.16.
>
>
> Then, I gave more permissions to /var and create the same host another time
> and the result was:
>
> Sun Nov 28 16:22:29 2010 [ReM][D]: HostPoolInfo method invoked
> Sun Nov 28 16:22:29 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
> Sun Nov 28 16:22:40 2010 [InM][I]: Monitoring host 194.29.169.16 (5)
> Sun Nov 28 16:22:40 2010 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;
> else exit 42; fi'
> Sun Nov 28 16:22:40 2010 [InM][I]: STDERR follows.
> Sun Nov 28 16:22:40 2010 [InM][I]: ssh_exchange_identification: Connection
> closed by remote host
> Sun Nov 28 16:22:40 2010 [InM][I]: ExitCode: 255
> Sun Nov 28 16:22:40 2010 [InM][E]: Error monitoring host 5 : MONITOR FAILURE
> 5 Could not monitor host 194.29.169.16.
>
> Regards,
> Łukasz Grabowski
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
More information about the Users
mailing list