[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 08:59:54 PDT 2013


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


More information about the Users mailing list