Hi,

On Fri, Aug 8, 2014 at 10:37 AM, Matthias Auer <m...@matthias-auer.net>
wrote:

>  We're using OpenNebula 3.8.1.
>
> While instances created using the webgui have a working network - when I
> create instances using occi they get an ip address and run but they can't
> be reached.
>
> here is the curl command (created by libcloud) :
>
> curl -i -X POST -H 'Host: localhost:4567' -H 'Accept-Encoding:
> gzip,deflate' -H 'X-LC-Request-ID: 29837936' -H 'Content-Length: 167' -H
> 'Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
> -H 'User-Agent: libcloud/0.14.1 (OpenNebula (v3.2)) ' --data-binary
> '<COMPUTE><NAME>Compute
> Instance</NAME><INSTANCE_TYPE>small</INSTANCE_TYPE><DISK><STORAGE
> href="/storage/2" /></DISK><NIC><NETWORK href="/network/11"
> /></NIC></COMPUTE>' --compress http://localhost:4567/compute
>
>
>
> if I look at the VM template of the instance in the webgui, the difference
> between a webgui instance and the one created using occi is the following
> (otherwise the correct network etc.. is used) :
>
> NIC :
>
>    NETWORK_UNAME   oneadmin
>
>
>
> some other stuff like VNC is missing etc... if I could add vnc that would
> be great, but it is not as essential as getting a functioning network
>
>
>
> is missing in the occi instance.
>
>
>
> I think that's the problem, but how to solve it (my username is NOT
> oneadmin !) ?
>
> maybe somethwing with the /etc/one/occi_templates/network.erb file ?
>
> but there is nothing about a NETWORK_UNAME in the documentation :
> http://archives.opennebula.org/documentation:rel4.4:vnet_template
>
> NETWORK_UNAME defines the owner of the vnet with the name set in NETWORK
[1]. This is used to differentiate vnets with the same name, but different
owners.

By the way, you are using 3.8 but your doc link is for 4.4.

Regards

[1] http://archives.opennebula.org/documentation:archives:rel3.8:template

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org <http://www.opennebula.org/> | cmar...@opennebula.org |
@OpenNebula <http://twitter.com/opennebula> <cmar...@opennebula.org>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to