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

ahernandez at tesla.cujae.edu.cu ahernandez at tesla.cujae.edu.cu
Tue Apr 30 09:53:31 PDT 2013


Tino Vasquez (tinova79 at gmail.com) solved the problem, He fix the 
vmware.rb.
Please Tino published you file.



El 2013-04-30 12:17, Tino Vazquez escribió:
> Hi,
>
> That looks like a bug indeed. Can you try placing the attached file 
> in
> /var/lib/one/remotes/im/vmware.d, replacing the existing vmware.rb?
>
> If the feedback is positive, we will include this in the upcoming 4.0 
> release.
>
> Regards,
>
> -Tino
> --
> Constantino Vázquez Blanco, PhD, MSc | dsa-research.org/tinova
> Virtualization Technology Engineer / Researcher
> OpenNebula - The Open-Source Solution for Data Center Virtualization
> www.OpenNebula.org | @tinova79 | @OpenNebula
>
>
> On Tue, Apr 30, 2013 at 5:59 PM,  <ahernandez at tesla.cujae.edu.cu> 
> wrote:
>> Hi people. I try install OpenNebula 4.0 but present a problem when 
>> try
>> create a host using VMware drivers. This is the problem
>>
>> I intall OpenNebula4.0, and when try create a host with this line:
>>
>> onehost create esx-host -i im_vmware -v vmm_vmware -n vmware
>>
>> The host state in ERROR, I see the log oned.log and see this:
>> Tue Apr 30 10:26:28 2013 [InM][I]: Command execution fail:
>> /var/lib/one/remotes/im/run_probes vmware 7 das-vsilo23.cimex.com.cu
>> Tue Apr 30 10:26:28 2013 [InM][I]: ./vmware.rb:91:in `get_vm_names':
>> undefined method `strip!' for nil:NilClass (NoMethodError)
>> Tue Apr 30 10:26:28 2013 [InM][I]: from ./vmware.rb:202
>> Tue Apr 30 10:26:28 2013 [InM][E]: Error executing vmware.rb
>> Tue Apr 30 10:26:28 2013 [InM][I]: ExitCode: 1
>> Tue Apr 30 10:26:28 2013 [ONE][E]: Error monitoring Host
>> das-vsilo23.cimex.com.cu (7): Error executing vmware.rb
>>
>> I check the line 202 of vmware.rb, and comment the line
>>
>> get_all_vm_info(host, get_vm_names)
>>
>> and Then my host change the state ERROR to state ON. My cuestion: 
>> For what
>> is this line?. This line is a bug?
>>
>> Any Idea?
>>
>>
>> 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