[one-users] receiving ruby error using OpenNebulas OCCI interface

Stefan Freitag stefan.freitag at udo.edu
Thu Apr 15 03:50:57 PDT 2010


Hi Jaime,

I think I got the same error on my machine if trying to ask ONE via OCCI
for the available networks.

The ruby version I use is
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]

Kind regards
Stefan

Jaime Melis schrieb:
> Hi,
>
> what ruby version are you using?
>
> regards,
> Jaime
>
> On Wed, Apr 14, 2010 at 3:28 PM, Harder, Stefan <
> stefan.harder at fokus.fraunhofer.de> wrote:
>
>> Hi,
>>
>> we set up the OCCI interface for our OpenNebula test einvironment as
>> described in http://www.opennebula.org/documentation:rel1.4:occicg. If
>> we now do a get on http://servername:4567/compute/0 then we receive the
>> XML representation of the VM with the id 0. But if we ask for our
>> network with the id 0 (http://servername:4567/network/0) then we receive
>> a ruby error:
>>
>> undefined method `strip' for nil:NilClass
>>
>> This sounds like an empty string somewhere.
>>
>> occi-server.log only prints:
>> [14/Apr/2010 14:39:42] "GET /network/0 HTTP/1.1" 500 41 0.0653
>>
>> Do you have any ideas?
>>
>> Thanks,
>>
>> Stefan
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>


--
Dipl.-Inform. Stefan Freitag
Institut für Roboterforschung - Abteilung Informationstechnik
Universitaet Dortmund         | phone:  +49 (0)231-755-7009
Otto-Hahn-Str. 8              | mobile: +49 (0)176-23900074
44221 Dortmund, Germany       | fax:    +49 (0)231-755-3251
www.irf.uni-dortmund.de       | email:  stefan.freitag at udo.edu




More information about the Users mailing list