[release-announce] python-manilaclient 2.1.0 (ussuri)

no-reply at openstack.org no-reply at openstack.org
Fri Apr 10 18:19:02 UTC 2020


We are delighted to announce the release of:

python-manilaclient 2.1.0: Client library for OpenStack Manila API.

This release is part of the ussuri stable release series.

The source is available from:

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

Download the package from:

    https://pypi.org/project/python-manilaclient

Please report issues through:

    https://bugs.launchpad.net/python-manilaclient/+bugs

For more details, please see below.

2.1.0
^^^^^


Prelude
*******

Since the share group APIs have graduated from their experimental
feature state (https://docs.openstack.org/manila/latest/contributor/e
xperimental_apis.html) in API version "2.55", the client was updated
to fit into those changes, and the share group commands will no longer
include the *X-OpenStack-Manila-API-Experimental`* header in the
request. Share group types can be created to encompass one or more
share types, share groups can be created, updated, snapshotted and
deleted, and shares can be created within share groups.


New Features
************

* Added support for two new quotas for share replicas:
  *share_replicas* and *replica_gigabytes*.

* Added "since" and "before" to messages list API. User messages can
  be queried by stimestamp with API version "2.52" and beyond.

* Added "progress" field for shares and share replicas. This field
  allows the user to check the progress of the create share from
  snapshot operation. The field will show a percentage of completion
  between "0" and "100" percent.


Upgrade Notes
*************

* Due to the new 'share_replicas' and 'replica_gigabytes' quotas for
  share replicas, it is now possible to hit an 'over limit' error
  while creating replicated shares and share replicas.

Changes in python-manilaclient 2.0.0..2.1.0
-------------------------------------------

3371c54 Remove experimental flag from share groups commands
8d2718d Update the python manila client api version
a0cbed5 Add new share replica quotas to the CLI
9004a32 Cleanup py27 support
4c87b94 Support query user message by timestamp
7cf94c6 Update hacking for Python3
e3652b9 Implement OSC share type commands
9fc3723 Implement OSC share access rules commands
134f07a Add functional tests for OSC
1729888 Implement osc share set/unset commands
d9e6f27 OSC Fix list for all projects


Diffstat (except docs and test files)
-------------------------------------

lower-constraints.txt                              |   7 +-
manilaclient/api_versions.py                       |   2 +-
manilaclient/common/constants.py                   |  12 +
manilaclient/common/httpclient.py                  |   2 +-
manilaclient/exceptions.py                         |   2 +-
manilaclient/osc/utils.py                          |  47 ++
manilaclient/osc/v2/share.py                       | 156 +++++-
manilaclient/osc/v2/share_access_rules.py          | 383 +++++++++++++
manilaclient/osc/v2/share_type_access.py           | 121 +++++
manilaclient/osc/v2/share_types.py                 | 468 ++++++++++++++++
manilaclient/v1/__init__.py                        |   1 +
manilaclient/v1/contrib/list_extensions.py         |   1 +
manilaclient/v1/limits.py                          |   1 +
manilaclient/v1/quota_classes.py                   |   1 +
manilaclient/v1/quotas.py                          |   1 +
manilaclient/v1/scheduler_stats.py                 |   1 +
manilaclient/v1/security_services.py               |   1 +
manilaclient/v1/services.py                        |   1 +
manilaclient/v1/share_networks.py                  |   1 +
manilaclient/v1/share_servers.py                   |   1 +
manilaclient/v1/share_snapshots.py                 |   1 +
manilaclient/v1/share_type_access.py               |   1 +
manilaclient/v1/share_types.py                     |   1 +
manilaclient/v1/shares.py                          |   1 +
manilaclient/v2/quota_classes.py                   |  28 +-
manilaclient/v2/quotas.py                          |  40 +-
manilaclient/v2/share_group_snapshots.py           |  82 ++-
manilaclient/v2/share_group_type_access.py         |  33 +-
manilaclient/v2/share_group_types.py               |  50 +-
manilaclient/v2/share_groups.py                    |  95 +++-
manilaclient/v2/shares.py                          |   6 +-
manilaclient/v2/shell.py                           | 147 +++--
...-replica-gigabytes-quotas-909436c2b2420f2c.yaml |  10 +
...ser-messages-by-timestamp-34b70bba2d1b4d13.yaml |   4 +
...from-share-groups-feature-dcf2b0b67fe4cac4.yaml |  10 +
...t-another-pool-or-backend-694cfda84a41c4ff.yaml |   6 +
requirements.txt                                   |   1 -
setup.cfg                                          |  26 +-
setup.py                                           |   9 -
test-requirements.txt                              |   2 +-
tools/install_venv.py                              |   1 +
tox.ini                                            |   4 +-
61 files changed, 3339 insertions(+), 206 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 91469e6..d8d09fc 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8 +7,0 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0
-ipaddress>=1.0.17;python_version<'3.3' # PSF
diff --git a/test-requirements.txt b/test-requirements.txt
index 45b827d..e6f34e7 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6 +6 @@
-hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
+hacking>=3.0,<4.0.0 # Apache-2.0






More information about the Release-announce mailing list