We are chuffed to announce the release of: openstacksdk 0.14.0: An SDK for building applications to work with OpenStack This release is part of the rocky release series. Download the package from: https://pypi.org/project/openstacksdk For more details, please see below. 0.14.0 ^^^^^^ New Features ************ * Config values now support service-type aliases. The correct config names are based on the official service type, such as "block_storage_api_version", but with this change, legacy aliases such as "volume_api_version" are also supported. * Versions set in config via "*_api_version" or "OS_*_API_VERSION" that have a "." in them will be also passed as the default microversion to the Adapter constructor. An additional config option, "*_default_microversion" has been added to support being more explicit. Bug Fixes ********* * Fixed issue where "endpoint_override" settings were not getting passed to the Adapter constructor in "get_session_client". * Fixed an issue where importing openstacksdk changed the behavior of "yaml.load" globally. * Machine inspection is now blocked for machines associated with an instance. This is to avoid "stealing" a machine from under a provisioner (e.g. Nova). Other Notes *********** * All endpoint discovery logic is now handled by keystoneauth. There should be no behavior differences. * Add Limestone Networks vendor info for us-dfw-1 and us-slc regions Changes in openstacksdk 0.13.0..0.14.0 -------------------------------------- ca1efca Turn OSC tips jobs non-voting b6b270f Throw an error on conflicting microversion config 94174ff Rename service_key to service_type 264c802 Pass default_microversion to adapter constructor dade89b Honor service-type aliases in config d3df639 fix tox python3 overrides fe98aef Add ansible functional tests on stable-2.6 765e7dd Modify the unhelpful error message when delete network d82c8f9 Modify the error message when unsetting gateway and setting FIP 83d939d Add ansible functional tests a3f4570 Add 'port_details' to Floating IP d650791 rename vars to defaults to allow overriding in ansible tests 6cefc8c allow passing ansible variables to ansible tests 4e8a1f6 Several improvements to resource.wait_for_status 1f4b9fa Added few image properties to Image class d12bda5 Allow explicitly setting enable_snat to either value f19d58a baremetal: refuse to inspect associated machines ab8f602 Enable bare metal unit tests 5834d5e Avoid globally modifying yaml library 9a145dc Add get_volume_limits() support d1f0a6d Reenable osc-functional-devstack-tips and neutron-grenade 9242148 Remove default values of router's is_ha and is_distributed arguments 9c774d2 Defer all endpoint discovery to keystoneauth a31c174 Decode additional heat files c9daa59 Add ipaddress and futures to lower-constraints 8447e82 Bump default timeout values 055536e Fix H103 Apache license header check ee1d1ad Remove D exclusions from flake8 config 9007ab7 Add comment about W503 being skipped be87ac1 Add python 3.6 jobs 9f641b0 Add nodepool-functional-py35-src job 1ac3a3b Fix F405 errors d5fd3e8 Clean up floating ip tests d908f1d Avoid raising exception when comparing resource to None 984b997 Bugfix for block_storage not selecting the correct proxy ebdb9b3 Fixing bug where original and new dicts would always be the same 9d56efe Change clustering example test create parameter 6dc1e17 add missing attribute in LBaaS v2 Pool API 9246894 close files after open in unit/base b9be78d Honor endpoint_override for get_session_client 6ed083e Drop bogus attributes from network port resource b17faa7 Flavor: added is_public query parameter and description property fb0d34b pypy is not checked at gate 15d0f31 Add Limestone Networks vendor info 5c5cadf Remove DataCentred from list of vendors a829424 Don't assume a full config dict Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 71 ++- bindep.txt | 3 - examples/clustering/cluster.py | 20 +- examples/clustering/node.py | 4 +- examples/clustering/policy.py | 18 +- examples/clustering/profile.py | 3 +- lower-constraints.txt | 4 +- openstack/__init__.py | 8 +- openstack/block_storage/block_storage_service.py | 3 +- openstack/cloud/__init__.py | 7 +- openstack/cloud/_heat/event_utils.py | 12 +- openstack/cloud/_heat/template_format.py | 15 +- openstack/cloud/_heat/utils.py | 2 +- openstack/cloud/_tasks.py | 4 +- openstack/cloud/inventory.py | 4 +- openstack/cloud/openstackcloud.py | 597 +++++++++++---------- openstack/compute/v2/flavor.py | 4 +- openstack/config/_util.py | 2 + openstack/config/cloud_region.py | 275 ++++++---- openstack/config/defaults.json | 1 + openstack/config/schema.json | 10 +- openstack/config/vendor-schema.json | 5 + openstack/config/vendors/betacloud.json | 2 +- openstack/config/vendors/bluebox.json | 2 +- openstack/config/vendors/catalyst.json | 2 +- openstack/config/vendors/citycloud.json | 2 +- openstack/config/vendors/datacentred.json | 11 - openstack/config/vendors/entercloudsuite.json | 2 +- openstack/config/vendors/fuga.json | 2 +- openstack/config/vendors/ibmcloud.json | 2 +- openstack/config/vendors/rackspace.json | 2 +- openstack/config/vendors/switchengines.json | 2 +- openstack/config/vendors/ultimum.json | 2 +- openstack/config/vendors/unitedstack.json | 2 +- .../config/vendors/vendors/limestonenetworks.json | 15 + openstack/connection.py | 10 +- openstack/exceptions.py | 2 +- openstack/image/v2/image.py | 9 +- openstack/network/v2/floating_ip.py | 16 +- openstack/network/v2/pool.py | 2 + openstack/network/v2/port.py | 11 - openstack/network/v2/router.py | 8 +- openstack/proxy.py | 10 +- openstack/resource.py | 37 +- openstack/service_description.py | 15 +- openstack/task_manager.py | 4 +- .../roles/keystone_domain/defaults/main.yml | 1 + .../ansible/roles/keystone_domain/vars/main.yml | 1 - .../ansible/roles/keystone_role/defaults/main.yml | 1 + .../ansible/roles/keystone_role/vars/main.yml | 1 - .../ansible/roles/security_group/defaults/main.yml | 1 + .../ansible/roles/security_group/vars/main.yml | 1 - .../functional/cloud/test_floating_ip_pool.py | 2 +- .../functional/network/v2/test_floating_ip.py | 15 + .../block_storage/test_block_storage_service.py | 2 +- .../unit/cloud/test_qos_bandwidth_limit_rule.py | 2 +- .../unit/cloud/test_qos_minimum_bandwidth_rule.py | 2 +- .../notes/config-aliases-0f6297eafd05c07c.yaml | 7 + .../default-microversion-b2401727cb591002.yaml | 7 + .../fix-endpoint-override-ac41baeec9549ab3.yaml | 5 + .../notes/fix-yaml-load-3e6bd852afe549b4.yaml | 5 + .../notes/ksa-discovery-86a4ef00d85ea87f.yaml | 5 + .../no-inspect-associated-563e272785bb6016.yaml | 5 + ...dor-add-limestonenetworks-99b2ffab9fc23b08.yaml | 4 + requirements.txt | 2 +- setup.cfg | 1 + tox.ini | 23 +- 126 files changed, 1304 insertions(+), 700 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 7a4f9fe..4f679ba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11 +11 @@ os-service-types>=1.2.0 # Apache-2.0 -keystoneauth1>=3.4.0 # Apache-2.0 +keystoneauth1>=3.7.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org