manila/manila
Csaba Henk 52bfb25a51 glusterfs/vol layout: remove manila-created vols upon delete_share
With volume layout the volume we use to back a share can
be pre-created (part of the volume pool provided for Manila),
or can be created by Manila (that happens if share is created
from snapshot, in which case the volume is obtained by performing
a 'snapshot clone' gluster operation).

In terms of resource management, pre-created volumes are owned
by the pool, and Manila cloned ones are owned by Manila. So
far we kept all the volumes upon giving up its use (ie. deleting
the share it belonged to) -- we only ran a cleanup routine on them.
However, that's appropriate action only for the pool owned ones.
However, the ones we own should rather be extinguished to avoid
a resource leak. This patch implements this practice by marking
Manila owned volumes with a gluster user option.

Closes-Bug: #1506298
Change-Id: I165cc225cb7aca44785ed9ef60f459b8d46af564
2016-01-06 09:02:53 +01:00
..
api Fix error response when denying snapshot creation 2015-09-21 16:46:15 +03:00
cmd Fix display of availability-zone for manila-manage command 2015-10-01 09:44:53 +00:00
common Non-admin user can perform 'extra-specs-list' 2015-09-16 18:14:25 +00:00
compute Fix usage of novaclient 2015-09-09 13:18:36 +03:00
consistency_group Add Consistency Groups API 2015-09-05 18:21:17 -04:00
db Fix deletion of error state access rules 2015-09-29 07:41:48 -04:00
hacking Use Tempest plugin interface 2015-09-05 00:36:33 +00:00
locale Imported Translations from Transifex 2015-05-03 08:14:17 +02:00
network Merge "Lazy Load Services" 2015-08-26 06:31:41 +00:00
openstack Add availability zones support 2015-08-26 18:48:16 +03:00
scheduler Can't create shares on drivers that don't support snapshots 2015-09-23 18:34:42 +00:00
share glusterfs/vol layout: remove manila-created vols upon delete_share 2016-01-06 09:02:53 +01:00
testing Rewrited mox tests to mock (part 2) 2014-06-17 17:55:21 +03:00
tests glusterfs/vol layout: remove manila-created vols upon delete_share 2016-01-06 09:02:53 +01:00
volume Fix exceptions handling for py34 compatibility 2015-08-05 17:15:46 +03:00
__init__.py Remove vim headers 2014-10-06 15:00:27 +02:00
context.py Remove unused oslo-incubator modules 2015-04-25 16:24:09 +00:00
exception.py Make share service understand driver init failure 2015-10-08 13:52:59 +03:00
i18n.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
manager.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
opts.py glusterfs*: fix ssh credential options 2015-09-22 12:36:47 +02:00
policy.py Use oslo_policy lib instead of oslo-incubator code 2015-04-21 13:05:42 +03:00
quota.py Replace (int, long) with six.integer_types 2015-07-31 07:12:12 -04:00
rpc.py Drop use of 'oslo' namespace package 2015-04-29 16:51:33 +03:00
service.py Add availability zones support 2015-08-26 18:48:16 +03:00
test.py Lazy Load Services 2015-08-24 16:55:00 -04:00
utils.py Make share service understand driver init failure 2015-10-08 13:52:59 +03:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00
wsgi.py Fix string/binary conversions for py34 compatibility 2015-08-07 15:33:36 +03:00