tmetsch / occi-os

This is a clone and continuation of https://github.com/dizz/nova - it provides a python egg which can be easily deployed in OpenStack and will thereby add the 3rd party OCCI interface to OpenStack. For usage examples, see the OpenStack wiki.
Apache License 2.0
10 stars 23 forks source link

Error: Multiple possible networks found, use a Network ID to be more specific #89

Open ipuc opened 9 years ago

ipuc commented 9 years ago

Hi, I've installed OpenStack(Juno) with 5 compute node, 1 network node and 1 controller node, using CentOS 7. I'm trying to use OCCI API in openstack and I'm using the branch https://github.com/sandlbn/occi-os/tree/stable/juno-neutron, that is: pip install pyssf in /usr/local/src -> git clone git://github.com/tmetsch/occi-os.git in the occi-os directory -> python setup.py install configure the api-paste.ini

In the project created there are two network: one external and one internal; If I try to Create a new VM as written in https://wiki.openstack.org/wiki/Occi I have this error: "Multiple possible networks found, use a Network ID to be more specific"

I try to specific the Network ID adding: -H 'Link: /network/id_network ; rel="http://schemas.ogf.org/occi/infrastructure#network"; category="http://schemas.ogf.org/occi/infrastructure#networkinterface" replace the id_network with the my internal id_network, but the response is "Internal Server Error". Thanks!

tmetsch commented 9 years ago

@sandlbn: can you check?

sandlbn commented 9 years ago

@ipuc : yes that's true, fix is on the way. This branch is under heavy development, and should be finally ready for production this Friday.

ipuc commented 9 years ago

thank you so much!!! I'll try the updated branch when I see it online and I'll let you know