[release][cinder] python-cinderclient 1.6.0 release (mitaka)
We are thrilled to announce the release of:
python-cinderclient 1.6.0: OpenStack Block Storage API Client Library
This release is part of the mitaka release series.
With source available at:
https://git.openstack.org/cgit/openstack/python-cinderclient
With package available at:
https://pypi.python.org/pypi/python-cinderclient
Please report issues through launchpad:
https://bugs.launchpad.net/python-cinderclient
For more details, please see below.
1.6.0 ^^^^^
New Features ************
* Added support to return "x-openstack-request-id" header in request_ids attribute for better tracing. | For ex. | >>> from cinderclient import client | >>> cinder = client.Client('2', $OS_USER_NAME, $OS_PASSWORD, $OS_TENANT_NAME, $OS_AUTH_URL) | >>> res = cinder.volumes.list() | >>> res.request_ids
Other Notes ***********
* Start using reno to manage release notes.
Changes in python-cinderclient 1.5.0..1.6.0 -------------------------------------------
66f7a08 Remove replication v2 calls 5e134ad Update minimum tox version to 1.8 20c0421 snapshot-list now supports filtering by tenant b2d0f98 Fix return type in consistencygroups docstring 49d63ab Updated from global requirements 6b5e3d1 Use instanceof instead of type c4c2c56 Don't print HTTP codes for non-HTTP errors 88934c2 Add replication v2.1 (cheesecake) calls 8d1d409 Add release notes for return-request-id-to-caller 40f7f29 Remove pypy from tox environment list a26c1e6 Extra 'u' in output of cinder cli commands befd35b Add extra_specs_list test b560b17 Add request_ids attribute to resource objects 2b25183 Fix return type in backup docstring 8c0f84f Fix omission of request_ids returned to user 2aa26f5 Eliminate unnecessary character 5efb596 Avoid logging sensitive info in http requests. ec65605 Add request_ids attribute to resource objects c49fce3 Add request_ids attribute to resource objects b2fc77f Provide consistency for Wrapper classes a3dca15 Allow "cinder backup-delete" to delete multiple backups in one request c6e06a1 Updated from global requirements 9e60e4a Fix some flake8 violations 3dec787 Bootable filter for listening volumes from CLI 5523e32 Remove debug statement 7d1e4d9 is_public=N/A in output of cinder type-update ef15161 Return wrapper classes with request_ids attribute b670b73 Pass insecure option to HTTPClient 1619f11 Add Wrapper classes for list, dict, tuple faf8808 Remove argparse from requirements c18f907 Fix sort problem in snapshot and backup list a0c8fcf Code is hosted on git.openstack.org e02bfad Fix link for OpenStack manual f4b4676 Update HACKING with current information 0e9e284 Word Misspelling f49cc8b Trival: Remove 'MANIFEST.in' 4b34f18 Remove openstack-common.conf aa06b2d Make _discover_extensions public 2153b41 improve readme contents 1396308 Set default service type to 'volumev2' d604b6c Updated from global requirements 35b5e6f Fix help message in backup reset-state 6305abb Remove the mutable default arguments "[]" 73f4423 Do not require functional_creds.conf for functional tests f39a383 Fix for 'quota-delete' call to API v2 afee25c Removes MANIFEST.in as it is not needed explicitely by PBR 614e6a3 Drop py33 support bb0f484 Add to_dict method to Resource class 423db4b Add reno for release notes management 1ac8083 Deprecated tox -downloadcache option removed ef24b6d Updated from global requirements 812ed6b Updated from global requirements 9e3a3f7 Pass proxy environment variable to tox c38b35c Add optional argument to list subcommand 98b4a3d Remove py26 support b9bd8c6 Delete python bytecode before every test run 948e900 support for snapshot management a2ccc85 Fix comma location in comment 5626d8a Remove ureachable code in fakes.py 5b76ebb Add functional tests: backup creation and deletion 8fbbf7b CLI for backup snapshots 349eb96 Add the version attribute to the Client class 450f0ee Put py34 first in the env order of tox
Diffstat (except docs and test files) -------------------------------------
.gitignore | 1 + HACKING.rst | 64 ++--- MANIFEST.in | 4 - README.rst | 42 +++- cinderclient/base.py | 32 ++- cinderclient/client.py | 61 ++++- cinderclient/exceptions.py | 5 +- cinderclient/openstack/common/apiclient/base.py | 76 +++++- cinderclient/openstack/common/apiclient/client.py | 16 +- .../openstack/common/apiclient/fake_client.py | 6 +- cinderclient/shell.py | 49 +--- cinderclient/utils.py | 25 +- cinderclient/v1/client.py | 2 + cinderclient/v2/cgsnapshots.py | 12 +- cinderclient/v2/client.py | 2 + cinderclient/v2/consistencygroups.py | 19 +- cinderclient/v2/qos_specs.py | 23 +- cinderclient/v2/quota_classes.py | 3 +- cinderclient/v2/quotas.py | 3 +- cinderclient/v2/services.py | 21 +- cinderclient/v2/shell.py | 259 +++++++++++++------ cinderclient/v2/volume_backups.py | 24 +- cinderclient/v2/volume_encryption_types.py | 7 +- cinderclient/v2/volume_snapshots.py | 47 +++- cinderclient/v2/volume_transfers.py | 2 +- cinderclient/v2/volume_type_access.py | 8 +- cinderclient/v2/volume_types.py | 5 +- cinderclient/v2/volumes.py | 133 ++++------ cinderclient/version.py | 20 ++ openstack-common.conf | 10 - ...turn-request-id-to-caller-78d27f33f0048405.yaml | 10 + .../notes/start-using-reno-18001103a6719c13.yaml | 3 + releasenotes/source/_static/.placeholder | 0 releasenotes/source/_templates/.placeholder | 0 releasenotes/source/conf.py | 276 +++++++++++++++++++++ releasenotes/source/index.rst | 5 + requirements.txt | 17 +- setup.cfg | 3 +- test-requirements.txt | 21 +- tools/colorizer.py | 4 +- tools/install_venv.py | 4 +- tox.ini | 19 +- 73 files changed, 1608 insertions(+), 599 deletions(-)
Requirements updates --------------------
diff --git a/requirements.txt b/requirements.txt index fb4a32f..5e564be 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,9 +4,8 @@ -pbr>=1.6 -argparse -PrettyTable<0.8,>=0.7 -python-keystoneclient!=1.8.0,>=1.6.0 -requests!=2.8.0,>=2.5.2 -simplejson>=2.2.0 -Babel>=1.3 -six>=1.9.0 -oslo.utils>=2.8.0 # Apache-2.0 +pbr>=1.6 # Apache-2.0 +PrettyTable<0.8,>=0.7 # BSD +python-keystoneclient!=1.8.0,!=2.1.0,>=1.6.0 # Apache-2.0 +requests!=2.9.0,>=2.8.1 # Apache-2.0 +simplejson>=2.2.0 # MIT +Babel>=1.3 # BSD +six>=1.9.0 # MIT +oslo.utils>=3.5.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index a1fe049..2ed1556 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6,4 +6,4 @@ hacking<0.11,>=0.10.0 -coverage>=3.6 -discover -fixtures>=1.3.1 -mock>=1.2 +coverage>=3.6 # Apache-2.0 +discover # BSD +fixtures>=1.3.1 # Apache-2.0/BSD +mock>=1.2 # BSD @@ -11,6 +11,7 @@ oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 -python-subunit>=0.0.18 -requests-mock>=0.6.0 # Apache-2.0 -sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 -tempest-lib>=0.10.0 -testtools>=1.4.0 -testrepository>=0.0.18 +python-subunit>=0.0.18 # Apache-2.0/BSD +reno>=0.1.1 # Apache2 +requests-mock>=0.7.0 # Apache-2.0 +sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD +tempest-lib>=0.14.0 # Apache-2.0 +testtools>=1.4.0 # MIT +testrepository>=0.0.18 # Apache-2.0/BSD
participants (1)
-
no-reply@openstack.org