[one-users] OpenNebula 2.2 Cluster Error

Clément Berthelot mentcle at gmail.com
Wed Oct 19 08:29:32 PDT 2011


Well my bad again guys for asking for help too quickly. Found the error. On the node when I edited the /etc/sudoers file, I had followed the instruction and created the two %xen……. lines. But my group was actually not called xen but cloud, changed the two lines and now it works like a charm !

Thanks you

Clement

Le 19 oct. 2011 à 16:55, Clément Berthelot a écrit :

> Hey guys,
> 
> Just sorted out my SSH problem (I forgot to add the password when I created oneadmin on the node machine). I can finally ssh the node from the frontend and it does not ask for a password. However, when I add a host on the frontend (onehost create 10.1.1.1 im_xen vmm_xen tm_ssh), its status is set to on for a few seconds and then it goes to ERROR. I checked the oned.log file and it shows this:
> ------------------------------------------------------
> Wed Oct 19 16:18:18 2011 [ReM][D]: HostPoolInfo method invoked
> Wed Oct 19 16:18:19 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Wed Oct 19 16:18:28 2011 [ReM][D]: HostPoolInfo method invoked
> Wed Oct 19 16:18:40 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Wed Oct 19 16:18:48 2011 [ReM][D]: HostPoolInfo method invoked
> Wed Oct 19 16:18:49 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Wed Oct 19 16:19:02 2011 [ReM][D]: UserPoolInfo method invoked
> Wed Oct 19 16:19:16 2011 [ReM][D]: ClusterPoolInfo method invoked
> Wed Oct 19 16:19:19 2011 [ReM][D]: HostPoolInfo method invoked
> Wed Oct 19 16:19:19 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Wed Oct 19 16:19:20 2011 [InM][I]: Monitoring host 10.1.1.1 (1)
> Wed Oct 19 16:19:20 2011 [InM][I]: Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen 10.1.1.1; else                              exit 42; fi'
> Wed Oct 19 16:19:20 2011 [InM][I]: STDERR follows.
> Wed Oct 19 16:19:20 2011 [InM][I]: sudo: no tty present and no askpass program specified
> Wed Oct 19 16:19:20 2011 [InM][I]: Error executing xen.rb
> Wed Oct 19 16:19:20 2011 [InM][I]: ExitCode: 255
> Wed Oct 19 16:19:20 2011 [InM][E]: Error monitoring host 1 : MONITOR FAILURE 1 Could not monitor host 10.1.1.1.
> ------------------------------------------------------
> 
> I did configure the oned.conf file so it supports xen (4.0):
> 
> IM_MAD = [
> name =  "im_xen",
> executable = "one_vmm_sh",
> arguments = "xen" ]
> 
> VM_MAD = [
> name =  "vmm_xen",
> executable = "one_im_ssh",
> arguments = "xen",
> default = "vmm_sh/vmm_sh_xen.conf",
> type = "xen" ]
> 
> TM_MAD = [
> name =  "tm_ssh",
> executable = "one_tm",
> arguments = "tm_ssh/tm_ssh.conf" ]
> 
> Any idea where the problem is coming from ? For the moment I don't have any VM running on the node, I want to make sure opennebula detects it before making any. 
> 
> Cheers,
> 
> Clement




More information about the Users mailing list