We joyfully announce the release of: openstacksdk 2.0.0: An SDK for building applications to work with OpenStack This release is part of the caracal 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. 2.0.0 ^^^^^ New Features ************ * Added support for the "MetadefProperty" Image resource. * Add support for the new "VMove" resource for the instance HA service (Masakari). * Add "hardware_offload_type" attribute to "port" resource. Users can set this attribute to a valid value defined in "neutron_lib.constants.VALID_HWOL_TYPES", set "None" or leave it undefined. * Add "export_stack" to print stack infomation in a json format * Added support for: * Create Attachment * Update Attachment * List Attachment * Get Attachment * Delete Attachment * Complete Attachment * Added support for specifying the subnetpool to use when creating subnets ("subnetpool_name_or_id") Upgrade Notes ************* * The cloud-layer caching functionality has been removed in favour of the proxy-layer caching functionality first introduced in openstacksdk 1.0.0. This migration to proxy-layer caching was designed to be transparent to end-users and there should be no user- facing impact from this removal. * The "appdirs" dependency is replaced by a requirement for "platformdirs" 3.0.0 or later. Users on macOS may need to move configuration files to "*/Library/Application Support". See its release notes for further details: https://platformdirs.readthedocs .io/en/latest/changelog.html#platformdirs-3-0-0-2023-02-06 * Many cloud administrators use universal cloud-wide credentials. This is supported in keystone via 'inherited' roles that can be applied cloud- or domain-wide. In previous releases, these credentials could not be usefully defined within "`clouds.yaml`" because "`clouds.yaml`" supports only specifying a single domain and project for auth purposes. This project or domain could not be overridden on the commandline. Bug Fixes ********* * [bug 2010898 (https://storyboard.openstack.org/#!/story/2010898)] Fix Swift endpoint url handling to determine info/caps url * When some config settings are specified multiple times, the order of precendence has been changed to prefer command-line or env settings over those found in "`clouds.yaml`". The same reordering has been done when a setting is specified multiple times within "`clouds.yaml`"; now a higher-level setting will take precedence over that specified within the auth section. Affected settings are: * "domain_id" * "domain_name" * "user_domain_id" * "user_domain_name" * "project_domain_id" * "project_domain_name" * "auth-token" * "project_id" * "tenant_id" * "project_name" * "tenant_name" Changes in openstacksdk 1.5.0..2.0.0 ------------------------------------ 3742f2ce [baremetal] Add firmware_interface support ae992fc3 [baremetal] Add unhold provision state verb support 1d3da1c8 [baremetal] Add support for parent_nodes b3ddf297 Bump API version in Manila functional tests be544e6f volume: Add Capability to volume v2 API b34de32a Replace appdirs usage with platformdirs c2600c35 image: Add support for metadef property operations 1ceb9972 config loader: Prefer cli/env over clouds.yaml args for some args 1211a511 [baremetal] Ensure baremetal shard parameter gets passed cc1a6c3e Add "hardware_offload_type" attribute to "port" df46d13f [baremetal] Add support for querying for shards 02a7b9cb Update master for stable/2023.2 a869170a Fix: volume request body for scheduler hints 21af0cee tests: Remove references to shade ec354092 cloud: Remove old cloud-layer caching functionality a068ec30 cloud: Don't use dangerous argument defaults dd4e457f cloud: Remove floating network cache 8d462696 cloud: Remove remnants of server caching 404ef826 cloud: Remove remnants of floating IP caching cf349e8b cloud: Remove remnants of port caching 1322913d Add volume attachment support ac3dabb0 docs: Rewrite caching docs bb9b54ce Fix bulk_delete support determination 58476dec Fix Swift endpoint conversion to determine info/caps url 10217f5b Support passing a subnetpool for create_subnet d474eb84 cloud: Convert 'get_volume_limits' to use proxy layer e8bece4a cloud: Remove '_get_raw_client' fc9ca792 cloud: Remove '_orchestration_client' 2f5c12da cloud: Remove dead method 61b94cdc Implement stack export in openstacksdk b21ac898 support notification vmoves for masakari e66cee12 Unused param in stack unit test 9950a3b4 docs: Use asterix for Network resources doc 90640d63 fix block storage resource registry b02c9697 Add support for default security group rules in SDK 144c370b Treat server as a dict in add_server_interfaces Diffstat (except docs and test files) ------------------------------------- .../resources/block_storage/v2/capabilities.rst | 12 + .../user/resources/block_storage/v3/attachment.rst | 13 + .../user/resources/image/v2/metadef_property.rst | 13 + openstack/baremetal/v1/_common.py | 1 + openstack/baremetal/v1/_proxy.py | 1 + openstack/baremetal/v1/node.py | 13 +- openstack/block_storage/v2/_proxy.py | 18 +- openstack/block_storage/v2/capabilities.py | 45 ++ openstack/block_storage/v3/_proxy.py | 122 ++- openstack/block_storage/v3/attachment.py | 103 +++ openstack/block_storage/v3/volume.py | 15 + openstack/cloud/_block_storage.py | 38 +- openstack/cloud/_coe.py | 5 - openstack/cloud/_compute.py | 99 +-- openstack/cloud/_floating_ip.py | 153 +--- openstack/cloud/_identity.py | 14 - openstack/cloud/_image.py | 14 +- openstack/cloud/_network.py | 97 +-- openstack/cloud/_object_store.py | 1 - openstack/cloud/_orchestration.py | 18 - openstack/cloud/_utils.py | 43 -- openstack/cloud/meta.py | 6 +- openstack/cloud/openstackcloud.py | 72 -- openstack/compute/v2/_proxy.py | 1 - openstack/config/loader.py | 21 +- openstack/image/v1/_proxy.py | 3 - openstack/image/v2/_proxy.py | 133 +++- openstack/image/v2/metadef_property.py | 179 +++++ openstack/instance_ha/v1/_proxy.py | 42 ++ openstack/instance_ha/v1/vmove.py | 63 ++ openstack/network/v2/_proxy.py | 114 +++ .../network/v2/default_security_group_rule.py | 89 +++ openstack/network/v2/port.py | 3 + openstack/object_store/v1/_proxy.py | 11 +- openstack/object_store/v1/info.py | 32 +- openstack/orchestration/util/event_utils.py | 15 +- openstack/orchestration/v1/_proxy.py | 18 + openstack/orchestration/v1/stack.py | 13 + openstack/proxy.py | 1 + .../functional/block_storage/v3/test_attachment.py | 90 +++ .../cloud/test_qos_bandwidth_limit_rule.py | 2 +- .../functional/cloud/test_qos_dscp_marking_rule.py | 2 +- .../cloud/test_qos_minimum_bandwidth_rule.py | 2 +- .../functional/image/v2/test_metadef_property.py | 129 ++++ .../network/v2/test_default_security_group_rule.py | 83 ++ .../functional/shared_file_system/test_share.py | 3 +- .../unit/block_storage/v2/test_capabilities.py | 102 +++ .../network/v2/test_default_security_group_rule.py | 85 +++ ...dd-image-metadef-property-fb87e5a7090e73ac.yaml | 4 + .../add-masakari-vmoves-873ad67830c92254.yaml | 4 + ...ort-hardware-offload-type-1232c5ae3f62d7df.yaml | 7 + .../notes/add-stack-export-3ace746a8c80d766.yaml | 4 + ...volume-attachment-support-b5f9a9e78ba88355.yaml | 11 + .../notes/bug-2010898-430da335e4df0efe.yaml | 5 + ...eate-subnet-by-subnetpool-eba1129c67ed4d96.yaml | 5 + ...emove-cloud-caching-layer-2b0384870a45e8a3.yaml | 7 + ...appdirs-with-platformdirs-d3f5bcbe726b7829.yaml | 8 + .../notes/story-2010784-21d23043155497f5.yaml | 33 + releasenotes/source/2023.2.rst | 6 + releasenotes/source/index.rst | 1 + requirements.txt | 2 +- 117 files changed, 2676 insertions(+), 1495 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 6dc4d905..48188d4e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6 +6 @@ PyYAML>=3.13 # MIT -appdirs>=1.3.0 # MIT License +platformdirs>=3 # MIT License
participants (1)
-
no-reply@openstack.org