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

Tino Vazquez tinova79 at gmail.com
Tue Apr 30 09:17:03 PDT 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vmware.rb
Type: application/octet-stream
Size: 5728 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130430/0395c303/attachment-0002.obj>


More information about the Users mailing list