[shade] shade 1.22.0 (pike)
We are stoked to announce the release of: shade 1.22.0: Simple client library for interacting with OpenStack clouds This release is part of the pike release series. Download the package from: https://pypi.python.org/pypi/shade For more details, please see below. 1.22.0 ^^^^^^ New Features ************ * Removed unneeded calls that were made when deleting servers with floating ips. * Added pagination support for volume listing. Upgrade Notes ************* * Removed designateclient as a dependency. All designate operations are now performed with direct REST calls using keystoneauth Adapter. * Server creation calls are now done with direct REST calls. * All Nova interactions are done via direct REST calls. python- novaclient is no longer a direct dependency of shade. Bug Fixes ********* * Fixed a bug related to neutron endpoints that did not have trailing slashes. * Fixed issue with ports not having a created_at attribute. Changes in shade 1.21.0..1.22.0 ------------------------------- 5512e46 base64 encode user_data sent to create server 3aee4f5 Remove novaclient from shade's dependencies 56524c1 Translate final nova calls to REST 56244f5 Convert remaining nova tests to requests_mock a2ec277 Convert host aggregates calls to REST f177896 Convert host aggregate tests to requests_mock b1faf5b Convert hypervisor list to REST d69b81f Convert hypervisor test to requests_mock 0ad0885 Convert Server Groups to REST 3aec23c Convert server group tests to requests_mock 611ce3d Convert FakeSecGroup to dict fb956cc Remove use of FakeServer from tests 7cd4ef0 Don't remove top-container element for user and project REST API calls b9a2c29 Convert keypairs calls to REST caa69b4 Add normalization and functional tests for keypairs c23611a Remove future document 145a0ab Add text about microversions 587b41b Convert keypairs tests to requests_mock 70365c9 Convert list_servers to REST 83c8bf5 Convert list servers tests to requests_mock c524564 Remove some unused mocks 35980c1 Break early from volume cleanup loop c431cc2 Add some release notes we forgot to add 6b32528 Retry to fetch paginated volumes if we get 404 for next link daabd8c docs: make the first example easier to understand 494d5d1 Properly expand server dicts after rebuild and update 972dcfc Migrate non-list server interactions to REST 8ed5666 Increase timeout for volume tests 4fa316b Skip pagination test for now 9353650 Fix urljoin for neutron endpoint 19cddb5 Remove py34 and pypy in tox 3bb46e4 Replace six.iteritems() with .items() 0d7fc59 Update tests for server calls that aren't list a0abee2 Convert delete server calls to REST 458b6e9 Convert delete server mocks to requests_mock c085c4c Convert get_server_by_id 36b659e RESTify create_server 6b61f18 Don't fetch extra_specs in functional tests 9cb4b1d Convert create_server mocks to request_mock e538989 Add boot from volume unit tests e657373 Cleanup volumes in functional tests in parallel 081930d De-client-ify Project Update 18f9b64 De-client-ify Project Create d3df091 De-client-ify Project Delete 9237024 De-client-ify Project List 2b48aed Don't remove top-container element for sec group REST API calls db83c23 Improve grant docs on when and how use domain arg 5d204c3 Don't remove top-container for stack and zone REST API calls ebedf17 Updated from global requirements 4fce8d9 Rename obj_to_dict and obj_list_to_dict 75ce1ea Don't remove top-container element for network REST API calls 75ce9ad Convert data from raw clients to Munch objects 40c4f3c Remove unneeded calls to shade_exceptions f01a7d4 Don't remove top-container element for volume REST API calls 766d622 Use get_discovery from keystoneauth ba36d44 De-client-ify User Ops 752d01e Add links to user list dict 5a1a3d8 Avoid keystoneclient making yet another discovery call 96c24b1 Use shade discovery for keystone 076a407 Updated from global requirements 641073b Migrate dns to new discovery method a45848d Generalize version discovery for re-use 751b0a0 Pass hints to Cinder scheduler in create_volume 10cb4f2 Remove designate client from shade's dependencies c97bac2 Do less work when deleting a server and floating ips f0fa7e7 Remove designateclient from commands related to recordsets 1a5f734 Add pagination for the list_volumes call 755890b Handle ports with no 'created_at' attribute 014d397 Update test_user_update_password to overlay clouds.yaml f0c981c Fix legacy clients helpers 6a325df Remove unused occ version tie 92a19df Remove designateclient from commands related to zones 5d987eb Add documentation about shade's use of logging e167039 Add novaclient interactions to http_debug f6c74f2 Set some logger names explicitly 58d9b2a Add logging of non-standard error message documents bf8774b Log specific error message from RetriableConnectionFailure aad00aa Updated from global requirements 462fe81 Fix python3 issues in functional tests 9f393dc Add time reporting to Connection Retry message b194a4d Log cloud name on Connection retry issues a4bcf38 Use catalog endpoint on any errors in image version discovery Diffstat (except docs and test files) ------------------------------------- README.rst | 55 +- extras/install-tips.sh | 2 - .../notes/multiple-updates-b48cc2f6db2e526d.yaml | 14 + .../notes/remove-novaclient-3f8d4db20d5f9582.yaml | 5 + requirements.txt | 8 +- shade/__init__.py | 7 + shade/_adapter.py | 23 +- shade/_heat/event_utils.py | 5 +- shade/_heat/template_utils.py | 4 +- shade/_legacy_clients.py | 28 +- shade/_normalize.py | 59 +- shade/_tasks.py | 220 ----- shade/_utils.py | 17 +- shade/exc.py | 35 +- shade/meta.py | 30 +- shade/openstackcloud.py | 930 ++++++++++++++------- shade/operatorcloud.py | 135 +-- shade/task_manager.py | 33 +- test-requirements.txt | 2 +- tox.ini | 2 +- 76 files changed, 3271 insertions(+), 2291 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 8472bc6..fbf6c00 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,2 +16,0 @@ Babel!=2.4.0,>=2.3.4 # BSD -# requests can be removed when designateclient is removed -requests!=2.12.2,!=2.13.0,>=2.10.0 # Apache-2.0 @@ -22 +20 @@ futures>=3.0;python_version=='2.7' or python_version=='2.6' # BSD -iso8601>=0.1.11 # MIT +iso8601>=0.1.11 # MIT @@ -24 +22 @@ iso8601>=0.1.11 # MIT -keystoneauth1>=2.20.0 # Apache-2.0 +keystoneauth1>=2.21.0 # Apache-2.0 @@ -26 +23,0 @@ netifaces>=0.10.4 # MIT -python-novaclient>=7.1.0 # Apache-2.0 @@ -29 +25,0 @@ python-ironicclient>=1.11.0 # Apache-2.0 -python-designateclient>=1.5.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 2241f2a..5abe62d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -16 +16 @@ testtools>=1.4.0 # MIT -reno>=1.8.0 # Apache-2.0 +reno!=2.3.1,>=1.8.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org