]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Allow snapshot_delete for NFS/GlusterFS drivers
authorEric Harney <eharney@redhat.com>
Mon, 18 Mar 2013 16:21:40 +0000 (12:21 -0400)
committerJohn Griffith <john.griffith@solidfire.com>
Fri, 22 Mar 2013 03:58:56 +0000 (21:58 -0600)
commite35c357ec070a16887c62062b2cd1c46aeabba45
treeacc4ed91c8aacf1bc082e409928a0d0c5fca9236
parent36e4e85b1f669a9fed873f4a43c783947430c763
Allow snapshot_delete for NFS/GlusterFS drivers

RemoteFsDriver should allow snapshot_delete, since snapshot_create
for NFS and GlusterFS volumes will create a snapshot in the error
state which cannot be deleted afterward.

snapshot_delete() should allow this to be removed rather than
throwing NotImplementedError.

Fixes bug: 1156686

Change-Id: I4307878fa97fbce5bd733a83fa172509e2fba8ce
(cherry picked from commit ea10f1b8291cb07962577699abe13648a4bdca58)
cinder/volume/drivers/nfs.py