[one-users] Error in "onevm list": `get_history_host': undefined method `[]' for nil:NilClass (NoMethodError)
Alvaro Canales
accleo at gmail.com
Thu Jun 26 09:37:43 PDT 2008
Hello again!
After adding some hosts with the "onehost add..." command and successfully
listing them, I submit an image this way:
> onevm submit images/myfirstVM.template
> ID: 1
>
I think this is the expected output.
The problem comes when trying to do "onevm list", where I get this error:
> onevm list
> /opt/nebula/ONE/lib/ruby/one.rb:340:in `get_history_host': undefined method
> `[]' for nil:NilClass (NoMethodError)
> from /opt/nebula/ONE/lib/ruby/one.rb:316:in `get_vms'
> from /opt/nebula/ONE/lib/ruby/one.rb:315:in `each'
> from /opt/nebula/ONE/lib/ruby/one.rb:315:in `get_vms'
> from /opt/nebula/ONE/bin/onevm:184:in `list_short'
> from /opt/nebula/ONE/bin/onevm:422
>
Can you spot the error? I guess get_history_host doesn't return what is
expected...
Thank you for your help and attention! ;)
--
Álvaro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20080626/7917bc7a/attachment-0001.htm>
More information about the Users
mailing list