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

Storage Links through Horizon not shown in OCCI #64

Closed renebrandel closed 10 years ago

renebrandel commented 11 years ago

If you create a storage link with Horizon, and then inspect the storage links with

curl -v -X GET localhost:8787/storage/link/ -H 'Content-Type: text/occi' -H 'X-Auth-Token: '$KID

and it won't be provisioned if you look for everything the occi offers. On the other hand when you create the storage link through OCCI it will be shown in Horizon and it will be provisioned by OCCI.

tmetsch commented 11 years ago

Normally this should be handled by this part of the code: https://github.com/tmetsch/occi-os/blob/master/occi_os_api/registry.py#L359 - can you provide the concrete steps you took so I can try to reproduce? Thanks!

renebrandel commented 11 years ago

First i created a storage link through occi. And then I deleted that storage link through horizon. After that if I look for storage links through occi. The link is still provisioned. I might have a possible fix => look at the new issue I'm about to open.

Also occi does not seem to display the storage links that are already made. So it is a bit unpractical unless you control the entire system through occi from the beginning.

tmetsch commented 11 years ago

OCCI-os does show the links created by Horizon atm.

bhagemeier commented 11 years ago

Works for me, too.

bhagemeier commented 10 years ago

However, I am running into the deletion problem. I can GET a storage link that exists and is also displayed in Horizon. I am unable to delete it through OCCI (see #72). So I delete in through Horizon, but the link is still displayed. I can access its properties, which did not change, as well as list it at the /storage/link resource.