openstacksdk 0.102.0 (antelope)
We are glad to announce the release of: openstacksdk 0.102.0: An SDK for building applications to work with OpenStack This release is part of the antelope 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/openstack/openstacksdk For more details, please see below. 0.102.0 ^^^^^^^ New Features ************ * Add support for group snapshots to the block storage service. * -| Adds support to query metadef namespaces from glance. * Add support for metadata definition schema resource in image service. * Project cleanup now supports cleaning Swift (object-store). If supported by the server bulk deletion is used. Currently only filtering based on updated_at (last_modified) is supported. * Added support for the updated_at attribute for volume snapshots. * Added "update_volume" to the block storage proxy. Upgrade Notes ************* * Changes the baremetal "create_node" call to be closer to how Ironic behaves. If no provision state is requested, the default state of the current microversion is used (which usually means "enroll"). If the "available" state is requested, the node does not go through cleaning (it won't work without creating ports), an old API version is used to achieve this provision state. * The default behavior of the "register_machine" call has been modified to run cleaning by default, if enabled in Ironic. You can pass "provision_state="enroll"/"manageable"" to avoid it. Changes in openstacksdk 0.101.0..0.102.0 ---------------------------------------- 9a177816 Added Ansible OpenStack Collection to Bifrost's job.required-projects 4b8a9ceb image: Add metadef schema resource to v2 api 6e9acd5f Fix pre-commit issues 2535ba7a Allow to attach a floating ip to a specific fixed address 83153457 network: Rename ikepolicy module e55a6472 network: Remove duplicate module, update references 6f826a13 Extend project cleanup 8034f844 Add support for updated_at field for volume snapshots 2ec7d746 Drop query parameter 'id' from identity mapping 65f67386 Improve project cleanup for cinder 3bbbf1ab docs: Correct docs for VpnIpsecPolicy 0d6ed1ba docs: Trivial adjust index structure 169e27aa tests: Improve functional testing for image methods 9b802d3f image: Add support for other metadef namespace operations 0425eb6c workflow: Trivial fix doc title 1e74141c docs: Add missing docs for proxy helper methods e1c59b63 Add Python3 antelope unit tests b87431ff Update master for stable/zed 75237720 Update register_machine to use the Ironic format for ports 41c39a48 Migrate register_machine to use the proxy layer 68cf49d8 volume: Trivial docstring fixes to 'wait_for_status' bf6563e9 block storage: Add update_volume proxy method 29592aeb resource: Reformat calls to request 1944b4c7 trivial: Correct some docstrings 581a016c resource: Remove unused helper, variable abc59773 image: Trivial grouping of image proxy methods 60c067cd tests: Remove unnecessary service check 703375a8 added api requirements for new "openstack image metadefs namespace list" command 0529c30a resource: Fix pagination of nested Glance resources a0292478 Unify resource list filtering 0536405a Add support for fault object per Server API c92f260e Add docstring to wait_for_load_balancer() method 497a268a Implement project cleanup for object-store d9b7beff Fix incremental backups handling in project cleanup c4376987 Support unknown attributes in resource.__getitem__ 285e8af1 Use /volumes/detail endpoint in find_volume proxy method 354903d7 Actually use openstacksdk from source in the Bifrost job 6e1b5e0a baremetal: rework node creation to be closer to the backend 915da1e5 Allow passing explicit microversions to Resource methods 6bc56b0e Replace base64.encodestring with encodebytes 2b7469cc block storage: Add support for the GroupSnapshot resource 48f3a18b Allow Resource.to_dict to allow returning unknown values 47ae81d7 compute: Default to 2.48 for server diagnostics Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 11 +- .../user/resources/image/v2/metadef_namespace.rst | 13 + .../user/resources/image/v2/metadef_schema.rst | 13 + .../user/resources/network/v2/vpn/ike_policy.rst | 13 + .../user/resources/network/v2/vpn/ikepolicy.rst | 13 - .../user/resources/network/v2/vpn/ipsec_policy.rst | 13 + .../user/resources/network/v2/vpn/ipsecpolicy.rst | 13 - openstack/baremetal/v1/_common.py | 1 + openstack/baremetal/v1/_proxy.py | 3 + openstack/baremetal/v1/node.py | 70 +++--- openstack/block_storage/v2/_proxy.py | 2 +- openstack/block_storage/v2/snapshot.py | 2 + openstack/block_storage/v3/_proxy.py | 217 ++++++++++++++--- openstack/block_storage/v3/group_snapshot.py | 72 ++++++ openstack/block_storage/v3/snapshot.py | 2 + openstack/cloud/_baremetal.py | 226 +++++++---------- openstack/cloud/_compute.py | 11 +- openstack/cloud/_floating_ip.py | 1 + openstack/cloud/_security_group.py | 3 +- openstack/cloud/cmd/inventory.py | 4 - openstack/cloud/openstackcloud.py | 57 +++-- openstack/compute/v2/_proxy.py | 2 +- openstack/compute/v2/flavor.py | 10 +- openstack/compute/v2/server.py | 3 + openstack/compute/v2/server_diagnostics.py | 20 +- openstack/database/v1/_proxy.py | 7 +- openstack/identity/v2/_proxy.py | 12 +- openstack/identity/v3/_proxy.py | 56 ++--- openstack/identity/v3/mapping.py | 4 +- openstack/image/_base_proxy.py | 1 + openstack/image/v1/_proxy.py | 4 +- openstack/image/v2/_proxy.py | 257 +++++++++++++++++-- openstack/image/v2/metadef_namespace.py | 73 ++++++ openstack/image/v2/metadef_schema.py | 29 +++ openstack/key_manager/v1/_proxy.py | 21 +- openstack/load_balancer/v2/_proxy.py | 20 ++ openstack/network/v2/_proxy.py | 271 +++++++++++---------- .../v2/{vpn_ikepolicy.py => vpn_ike_policy.py} | 1 + openstack/network/v2/vpn_ipsecpolicy.py | 57 ----- openstack/object_store/v1/_proxy.py | 79 ++++++ openstack/object_store/v1/obj.py | 10 +- openstack/orchestration/util/utils.py | 2 +- openstack/placement/v1/_proxy.py | 4 +- openstack/proxy.py | 24 +- openstack/resource.py | 261 ++++++++++++++------ .../functional/baremetal/test_baremetal_node.py | 36 +-- .../functional/block_storage/v3/test_group.py | 67 ++++- .../functional/block_storage/v3/test_volume.py | 61 +++-- .../functional/image/v2/test_metadef_namespace.py | 86 +++++++ .../functional/image/v2/test_metadef_schema.py | 67 +++++ .../unit/block_storage/v3/test_group_snapshot.py | 51 ++++ ...k-storage-group-snapshots-954cc869227317c3.yaml | 4 + ...metadef-namespace-support-b93557afdcf4272c.yaml | 4 + .../add-image-metadef-schema-b463825481bdf954.yaml | 3 + .../add_image_import_support-6cea2e7d7a781071.yaml | 2 +- .../notes/node-create-027ea99193f344ef.yaml | 9 + .../project-cleanup-swift-f67615e5c3ab8fd8.yaml | 6 + .../notes/register-machine-72ac3e65a1ed55b1.yaml | 6 + .../notes/snap-updated_at-a46711b6160e3a26.yaml | 3 + .../notes/volume-quotas-5b674ee8c1f71eb6.yaml | 2 +- .../notes/volume-update-876e6540c8471440.yaml | 4 + releasenotes/source/index.rst | 1 + releasenotes/source/zed.rst | 6 + 96 files changed, 2890 insertions(+), 910 deletions(-)
participants (1)
-
no-reply@openstack.org