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

Harder, Stefan stefan.harder at fokus.fraunhofer.de
Fri Apr 16 02:29:59 PDT 2010


Hi Jaime,

these are the outputs. Our network is fixed, but why can we create and list only ranged ones via OCCI?

Regards,

Stefan

$ onevnet list
  ID USER     NAME              TYPE BRIDGE #LEASES
   0 oneadmin network          Fixed    br0       2

$ onevnet show 0
VIRTUAL NETWORK 0 INFORMATION                                                   
ID:       : 0                   
UID:      : 0                   

VIRTUAL NETWORK TEMPLATE                                                        
BRIDGE=br0
LEASES=[ IP=xxx.xxx.xxx.203 ]
LEASES=[ IP=xxx.xxx.xxx.202 ]
NAME=network
TYPE=FIXED

LEASES INFORMATION                                                              
LEASE=[ IP=xxx.xxx.xxx.202, MAC=xx:xx:xx:xx:xx:ca, USED=1, VID=6 ]
LEASE=[ IP=xxx.xxx.xxx.203, MAC=xx:xx:xx:xx:xx:cb, USED=1, VID=5 ]

> -----Ursprüngliche Nachricht-----
> Von: rsmontero at gmail.com [mailto:rsmontero at gmail.com] Im Auftrag von
> Ruben S. Montero
> Gesendet: Freitag, 16. April 2010 08:53
> An: Harder, Stefan
> Cc: Jaime Melis; users at lists.opennebula.org
> Betreff: Re: [one-users] receiving ruby error using OpenNebulas OCCI
> interface
> 
> Hi
> 
> Could you send us the output of onevnet list and onevnet show commands
> for the networks defined in your setup... Note also that through OCCI
> you can only create  (and therefore list) Ranged networks.
> 
> On Thu, Apr 15, 2010 at 1:24 PM, Harder, Stefan
> <stefan.harder at fokus.fraunhofer.de> wrote:
> > Hi Jaime,
> >
> >
> >
> > my Version is: ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
> >
> >
> >
> > Regards,
> >
> >
> >
> > Stefan
> >
> >
> >
> > Von: j.melis at gmail.com [mailto:j.melis at gmail.com] Im Auftrag von
> Jaime Melis
> > Gesendet: Donnerstag, 15. April 2010 12:42
> > An: Harder, Stefan
> > Cc: users at lists.opennebula.org
> > Betreff: Re: [one-users] receiving ruby error using OpenNebulas OCCI
> > interface
> >
> >
> >
> > 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
> >
> >
> 
> 
> 
> --
> Dr. Ruben Santiago Montero
> Associate Professor (Profesor Titular), Complutense University of
> Madrid
> 
> URL: http://dsa-research.org/doku.php?id=people:ruben
> Weblog: http://blog.dsa-research.org/?author=7



More information about the Users mailing list