glance_store/glance_store/tests
whoami-rajat f5d4699613 Add lock per share for cinder nfs mount/umount
With cinder configured as glance store and nfs as cinder backend,
if we create multiple images concurrently into the same share,
there might be race conditions.
This patch ensures a lock per export to avoid the race conditions.

This patch also introduces a reference counting mechamism for unmounting
which will unmount the share if no active thread/process is using it.

Closes-Bug: #1870289

Change-Id: I9197f64e29a0ae2e0a58186f1a70aa134f7f1db6
2020-05-01 11:35:01 +00:00
..
etc Restore quotes removal for swift config in Python3 2020-01-28 18:11:03 -06:00
functional Clean imports in code 2018-03-01 07:29:33 +00:00
unit Add lock per share for cinder nfs mount/umount 2020-05-01 11:35:01 +00:00
__init__.py Rename glance.store to glance_store 2014-08-28 10:09:36 +02:00
base.py Enable multi store support for glance 2018-07-15 15:10:27 +00:00
fakes.py Propagate BadStoreConfiguration to library user 2015-03-28 19:34:15 +01:00
utils.py Switch VMWare Datastore to use Requests 2016-02-24 22:53:15 -08:00