[one-users] Probelm with vmware.rb when onehost create with vmware drivers in OpenNebula4.0

Tino Vazquez tinova at opennebula.org
Thu May 16 01:55:39 PDT 2013


Hi,

Please remove vmware.rb.TINO from /var/lib/one/remotes/im/vmware.d

Send the output of:

 $ ruby -dw /var/lib/one/remotes/im/vmware.d/vmware.rb vmware 7
das-vsilo23.cimex.com.cu

Regards,

-Tino

--
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
www.opennebulaconf.com

--
Constantino Vázquez Blanco, PhD, MSc
Project Engineer | OpenNebula - The Open-Source Solution for Data
Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula


On Wed, May 15, 2013 at 2:30 PM,  <ahernandez at tesla.cujae.edu.cu> wrote:
> Hi Tino, sorry for my bad. I don't see that I run 'bash -xv
> /var/lib/one/remotes/im/run_probes vmware 7 das-vsilo23.cimex.com.cu &>
> /opennebula/comando.log' how root, not how oneadmin.
> I send again the command.log generated for the line 'bash -xv
> /var/lib/one/remotes/im/run_probes vmware 7 das-vsilo23.cimex.com.cu &>
> /opennebula/comando.log'.
>
> Please sorry, see this bash.log. Check that in the end of the txt, I get:
>
> /usr/lib/one/ruby/CommandManager.rb:79:in `read': Interrupt
>         from /usr/lib/one/ruby/CommandManager.rb:79:in `run'
>         from /usr/lib/one/ruby/CommandManager.rb:50:in `run'
>         from ./vmware.rb:65:in `do_action'
>         from ./vmware.rb:147
>
> Because I need push Ctrl+C because the command is froze
>
> Thanks, Any Ideas?
>
> PD: I don't send this email for all user because the bash.log contain
> private information, but after I send the solution to all user.
>
>
>
> El 2013-05-15 05:14, Tino Vazquez escribió:
>
>> Hi,
>>
>> Please remove all other files but vmware.rb in
>> /var/lib/one/remotes/im/vmware.d. But this is not the issue.
>>
>> From the log it seems like ONE_AUTH is missing. Could you retry with
>> the variable correctly set (ie,pointing to the .one_auth file)?
>>
>> Thanks,
>>
>> -Tino
>> --
>> Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
>> www.opennebulaconf.com
>>
>> --
>> Constantino Vázquez Blanco, PhD, MSc
>> Project Engineer | OpenNebula - The Open-Source Solution for Data
>> Center Virtualization
>> www.OpenNebula.org | @tinova79 | @OpenNebula
>>
>>
>> On Tue, May 14, 2013 at 6:43 PM, Tino Vazquez <tinova at opennebula.org>
>> wrote:
>>>
>>> hi,
>>>
>>> My bad!! Apologies, please try this:
>>>
>>>  $ bash -xv  /var/lib/one/remotes/im/run_probes vmware 7
>>> das-vsilo23.cimex.com.cu
>>>
>>> Regards,
>>>
>>> -Tino
>>>
>>>
>>>
>>> --
>>> Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
>>> www.opennebulaconf.com
>>>
>>> --
>>> Constantino Vázquez Blanco, PhD, MSc
>>> Project Engineer | OpenNebula - The Open-Source Solution for Data
>>> Center Virtualization
>>> www.OpenNebula.org | @tinova79 | @OpenNebula
>>>
>>>
>>> On Tue, May 14, 2013 at 6:41 PM,  <ahernandez at tesla.cujae.edu.cu> wrote:
>>>>
>>>> Hi, I probe the command, but -d is a invalid option
>>>>
>>>> oneadmin at opennebula:~$ ruby -dw  /var/lib/one/remotes/im/run_probes
>>>> vmware 7
>>>> das-vsilo23.cimex.com.cu
>>>> /bin/bash: -d: invalid option
>>>> Usage:  /bin/bash [GNU long option] [option] ...
>>>>         /bin/bash [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> El 2013-05-14 12:33, Tino Vazquez escribió:
>>>>
>>>>> Hi,
>>>>>
>>>>> Could you send the output of:
>>>>>
>>>>>  $ ruby -dw  /var/lib/one/remotes/im/run_probes vmware 7
>>>>> das-vsilo23.cimex.com.cu
>>>>>
>>>>> Regards,
>>>>>
>>>>> -Tino
>>>>> --
>>>>> Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
>>>>> www.opennebulaconf.com
>>>>>
>>>>> --
>>>>> Constantino Vázquez Blanco, PhD, MSc
>>>>> Project Engineer | OpenNebula - The Open-Source Solution for Data
>>>>> Center Virtualization
>>>>> www.OpenNebula.org | @tinova79 | @OpenNebula
>>>>>
>>>>>
>>>>> On Tue, May 14, 2013 at 2:35 PM,  <ahernandez at tesla.cujae.edu.cu>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Hi Tino, I write as oneadmin in the OpenNebula front-end the line
>>>>>> /var/lib/one/remotes/im/run_probes vmware 7 das-vsilo23.cimex.com.cu,
>>>>>> but
>>>>>> I
>>>>>> don't get anything:
>>>>>>
>>>>>> oneadmin at opennebula:~$ /var/lib/one/remotes/im/run_probes vmware 7
>>>>>> das-vsilo23.cimex.com.cu
>>>>>>
>>>>>> But when I push Ctrl+C for interrupt the action, I get this:
>>>>>>
>>>>>> oneadmin at opennebula:~$ /var/lib/one/remotes/im/run_probes vmware 7
>>>>>> das-vsilo23.cimex.com.cu
>>>>>> ^C
>>>>>> oneadmin at opennebula:~$ /usr/lib/one/ruby/CommandManager.rb:79:in
>>>>>> `read':
>>>>>> Interrupt
>>>>>>         from /usr/lib/one/ruby/CommandManager.rb:79:in `run'
>>>>>>         from /usr/lib/one/ruby/CommandManager.rb:50:in `run'
>>>>>>         from ./vmware.rb:65:in `do_action'
>>>>>>         from ./vmware.rb:147
>>>>>>
>>>>>> ?Any Ideas?
>>>>>>
>>>>>>
>>>>>> El 2013-05-14 05:25, Tino Vazquez escribió:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Could you send us the output of (as oneadmin, in the OpenNebula
>>>>>>> front-end):
>>>>>>>
>>>>>>>   $  /var/lib/one/remotes/im/run_probes vmware 7
>>>>>>> das-vsilo23.cimex.com.cu
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> -Tino
>>>>>>> --
>>>>>>> Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
>>>>>>> www.opennebulaconf.com
>>>>>>>
>>>>>>> --
>>>>>>> Constantino Vázquez Blanco, PhD, MSc
>>>>>>> Project Engineer | OpenNebula - The Open-Source Solution for Data
>>>>>>> Center Virtualization
>>>>>>> www.OpenNebula.org | @tinova79 | @OpenNebula
>>>>>>>
>>>>>>>
>>>>>>> On Mon, May 13, 2013 at 4:50 PM,  <ahernandez at tesla.cujae.edu.cu>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Tino, thanks, for you answer, this is the oned.log
>>>>>>>>
>>>>>>>> Mon May 13 09:42:21 2013 [ReM][D]: Req:7680 UID:0 HostAllocate
>>>>>>>> invoked,
>>>>>>>> "das-vsilo23.cimex.co...", "vmware", "vmware", "vmware", -1
>>>>>>>> Mon May 13 09:42:21 2013 [ReM][D]: Req:7680 UID:0 HostAllocate
>>>>>>>> result
>>>>>>>> SUCCESS, 6
>>>>>>>> Mon May 13 09:42:22 2013 [ReM][D]: Req:5232 UID:0
>>>>>>>> VirtualMachinePoolInfo
>>>>>>>> invoked, -2, -1, -1, -1
>>>>>>>> Mon May 13 09:42:22 2013 [ReM][D]: Req:5232 UID:0
>>>>>>>> VirtualMachinePoolInfo
>>>>>>>> result SUCCESS, "<VM_POOL></VM_POOL>"
>>>>>>>> Mon May 13 09:42:22 2013 [ReM][D]: Req:5232 UID:0
>>>>>>>> VirtualMachinePoolInfo
>>>>>>>> invoked, -2, -1, -1, -1
>>>>>>>> Mon May 13 09:42:22 2013 [ReM][D]: Req:5232 UID:0
>>>>>>>> VirtualMachinePoolInfo
>>>>>>>> result SUCCESS, "<VM_POOL></VM_POOL>"
>>>>>>>> Mon May 13 09:42:31 2013 [InM][I]: Monitoring host
>>>>>>>> das-vsilo23.cimex.com.cu
>>>>>>>> (6)
>>>>>>>> Mon May 13 09:42:32 2013 [InM][I]: ExitCode: 0
>>>>>>>> Mon May 13 09:42:51 2013 [ReM][D]: Req:1288 UID:0
>>>>>>>> VirtualMachinePoolInfo
>>>>>>>> invoked, -2, -1, -1, -1
>>>>>>>> Mon May 13 09:42:51 2013 [ReM][D]: Req:1288 UID:0
>>>>>>>> VirtualMachinePoolInfo
>>>>>>>> result SUCCESS, "<VM_POOL></VM_POOL>"
>>>>>>>> Mon May 13 09:42:51 2013 [ReM][D]: Req:1288 UID:0
>>>>>>>> VirtualMachinePoolInfo
>>>>>>>> invoked, -2, -1, -1, -1
>>>>>>>> Mon May 13 09:42:51 2013 [ReM][D]: Req:1288 UID:0
>>>>>>>> VirtualMachinePoolInfo
>>>>>>>> result SUCCESS, "<VM_POOL></VM_POOL>"
>>>>>>>> Mon May 13 09:43:20 2013 [ReM][D]: Req:9496 UID:0
>>>>>>>> VirtualMachinePoolInfo
>>>>>>>> invoked, -2, -1, -1, -1
>>>>>>>> Mon May 13 09:43:20 2013 [ReM][D]: Req:9496 UID:0
>>>>>>>> VirtualMachinePoolInfo
>>>>>>>> result SUCCESS, "<VM_POOL></VM_POOL>"
>>>>>>>> Mon May 13 09:43:20 2013 [ReM][D]: Req:9496 UID:0
>>>>>>>> VirtualMachinePoolInfo
>>>>>>>> invoked, -2, -1, -1, -1
>>>>>>>> Mon May 13 09:43:20 2013 [ReM][D]: Req:9496 UID:0
>>>>>>>> VirtualMachinePoolInfo
>>>>>>>> result SUCCESS, "<VM_POOL></VM_POOL>"
>>>>>>>>
>>>>>>>> I see that OpenNebula monitoring the Host, but I don't understand
>>>>>>>> why
>>>>>>>> mantain state of init
>>>>>>>>
>>>>>>>> oneadmin at opennebula:~$ onehost list
>>>>>>>>   ID NAME            CLUSTER   RVM      ALLOCATED_CPU
>>>>>>>> ALLOCATED_MEM
>>>>>>>> STAT
>>>>>>>>    6 das-vsilo23.cim -           0                  -
>>>>>>>> -
>>>>>>>> init
>>>>>>>>
>>>>>>>> ?Any Ideas?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> El 2013-05-13 05:28, Tino Vazquez escribió:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Could you send the contents of /var/log/one/oned.log?
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>> -Tino
>>>>>>>>> --
>>>>>>>>> Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
>>>>>>>>> www.opennebulaconf.com
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Constantino Vázquez Blanco, PhD, MSc
>>>>>>>>> Project Engineer | OpenNebula - The Open-Source Solution for Data
>>>>>>>>> Center Virtualization
>>>>>>>>> www.OpenNebula.org | @tinova79 | @OpenNebula
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, May 10, 2013 at 9:51 PM,  <ahernandez at tesla.cujae.edu.cu>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Tino, I try install OpenNebula 4.0.0. But return the problem with
>>>>>>>>>> vmware.rb.
>>>>>>>>>> In the OpenNebua 4.0RC (3.9.90) when you try create a Host the
>>>>>>>>>> Host
>>>>>>>>>> pass
>>>>>>>>>> to
>>>>>>>>>> state of error. You check this error, and push in the new version
>>>>>>>>>> of
>>>>>>>>>> OpenNebula4.0. But when I try create a host, the host mantain the
>>>>>>>>>> state
>>>>>>>>>> if
>>>>>>>>>> init.
>>>>>>>>>>
>>>>>>>>>> ?Any Ideas?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2
>>>>>>>>>> de
>>>>>>>>>> diciembre de 1964 | http://cujae.edu.cu
>>>>>>>>>>
>>>>>>>>>> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de
>>>>>>>> diciembre de 1964 | http://cujae.edu.cu
>>>>>>>>
>>>>>>>> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu
>>>>>>>> _______________________________________________
>>>>>>>> Users mailing list
>>>>>>>> Users at lists.opennebula.org
>>>>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de
>>>>>> diciembre de 1964 | http://cujae.edu.cu
>>>>>>
>>>>>> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de
>>>> diciembre de 1964 | http://cujae.edu.cu
>>>>
>>>> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de
> diciembre de 1964 | http://cujae.edu.cu
>
> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu



More information about the Users mailing list