[manila] python-manilaclient 1.12.0 (ocata)
We are jazzed to announce the release of: python-manilaclient 1.12.0: Client library for OpenStack Manila API. This release is part of the ocata release series. The source is available from: https://git.openstack.org/cgit/openstack/python-manilaclient Download the package from: https://pypi.python.org/pypi/python-manilaclient Please report issues through launchpad: https://bugs.launchpad.net/python-manilaclient For more details, please see below. 1.12.0 ^^^^^^ New Features ************ * Added "--detail" argument to pool list command. * Added "--share_type" argument to pool list command. * Add support to check quota usage by '--detail' in quota-show * Added 'preserve-snapshots' to migration-start command. * Manila exposes new transitional states for access rules and the collective "access_rules_status" fields for shares and share instances. The API request version in the client has been bumped to support these changes. * Added support for the revert-to-snapshot feature. * Support the new optional create_share_from_snapshot_support extra spec, and handle the newly-optional snapshot_support extra spec. Upgrade Notes ************* * Added new microversion in which "nova-net-id" option is no longer allowed for share-network create or update commands. Nova networking was deprecated in OpenStack in Newton and is no longer supported for general deployments in Ocata. Deprecation Notes ***************** * Support for the experimental share migration APIs has been dropped for API microversions prior to 2.29. Bug Fixes ********* * Updated descriptions of migration-start parameters. * Added support for missing command to list manila service availability zones. * User can specify any number of extra-specs in type_create. Changes in python-manilaclient 1.11.0..1.12.0 --------------------------------------------- ff9963a Implement Share Migration Ocata improvements 2b80ef8 Support changes to access rules APIs d736acc Support share revert to snapshot in Manila client 64f38da Add the ability to check tenant quota detail 41505d0 Remove Nova Net option for share networks 6eddf9f Enable coverage report in console output 31cd7b1 Removes unnecessary utf-8 encoding 1525c74 Add create_share_from_snapshot_support extra spec ab3ef4c Fix "replication_type" extra-spec values in tests ca50782 Add share_type filter to pool_list 36c980b Add Constraints support 03889dd Use assertGreater(len(x), 0) instead of assertTrue(len(x) > 0) 7778b8b Updated from global requirements a6d071e Configures coverage tool e94a709 Show team and repo badges on README f3f5d0d Updated from global requirements 3601281 Fix misleading help text 490d19e Updated from global requirements a78a626 Updated from global requirements 5dfd106 Add Python 3.5 classifier and venv 31d18c1 Switch test runner to ostestr wrapper 6f8f7d8 Use dummy driver in functional tests CI job 1c35a0a Add support of Identity API V3 in functional tests e057496 Updated from global requirements cb904c8 Enable release notes translation 7ff3544 Run pre_test_hook.sh of manila in client's CI 3b8f24e Fix share-server-delete command c8bb1a2 Remove copy of incubated Oslo code fb9be54 Config: no need to set default=None 5deccf5 Modify use of assertTrue(A in B) 117b8b8 Add reno for availability-zone-list ee60b3a Add __ne__ built-in function 44ae492 Add support of Availability Zones API 9af0818 Allow deletion of multiple resources for some manila commands dbad1ff Update reno for stable/newton efeb9db type-create should support specifying extra-specs Diffstat (except docs and test files) ------------------------------------- README.rst | 9 + contrib/ci/post_test_hook.sh | 14 + contrib/ci/pre_test_hook.sh | 8 +- manilaclient/api_versions.py | 6 +- manilaclient/base.py | 2 +- manilaclient/common/_i18n.py | 40 ++ manilaclient/common/apiclient/__init__.py | 0 manilaclient/common/apiclient/auth.py | 218 +++++++ manilaclient/common/apiclient/base.py | 518 +++++++++++++++++ manilaclient/common/apiclient/client.py | 367 ++++++++++++ manilaclient/common/apiclient/exceptions.py | 477 ++++++++++++++++ manilaclient/common/apiclient/fake_client.py | 174 ++++++ manilaclient/common/apiclient/utils.py | 83 +++ manilaclient/common/cliutils.py | 271 +++++++++ manilaclient/common/constants.py | 6 + manilaclient/config.py | 54 +- manilaclient/exceptions.py | 2 +- manilaclient/openstack/__init__.py | 0 manilaclient/openstack/common/__init__.py | 0 manilaclient/openstack/common/_i18n.py | 40 -- .../openstack/common/apiclient/__init__.py | 0 manilaclient/openstack/common/apiclient/auth.py | 221 ------- manilaclient/openstack/common/apiclient/base.py | 516 ----------------- manilaclient/openstack/common/apiclient/client.py | 367 ------------ .../openstack/common/apiclient/exceptions.py | 479 ---------------- .../openstack/common/apiclient/fake_client.py | 175 ------ manilaclient/openstack/common/apiclient/utils.py | 87 --- manilaclient/openstack/common/cliutils.py | 271 --------- manilaclient/openstack/common/uuidutils.py | 37 -- manilaclient/shell.py | 2 +- manilaclient/v2/availability_zones.py | 41 ++ manilaclient/v2/client.py | 3 + manilaclient/v2/consistency_group_snapshots.py | 2 +- manilaclient/v2/consistency_groups.py | 2 +- manilaclient/v2/contrib/list_extensions.py | 4 +- manilaclient/v2/limits.py | 2 +- manilaclient/v2/quota_classes.py | 2 +- manilaclient/v2/quotas.py | 39 +- manilaclient/v2/scheduler_stats.py | 2 +- manilaclient/v2/security_services.py | 2 +- manilaclient/v2/services.py | 2 +- manilaclient/v2/share_export_locations.py | 2 +- manilaclient/v2/share_instance_export_locations.py | 2 +- manilaclient/v2/share_instances.py | 2 +- manilaclient/v2/share_networks.py | 63 +- manilaclient/v2/share_replicas.py | 2 +- manilaclient/v2/share_servers.py | 23 +- manilaclient/v2/share_snapshot_instances.py | 2 +- manilaclient/v2/share_snapshots.py | 2 +- manilaclient/v2/share_type_access.py | 2 +- manilaclient/v2/share_types.py | 103 +++- manilaclient/v2/shares.py | 34 +- manilaclient/v2/shell.py | 634 ++++++++++++++++++--- openstack-common.conf | 9 - ...ery-params-pools-list-api-12cf1s14ddf40kdd.yaml | 4 + ...port-to-check-quota-usage-scfdg14dod40k71a.yaml | 3 + ...ta-migration-improvements-f63c5d233856fbee.yaml | 11 + .../bug-1611506-allow-deletion-multiple-resources | 6 + ...d-missing-az-list-command-f90265de5c2f261b.yaml | 4 + ...-and-improve-access-rules-a118a7f8e22f65bb.yaml | 6 + ...-id-option-for-share-nets-82e424b75221528b.yaml | 7 + .../share-revert-to-snapshot-e899a4b7e1126749.yaml | 3 + ...-from-snapshot-extra-spec-cdba92f179c1c5c6.yaml | 4 + .../type-create-extra-specs-691572762357ef3b.yaml | 3 + releasenotes/source/conf.py | 4 +- releasenotes/source/index.rst | 1 + releasenotes/source/newton.rst | 6 + requirements.txt | 14 +- setup.cfg | 5 + test-requirements.txt | 10 +- tools/tox_install.sh | 30 + tox.ini | 17 +- 101 files changed, 4849 insertions(+), 2646 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index bc4fb32..f6aed0b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6 +6 @@ -pbr>=1.6 # Apache-2.0 +pbr>=1.8 # Apache-2.0 @@ -8,2 +8,2 @@ pbr>=1.6 # Apache-2.0 -oslo.config>=3.14.0 # Apache-2.0 -oslo.log>=1.14.0 # Apache-2.0 +oslo.config!=3.18.0,>=3.14.0 # Apache-2.0 +oslo.log>=3.11.0 # Apache-2.0 @@ -11,3 +11,3 @@ oslo.serialization>=1.10.0 # Apache-2.0 -oslo.utils>=3.16.0 # Apache-2.0 -PrettyTable<0.8,>=0.7 # BSD -requests>=2.10.0 # Apache-2.0 +oslo.utils>=3.18.0 # Apache-2.0 +PrettyTable<0.8,>=0.7.1 # BSD +requests!=2.12.2,>=2.10.0 # Apache-2.0 @@ -17 +17 @@ six>=1.9.0 # MIT -python-keystoneclient!=2.1.0,>=2.0.0 # Apache-2.0 +python-keystoneclient>=3.8.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index eade0d5..2fa4cbd 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8 +8 @@ hacking<0.11,>=0.10.2 # Apache-2.0 -coverage>=3.6 # Apache-2.0 +coverage>=4.0 # Apache-2.0 @@ -12 +12 @@ mock>=2.0 # BSD -oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 +oslosphinx>=4.7.0 # Apache-2.0 @@ -14 +14 @@ oslotest>=1.10.0 # Apache-2.0 -sphinx!=1.3b1,<1.3,>=1.2.1 # BSD +sphinx!=1.3b1,<1.4,>=1.2.1 # BSD @@ -18,2 +18,2 @@ testtools>=1.4.0 # MIT -python-openstackclient>=2.1.0 # Apache-2.0 -reno>=1.8.0 # Apache2 +python-openstackclient>=3.3.0 # Apache-2.0 +reno>=1.8.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org