[openstack-dev] [Cinder][Driver] Delete snapshot
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
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
> > 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"
> 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.
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev