We jubilantly announce the release of: openstacksdk 0.24.0: An SDK for building applications to work with OpenStack This release is part of the stein release series. Download the package from: https://pypi.org/project/openstacksdk For more details, please see below. 0.24.0 ^^^^^^ New Features ************ * Added load balancer and listener get statistics methods. * Add tags support for the Octavia (load_balancer) objects. * Added support for the Octavia (load_balancer) L7 Policy "redirect_prefix" capability. Bug Fixes ********* * Fixed the Octavia (load_balancer) load balancer objects to have "flavor_id" instead of the nonexistent "flavor" field. * Changes the "baremetal.attach_vif_to_node" call to retry HTTP CONFLICT by default. While it's a valid error code when a VIF is already attached to a node, the same code is also used when the target node is locked. The latter happens more often, so the retries are now on by default and can be disabled by setting "retry_on_conflict" to "False". * Fixed a regression in deleting Node and Cluster resources in clustering caused by the addition of the "location" property to all resource objects. Previously the delete calls had directly returned the "location" field returned in the headers from the clustering service pointing to an Action resource that could be fetched to get status on the delete operation. The delete calls now return an Action resource directly that is correctly constructed so that "wait_for_status" and "wait_for_deleted" work as expected. * Corrected the location property on the "Server" resource to use the "project_id" from the remote resource rather than the information from the token of the user. Changes in openstacksdk 0.23.0..0.24.0 -------------------------------------- 3dcc795 Fix resource deletion in clustering f31930a Added Octavia load balancer and listener stats 2327519 Adds tags support for Octavia (load_balancer) e740da6 Fix indentation for new pycodestyle E117 b649900 fix typo 6482783 Use pagination detection by default 03f3847 Fix raise create_server and attach to a network given a net-name param c7bbaf3 Fixes for Unicode characters in python 2 requests b668add Adds prefixlen to the request body when creating subnets b72f3e1 Support dict of links in pagination detection 0f526df use overriden base_path in remaining CRUD operations 5242585 Add a non-voting job with metalsmith 601769e Update cirros version for functional tests ce4d1d4 Fixed incorrect exception raising in configdrive generation 45b22aa Add baremetal Node fields from versions 1.47 - 1.49 3b022e8 Return retries on HTTP CONFLICT to baremetal.attach_vif_to_node 161f512 Compute location properly in server Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 8 ++ examples/connect.py | 4 +- openstack/baremetal/configdrive.py | 2 +- openstack/baremetal/v1/_proxy.py | 10 +- openstack/baremetal/v1/node.py | 27 ++++-- openstack/block_storage/v2/_proxy.py | 10 +- openstack/block_storage/v3/_proxy.py | 10 +- openstack/cloud/_normalize.py | 9 +- openstack/cloud/openstackcloud.py | 19 ++-- openstack/clustering/v1/_async_resource.py | 45 +++++++++ openstack/clustering/v1/_proxy.py | 28 +++--- openstack/clustering/v1/cluster.py | 9 +- openstack/clustering/v1/node.py | 9 +- openstack/compute/v2/_proxy.py | 26 +++--- openstack/compute/v2/keypair.py | 6 +- openstack/compute/v2/server.py | 11 ++- openstack/compute/v2/server_ip.py | 6 +- openstack/database/v1/_proxy.py | 10 +- openstack/database/v1/user.py | 5 +- openstack/exceptions.py | 2 +- openstack/identity/v2/_proxy.py | 8 +- openstack/identity/v2/extension.py | 6 +- openstack/identity/v3/_proxy.py | 42 ++++----- openstack/identity/version.py | 6 +- openstack/image/v1/_proxy.py | 2 +- openstack/image/v2/_proxy.py | 5 +- openstack/instance_ha/v1/_proxy.py | 7 +- openstack/key_manager/v1/_proxy.py | 6 +- openstack/load_balancer/v2/_proxy.py | 44 +++++++-- openstack/load_balancer/v2/health_monitor.py | 3 +- openstack/load_balancer/v2/l7_policy.py | 8 +- openstack/load_balancer/v2/l7_rule.py | 4 +- openstack/load_balancer/v2/listener.py | 29 +++++- openstack/load_balancer/v2/load_balancer.py | 37 +++++++- openstack/load_balancer/v2/member.py | 3 +- openstack/load_balancer/v2/pool.py | 5 +- openstack/message/v2/_proxy.py | 6 +- openstack/message/v2/message.py | 6 +- openstack/message/v2/queue.py | 6 +- openstack/message/v2/subscription.py | 9 +- openstack/network/v2/_proxy.py | 102 +++++++++------------ openstack/network/v2/subnet.py | 2 + openstack/orchestration/v1/_proxy.py | 10 +- openstack/proxy.py | 32 +++++-- openstack/resource.py | 54 ++++++----- .../load_balancer/v2/test_load_balancer.py | 18 ++++ .../network/v2/test_subnet_from_subnet_pool.py | 80 ++++++++++++++++ .../unit/load_balancer/test_health_monitor.py | 27 ++++++ openstack/utils.py | 4 +- openstack/workflow/v2/_proxy.py | 4 +- ...octavia-lb-listener-stats-1538cc6e4f734353.yaml | 4 + .../add-octavia-tags-support-1c1cf94184e6ebb7.yaml | 10 ++ .../notes/baremetal-retries-804f553b4e22b3bf.yaml | 8 ++ ...stering-resource-deletion-bed869ba47c2aac1.yaml | 13 +++ .../location-server-resource-af77fdab5d35d421.yaml | 6 ++ 93 files changed, 1205 insertions(+), 495 deletions(-)
participants (1)
-
no-reply@openstack.org