Closed renebrandel closed 10 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!
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.
OCCI-os does show the links created by Horizon atm.
Works for me, too.
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.
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.