manila/manila/tests/share
Alyson Rosa 8dc3863e10 Adds retry function to HNAS driver
Multiple requests sent to HNAS can cause concurrency problems
and that ends up with 'SSC failed connection' errors. This
patch adds a retry decorator to _execute in HDS HNAS Manila
driver to fix this problem.

The current retry functionality in Manila always uses fixed
numbers to define the time to wait before performing the next
attempts. This behavior can make the retries of multiple
requests to collide in each attempt as they will wait the
same amount of time and try to use the same resource together
again. So additionally, this patch changes the behavior of
manila.utils.retry() to receive a parameter that allows the
function to implement randomly generated wait intervals.

Change-Id: Ib862f62517fcc8816781204b902119e9b20121e0
Closes-bug: 1491550
2015-09-11 11:54:04 -03:00
..
drivers Adds retry function to HNAS driver 2015-09-11 11:54:04 -03:00
__init__.py Remove reference to 'in-use' state in share manager 2014-07-25 12:06:00 -04:00
test_api.py Add Share Migration feature 2015-09-06 22:52:41 -03:00
test_driver.py Add Share Migration feature 2015-09-06 22:52:41 -03:00
test_drivers_private_data.py Provide private data storage API for drivers 2015-05-26 17:53:00 +03:00
test_hook.py Add share hooks 2015-09-04 19:04:34 +03:00
test_manager.py Add Share Migration feature 2015-09-06 22:52:41 -03:00
test_migration.py Add Share Migration feature 2015-09-06 22:52:41 -03:00
test_rpcapi.py Add Share Migration feature 2015-09-06 22:52:41 -03:00
test_share_types.py Replace assertEqual(None, *) with assertIsNone in tests 2015-08-23 09:07:13 +09:00
test_share_utils.py Add Share Migration feature 2015-09-06 22:52:41 -03:00