Shared filesystem management project for OpenStack.
Go to file
ashrod98 903aab1920 Replace retrying with tenacity
We are replacing all usages of the 'retrying' package with
'tenacity' as the author of retrying is not actively maintaining
the project. Tenacity is a fork of retrying, but has improved the
interface and extensibility (see [1] for more details). Our end
goal here is removing the retrying package from our requirements.

Tenacity provides the same functionality as retrying, but has the
following major differences to account for:
- Tenacity uses seconds rather than ms as retrying did
  (the retry interface in manila exposed time in seconds as well)
- Tenacity has different kwargs for the decorator and
Retrying class itself.
- Tenacity has a different approach for retrying args by
using classes for its stop/wait/retry kwargs.
- By default tenacity raises a RetryError if a retried callable
times out; retrying raises the last exception from the callable.
Tenacity provides backwards compatibility here by offering
the 'reraise' kwarg - we are going to set this in the retry interface
by default.
- For retries that check a result, tenacity will raise if the
retried function raises, whereas retrying retried on all
exceptions - we haven't exposed this in the retry interface.

This patch updates all usages of retrying with tenacity.
Unit tests are added where applicable.

[1] https://github.com/jd/tenacity

Co-Authored-By: boden <bodenvmw@gmail.com>
Co-Authored-By: Goutham Pacha Ravi <gouthampravi@gmail.com>
Closes-Bug: #1635393
Change-Id: Ia0c3fa5cd82356a33becbf57444f3db5ffbb0dd0
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2021-09-01 18:31:38 -07:00
api-ref/source Merge "Update api-ref documentation" 2021-07-28 22:25:39 +00:00
contrib [devstack] Drop manila-tempest-plugin installation 2021-05-21 10:18:56 -07:00
devstack Replace deprecated scheduler filter module name 2021-07-23 21:20:00 +09:00
doc Merge "Deprecate create snapshot from share group in CephFS" 2021-08-05 18:24:03 +00:00
etc Integrate OSprofiler and Manila 2021-02-25 04:59:19 +01:00
httpd Add mod_wsgi configuration samples 2020-08-11 21:00:54 +00:00
manila Replace retrying with tenacity 2021-09-01 18:31:38 -07:00
playbooks/manila-tox-genconfig [victoria][goal] Native Zuulv3 CI jobs 2020-07-28 14:55:14 -07:00
rally-jobs [Rally] fix jobs 2017-03-30 15:12:22 +03:00
releasenotes Merge "Add generic fuzzy matching logic to the database layer" 2021-08-13 04:05:28 +00:00
tools Replace assertDictMatch with assertDictEqual method in tests 2021-07-14 01:32:08 +00:00
zuul.d Fix PDF build 2021-06-11 21:06:09 +02:00
.coveragerc Impove coverage job accuracy 2017-10-25 11:57:46 -04:00
.gitignore [pylint] Remove lint tox environment 2019-02-19 11:04:03 -08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:27:35 +00:00
.pylintrc [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
.stestr.conf tests: replace .testr.conf with .stestr.conf 2017-09-13 07:56:21 -04:00
CONTRIBUTING.rst [cycle-goals] Add PTL and contributor quickstart 2020-04-18 22:29:50 +00:00
HACKING.rst disable M325 2020-10-14 14:05:30 +08:00
LICENSE Initialize from cinder 2013-08-08 10:34:06 -04:00
README.rst Fix URLs in code and documentation 2020-03-18 18:59:27 -07:00
bindep.txt [CI] Add bindep.txt 2019-06-24 15:03:51 -07:00
lower-constraints.txt Replace retrying with tenacity 2021-09-01 18:31:38 -07:00
requirements.txt Replace retrying with tenacity 2021-09-01 18:31:38 -07:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-04-27 14:09:19 +08:00
setup.py Cleanup Python 2.7 support 2020-03-27 16:55:52 +01:00
test-requirements.txt Update requirements 2020-12-10 19:48:15 -08:00
tox.ini Use tox 3.1.1 fixes 2021-07-29 10:16:59 +01:00

README.rst

Team and repository tags

image

MANILA

You have come across an OpenStack shared file system service. It has identified itself as "Manila." It was abstracted from the Cinder project.

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://opendev.org/openstack/manila

For developer information please see HACKING.rst

You can raise bugs here https://bugs.launchpad.net/manila

Python client

https://opendev.org/openstack/python-manilaclient

  • Documentation for the project can be found at:

https://docs.openstack.org/manila/latest/

  • Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/manila/

  • Source for the project:

https://opendev.org/openstack/manila

  • Bugs:

https://bugs.launchpad.net/manila

  • Blueprints:

https://blueprints.launchpad.net/manila

  • Design specifications are tracked at:

https://specs.openstack.org/openstack/manila-specs/