[release-announce] openstacksdk 0.31.0 (train)
no-reply at openstack.org
no-reply at openstack.org
Mon Jun 10 15:48:04 UTC 2019
We joyfully announce the release of:
openstacksdk 0.31.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.31.0
^^^^^^
New Features
************
* "has_{service_type}" is a boolean config option that allows
asserting that a given service does not exist or should not be used
in a given cloud. Doing this will now cause the corresponding
service "Proxy" object to not be created and in its place is an
object that will throw exceptions if used.
* "{service_type}_disabled_reason" is a new string config option
that can be set to indicate a reason why a service has been
disabled. This string will be used in exceptions or log warnings
emitted.
Bug Fixes
*********
* The baremetal calls "wait_for_nodes_provision_state",
"wait_for_allocation" and the baremetal introspection call
"wait_for_introspection" now raise "ResourceFailure" on reaching an
error state instead of a generic "SDKException".
Changes in openstacksdk 0.30.0..0.31.0
--------------------------------------
f4fa6fab baremetal: raise more specific ResourceFailure in wait_for_* methods
f7860861 Pin to latest os-service-types
3bac4abb Add release note for new disable service functionality
879f7d4f Minor fixups from from_conf changes
82079022 Handle oslo.config exceptions in from_conf
38847204 Support skipping unknown QP
Diffstat (except docs and test files)
-------------------------------------
lower-constraints.txt | 2 +-
openstack/baremetal/v1/_proxy.py | 6 +++
openstack/baremetal/v1/allocation.py | 5 +-
openstack/baremetal/v1/node.py | 15 ++++--
openstack/baremetal_introspection/v1/_proxy.py | 3 ++
.../baremetal_introspection/v1/introspection.py | 5 +-
openstack/cloud/openstackcloud.py | 2 +-
openstack/config/cloud_region.py | 63 +++++++++++++++++++---
openstack/connection.py | 1 +
openstack/exceptions.py | 4 ++
openstack/resource.py | 50 +++++++++++------
openstack/service_description.py | 17 ++++++
.../unit/baremetal_introspection/v1/test_proxy.py | 2 +-
.../notes/baremetal-wait-e4571cdb150b188a.yaml | 7 +++
.../notes/disable-service-39df96ef8a817785.yaml | 12 +++++
requirements.txt | 2 +-
22 files changed, 280 insertions(+), 79 deletions(-)
Requirements updates
--------------------
diff --git a/requirements.txt b/requirements.txt
index 9062efb8..42da24b3 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -10 +10 @@ six>=1.10.0 # MIT
-os-service-types>=1.2.0 # Apache-2.0
+os-service-types>=1.7.0 # Apache-2.0
More information about the Release-announce
mailing list