[one-users] Error in "onevm list": `get_history_host':undefined method `[]' for nil:NilClass (NoMethodError)

Alvaro Canales accleo at gmail.com
Fri Jun 27 03:45:07 PDT 2008


Hi Tino,

I've been trying to checkout since you asked me to, but I'm getting some
problems.
As I'm behind a proxy, I've followed this rules:
http://subversion.tigris.org/faq.html#proxy, but still no luck.
I can wget to the server and navigate through a web browser, but I can't
ping nor "svn co ...". If I do "nslookup http://svn.opennebula.org/trunk" I
get this:

> Server:        141.52.3.3
> Address:    141.52.3.3#53
>
> ** server can't find http://svn.opennebula.org/trunk: NXDOMAIN
>
It seems that I get a "Non eXistant Domain" problem...
Can you just confirm that you have all server configurations all right?
Thank you!


On Fri, Jun 27, 2008 at 10:20 AM, Tino Vazquez <tinova at fdi.ucm.es> wrote:

> Hi Alvaro,
>
> This nasty bugs have been washed away in our development trunk. Please
> check out the latest from our subversion repository to get rid of them:
>
> #  svn co http://svn.opennebula.org/trunk
>
> Best regards,
>
> -Tino
>
> On Thu, Jun 26, 2008 at 7:00 PM, Alvaro Canales <accleo at gmail.com> wrote:
>
>> More info:
>> if I execute "onevm show 0", it works as expected, listing the
>> characteristics of the image with id 0.
>> But if I do "onevm history", I get this:
>>
>>> onevm history
>>> History for VM 0
>>>
>>>   ID SEQ        HOSTNAME          STIME          ETIME        TIME REASON
>>> /OVS/opennebula/bin/onevm:90: undefined method `[]' for true:TrueClass
>>> (NoMethodError)
>>>     from /OVS/opennebula/lib/ruby/client_utilities.rb:131:in `call'
>>>     from /OVS/opennebula/lib/ruby/client_utilities.rb:131:in `data_array'
>>>     from /OVS/opennebula/lib/ruby/client_utilities.rb:130:in `collect'
>>>     from /OVS/opennebula/lib/ruby/client_utilities.rb:130:in `data_array'
>>>     from /OVS/opennebula/lib/ruby/client_utilities.rb:129:in `collect'
>>>     from /OVS/opennebula/lib/ruby/client_utilities.rb:129:in `data_array'
>>>     from /OVS/opennebula/lib/ruby/client_utilities.rb:110:in `data_str'
>>>     from /OVS/opennebula/bin/onevm:252:in `list_vm_history'
>>>     from /OVS/opennebula/bin/onevm:268:in `list_vm_history_array'
>>>     from /OVS/opennebula/bin/onevm:265:in `each'
>>>     from /OVS/opennebula/bin/onevm:265:in `list_vm_history_array'
>>>     from /OVS/opennebula/bin/onevm:277:in `list_vm_history_all'
>>>     from /OVS/opennebula/bin/onevm:276:in `each'
>>>     from /OVS/opennebula/bin/onevm:276:in `list_vm_history_all'
>>>     from /OVS/opennebula/bin/onevm:450
>>>
>>
>> Hope this helps...
>>
>>
>> On Thu, Jun 26, 2008 at 6:37 PM, Alvaro Canales <accleo at gmail.com> wrote:
>>
>>> 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
>>
>>
>>
>>
>> --
>> Álvaro
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> Constantino Vázquez, Grid Technology Engineer/Researcher:
> http://www.dsa-research.org/doku.php?id=people:tinova
> DSA Research Group: http://dsa-research.org
> Globus GridWay Metascheduler: http://www.GridWay.org
> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org




-- 
Álvaro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20080627/f616ff3e/attachment-0003.htm>


More information about the Users mailing list