We are ecstatic to announce the release of: python-openstackclient 5.7.0: OpenStack Command-line Client This release is part of the yoga release series. The source is available from: https://opendev.org/openstack/python-openstackclient Download the package from: https://pypi.org/project/python-openstackclient Please report issues through: https://storyboard.openstack.org/#!/project/openstack/python- openstackclient For more details, please see below. 5.7.0 ^^^^^ New Features ************ * The "server create", "server set" and "server rebuild" commands now accept an optional "--hostname HOSTNAME" option. This can be used to configure the hostname stored in the metadata service and/or config drive. Utilities such as "cloud-init" can then consume this information to set the hostname within the guest OS. * Added "--trusted-image-cert" option for server create. It is available only when directly booting server from image (not from volume, not from snapshot and not via image converted to volume first). This option is supported for Compute API version >=2.63 * Added support for microversion 2.89. This microversion removes the "id" field while adding the "attachment_id" and "bdm_uuid" fields to the responses of "GET /servers/{server_id}/os-volume_attachments" and "GET /servers/{server_id}/os-volume_attachments/{volume_id}" with these changes reflected in novaclient under the "openstack server volume list" command. (https://docs.openstack.org/nova/latest/reference/api-microversion- history.html#microversion-2-89) * Migrate openstack server backup from novaclient to sdk. * The "server add volume" command will now return details of the created volume attachment upon successful attachment. Bug Fixes ********* * Filtering servers by tags ("server list --tag", "server list --not- tag") now works correctly. [Bug 1946816 (https://bugs.launchpad.net/bugs/1946816)] Changes in python-openstackclient 5.6.0..5.7.0 ---------------------------------------------- 163cb01e compute: Return details of attached volumes 57aad018 Switch server backup to sdk. 728401bb Remove remnants of 'six' 30612bf6 Remove 'get_osc_show_columns_for_sdk_resource' duplicates a797c9d2 tox: Ignore virtualenvs for pep8 environment 53debe7f compute: Fix filtering servers by tags e06a4f1c Update the Nova CLI docoder document 70fed75c Update the Nova CLI decoder document abed9f20 Remove non-working code after method return. 28a376bf Add --trusted-image-cert option for server create c0a0f0f3 Fix that the path of functional test ff372ffd Add Python3 yoga unit tests 8ef9280a Update master for stable/xena ed5d2a37 Replace assertItemsEqual with assertCountEqual 51ee17a9 compute: Add support for microversion 2.89 8e833a3e compute: Add support for microversion 2.90 4aad7dd7 Fix typo error in listing server's column name 1f0fcbcd Fix the functional-tips tox environment Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 2 +- lower-constraints.txt | 1 - openstackclient/common/sdk_utils.py | 58 --- openstackclient/compute/v2/server.py | 136 ++++++- openstackclient/compute/v2/server_backup.py | 9 +- openstackclient/compute/v2/server_volume.py | 18 +- openstackclient/image/v1/image.py | 13 +- openstackclient/image/v2/image.py | 7 +- openstackclient/network/sdk_utils.py | 63 ---- openstackclient/network/v2/address_group.py | 4 +- openstackclient/network/v2/address_scope.py | 4 +- openstackclient/network/v2/floating_ip.py | 3 +- .../network/v2/floating_ip_port_forwarding.py | 5 +- openstackclient/network/v2/ip_availability.py | 3 +- openstackclient/network/v2/l3_conntrack_helper.py | 4 +- openstackclient/network/v2/network.py | 5 +- openstackclient/network/v2/network_agent.py | 4 +- .../network/v2/network_auto_allocated_topology.py | 3 +- openstackclient/network/v2/network_flavor.py | 4 +- .../network/v2/network_flavor_profile.py | 4 +- openstackclient/network/v2/network_meter.py | 3 +- openstackclient/network/v2/network_meter_rule.py | 3 +- openstackclient/network/v2/network_qos_policy.py | 4 +- openstackclient/network/v2/network_qos_rule.py | 4 +- .../network/v2/network_qos_rule_type.py | 3 +- openstackclient/network/v2/network_rbac.py | 4 +- openstackclient/network/v2/network_segment.py | 4 +- .../network/v2/network_segment_range.py | 3 +- openstackclient/network/v2/port.py | 4 +- openstackclient/network/v2/router.py | 4 +- openstackclient/network/v2/security_group.py | 3 +- openstackclient/network/v2/security_group_rule.py | 4 +- openstackclient/network/v2/subnet.py | 4 +- openstackclient/network/v2/subnet_pool.py | 3 +- .../add-server-hostname-opts-3cb4fd90b5bf47ca.yaml | 8 + ...erts-option-server-create-a660488407300f22.yaml | 7 + ...t_id_to_volume_attachment-cea605585db29e14.yaml | 11 + .../notes/bug-1946816-7665858605453578.yaml | 6 + ...rate-server-backup-to-sdk-0f170baf38e98b40.yaml | 4 + ...ult-for-server-add-volume-f75277ad58e31024.yaml | 5 + releasenotes/source/index.rst | 1 + releasenotes/source/xena.rst | 6 + tox.ini | 4 +- 53 files changed, 812 insertions(+), 400 deletions(-)