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

Scott Devoid devoid at anl.gov
Thu Jun 19 14:55:08 UTC 2014

I agree with Amit on this. There needs to be a way for the driver to
indicate that an operation is not currently possible and include some
descriptive message to indicate why. Right now the volume manager assumes
certain behavioral constraints (e.g. that snapshots are completely
decoupled from clones) when this behavior is actually determined by the
underlying driver.

~ Scott

On Wed, Jun 18, 2014 at 6:29 PM, Mike Perez <thingee at gmail.com> wrote:

> On 10:20 Wed 18 Jun     , Amit Das wrote:
> > 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.
> I'm not sure what "Openstack will probably mark the snapshot as deleted"
> means.
> If a snapshot gets marked with error_deleting, we don't know what state the
> snapshot is in because it could've been a delete that partially finished.
> You
> should leave the cinder volume manager to handle this. It's up to the
> driver to
> say the delete finished or failed, that's it.
> --
> Mike Perez
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140619/fb6ef54f/attachment.html>

More information about the OpenStack-dev mailing list