[openstack-dev] [Cinder][Driver] Delete snapshot

Amit Das amit.das at cloudbyte.com
Wed Jun 18 04:50:38 UTC 2014


Hi Stackers,

I have been implementing a Cinder driver for our storage solution & facing
issues with below scenario.

Scenario - When a user/admin tries to delete a snapshot that has associated
clone(s), an error message/log should be shown to the user stating that '*There
are clones associated to this snapshot. Hence, snapshot cannot be deleted*
'.

Implementation issues - If Cinder driver throws an Exception the snapshot
will have error_deleting status & will not be usable. If Cinder driver logs
the error silently then Openstack will probably mark the snapshot as
deleted.

What is the appropriate procedure that needs to be followed for above
usecase.

Regards,
Amit
*CloudByte Inc.* <http://www.cloudbyte.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140618/fc842d5c/attachment.html>


More information about the OpenStack-dev mailing list