Red Hat Bugzilla – Bug 1272968
glusterfs vol based layout: Deleting a share created from snapshot should also delete its backend gluster volume
Last modified: 2016-05-19 11:50:23 EDT
Description of problem:
When a share is created from snapshot, a snap clone volume is created in the backend gluster cluster. However, when we delete the same share the backend volume created isn't deleted. The volume would remain dangling in the volume pool un-managed.
Hence, whenever a share created from snapshot is deleted, its corresponding backend gluster volume should also be deleted.
Version-Release number of selected component (if applicable):
# rpm -qa | grep 'manila'
Steps to Reproduce:
1. create a manila share from glusterfs backend using vol mapped layout
2. create a snapshot of the share
3. create a share out of the snapshot created
4. delete the share created out of snapshot --> this doesn't delete the backend gluster volume
deleting share from snapshot doesn't delete its corresponding backend gluster volume.
backend gluster volume has to be deleted
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.