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

Tino Vazquez tinova at opennebula.org
Tue May 14 09:43:14 PDT 2013


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



More information about the Users mailing list