We are pleased to announce the release of: openstacksdk 0.34.0: An SDK for building applications to work with OpenStack This release is part of the train release series. The source is available from: https://opendev.org/openstack/openstacksdk Download the package from: https://pypi.org/project/openstacksdk Please report issues through: https://storyboard.openstack.org/#!/project/760 For more details, please see below. 0.34.0 ^^^^^^ New Features * Adds support for fetching specific fields when getting bare metal *Node*, *Port*, *PortGroup*, *Chassis* and *Allocation* resources. * Added support for setting "global_request_id" on a "Connection". If done, this will cause all requests sent to send the request id header to the OpenStack services. Since "Connection" can otherwise be used multi-threaded, add a method "global_request" that returns a new "Connection" based on the old "Connection" but on which the new "global_request_id" has been set. Since a "Connection" can be used as a context manager, this also means the "global_request" method can be used in "with" statements. Changes in openstacksdk 0.33.0..0.34.0 -------------------------------------- 6e7cbb96 Bump keystoneauth1 minimum to 3.16.0 a263dfb4 Add support for fields in baremetal get_* resources 95bf1490 Add support for global_request_id 57b634b0 Fix discovery cache sharing ad0a5203 DRY test_connection 5f5353a7 Retry large object manifest upload 09cdcc00 bug: avoid unnecessary object meta prefix a7423f72 Skip most service_description for unknown services 28d31345 Initalize pool_executor so close works 6cfd6425 Allow limiting Connection service_types from oslo.config a739390c baremetal.configdrive: tolerate user_data as a string Diffstat (except docs and test files) ------------------------------------- lower-constraints.txt | 2 +- openstack/baremetal/configdrive.py | 6 +- openstack/baremetal/v1/_proxy.py | 62 +++-- openstack/cloud/_object_store.py | 64 +++++- openstack/cloud/openstackcloud.py | 73 ++++-- openstack/config/cloud_region.py | 17 +- openstack/connection.py | 15 +- openstack/dns/v2/_base.py | 2 +- openstack/proxy.py | 9 +- openstack/resource.py | 3 +- openstack/service_description.py | 20 +- .../baremetal/test_baremetal_allocation.py | 5 + .../functional/baremetal/test_baremetal_node.py | 7 + .../functional/baremetal/test_baremetal_port.py | 6 + .../baremetal/test_baremetal_port_group.py | 6 + .../notes/baremetal-fields-624546fa533a8287.yaml | 5 + .../notes/global-request-id-d7c0736f43929165.yaml | 11 + requirements.txt | 2 +- 28 files changed, 787 insertions(+), 143 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 42da24b3..961f5795 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11 +11 @@ os-service-types>=1.7.0 # Apache-2.0 -keystoneauth1>=3.14.0 # Apache-2.0 +keystoneauth1>=3.16.0 # Apache-2.0