manila/manila/tests/share/drivers/glusterfs
Csaba Henk 3537be2516 glusterfs/volume layout: indicate volume usage on volumes themselves
With volume layout, share-volume association was kept solely
in the manila DB. That is not robust enough, first and
foremost because upon starting the service, the manager
will indicate existing share associations only of those
volumes whose shares is in 'available' state.

We need to know though if a volume is in a pristine state or
not, regardless of the state of their shares. To this end,
we introduce the 'user.manila-share' GlusterFS volume option
to indicate manila share association -- made possible by
GlusterFS allowing any user defined option to exist in the
'user' option name space --, which indicator remains there
until we explicitely drop it in `delete_share`. (The value
of 'user.manila-share' is the id of the share owning the
volume).

As a beneficial side effect, this change will also provide
insight to the Gluster storage admin about usage of the
Manila volume pool.

Change-Id: Icb388fd31fb6a992bee7e731f5e84403d5fd1a85
Partial-Bug: #1501670
2015-11-20 07:03:46 +00:00
..
__init__.py glusterfs*: factor out common parts 2015-09-04 19:24:47 +02:00
test_common.py glusterfs/common: refactor GlusterManager 2015-09-04 19:24:51 +02:00
test_layout.py glusterfs/layout: add layout base classes 2015-09-06 03:19:02 +00:00
test_layout_directory.py glusterfs*: amend export location 2015-09-18 14:06:54 +02:00
test_layout_volume.py glusterfs/volume layout: indicate volume usage on volumes themselves 2015-11-20 07:03:46 +00:00