manila/manila
Goutham Pacha Ravi 02ab18c5df Tooz integration
Manila currently uses file locks from oslo_concurrency to
coordinate operations racing with each other to perform a
particular action. In many situations, deployers may need a
distributed lock to a local file lock (or even a file lock living on
a shared file system). This need is accentuated if they were running
Manila services in HA or if they were using Share Replication across
AZs where manila-share services were running off different controllers
that would not be able to share a common oslo_concurrency
file lock or be protected against service/lock management failures.

Integrate Tooz library with helper methods to create a locking
coordinator and allow deployers to make the choice between file
and distributed locks.

Start the manila share service with Tooz backed coordination.

Replace the locks used for Share Replication work-flows in the
share manager to use Tooz based locks.

Co-Authored-By: Goutham Pacha Ravi <gouthampravi@gmail.com>
Co-Authored-By: Szymon Wroblewski <szymon.wroblewski@intel.com>
Co-Authored-By: Tom Barron <tpb@dyncloud.net>

Related-Bug: #1585241
Partially-implements: bp distributed-locking-with-tooz
Change-Id: I710e86bd42034fa3b93b87ff77fa48ada8661168
2017-01-19 14:29:31 -05:00
..
api Add create_share_from_snapshot_support extra spec 2016-12-21 09:57:08 -05:00
cmd Tooz integration 2017-01-19 14:29:31 -05:00
common Add create_share_from_snapshot_support extra spec 2016-12-21 09:57:08 -05:00
compute Add support of endpoint_type and region_name to clients manila uses 2016-11-02 18:14:04 +02:00
consistency_group Fix share server info in CGs created from CGs 2016-05-09 16:58:44 +00:00
data Avoid Forcing the Translation of Translatable Variables 2016-10-06 01:09:57 +00:00
db Add create_share_from_snapshot_support extra spec 2016-12-21 09:57:08 -05:00
hacking [hacking] Ensure not to use LOG.warn 2016-11-30 06:36:51 +00:00
network Add support of endpoint_type and region_name to clients manila uses 2016-11-02 18:14:04 +02:00
scheduler Add create_share_from_snapshot_support extra spec 2016-12-21 09:57:08 -05:00
share Tooz integration 2017-01-19 14:29:31 -05:00
testing Rewrited mox tests to mock (part 2) 2014-06-17 17:55:21 +03:00
tests Tooz integration 2017-01-19 14:29:31 -05:00
volume Add support of endpoint_type and region_name to clients manila uses 2016-11-02 18:14:04 +02:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
context.py Remove warnings for dropped context arguments 2016-10-26 22:52:36 +02:00
coordination.py Tooz integration 2017-01-19 14:29:31 -05:00
exception.py Tooz integration 2017-01-19 14:29:31 -05: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 Tooz integration 2017-01-19 14:29:31 -05:00
policy.py Fix docstring for policy.enforce method 2016-05-02 08:28:13 -04:00
quota.py Update quota of proper user on resource delete 2016-03-11 12:55:44 +01:00
rpc.py Drop use of 'oslo' namespace package 2015-04-29 16:51:33 +03:00
service.py Tooz integration 2017-01-19 14:29:31 -05:00
test.py Tooz integration 2017-01-19 14:29:31 -05:00
utils.py Add utility of boolean value parser 2016-10-21 17:47:11 +08:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00
wsgi.py Put all imports from manila.i18n in one line 2016-09-14 06:07:33 +00:00