[release-announce] python-openstackclient 6.0.0 (zed)

no-reply at openstack.org no-reply at openstack.org
Thu Aug 18 09:44:37 UTC 2022


We are gleeful to announce the release of:

python-openstackclient 6.0.0: OpenStack Command-line Client

This release is part of the zed 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.

6.0.0
^^^^^


New Features
************

* Add "block storage cluster create", "block storage cluster
  delete", "block storage cluster list" and "block storage cluster
  show" commands to create, delete, list, and show block storage
  service clusters, respectively.

* The "volume" argument of the "volume backup restore" command is
  now optional and can refer to the name of a new volume that should
  be created rather than a name or ID of an existing volume (which
  would be overwritten). If not provided, cinder will generate a new
  volume with a unique name. To restore a backup to an existing
  volume, you must now specify the "--force" option (volume v2, v3
  only). [Bug 1597189 (https://bugs.launchpad.net/bugs/1597189)]

* The "image list" now accepts multiple "--tag" options, allowing
  you to filter images on more than one tag.

* Add support for QoS minimum packet rate rule to following
  commands: "network qos rule create", "network qos rule delete",
  "network qos rule list", "network qos rule show" and "network qos
  rule set"

* Add "--force" options to the "openstack quota set" command for
  network service commands. Neutron quota engine now accepts "force"
  flag to set a new resource quota limit, regardless of the current
  resource usage.

* The "server list" command will now display "Host Status" when the
  " --long" option is specified and the compute API microversion is
  2.16 or greater.

* The "server migration abort", "server migration force complete"
  and "server migration show" commands will now accept a server
  migration UUID in addition to an ID.


Bug Fixes
*********

* Fixed create image from volume command. If user wants to pass
  "visibility" and "protected" fields, they need to specify volume
  microversion 3.1 or greater by passing "os-volume-api-version 3.1"
  with the command.

* The "volume attachment create" command will now display
  information for successfully created volume attachments. Previously
  an empty table was returned.

Changes in python-openstackclient 5.8.0..6.0.0
----------------------------------------------

a9f81332 Migrate server_groups to the new API
e6adf37d Update the Nova CLI Mapping Guide
4e769f0e Drop support for Python 3.6, 3.7
e49ad179 pre-commit: Allow unsafe YAML
6ccbcdde Add support for CRUD operations for QoS minimum packet rate rule
14b93fec image: Split image creation depending on service
4776e0a5 image: Make better use of argparse
9eea28ba Fix: create image from volume command
2290b38a image: Trivial style changes
c6e86487 Skip test_quota_network_set_with_force func test
604ceeed Don't show tenant_id in network objects
34d1e0c7 Allow users to list all images
8a03f3ca Migrate osc-tox-py3N-tips to Python 3.8
93578ef8 Add 'Host Status' to 'server list --long' with >= v2.16
045f2e7e volume: Correct output of 'volume attachment create'
5cc6fc2b Allow to filter multiple tags for image list
c677192d Stop testing lower-constraints
53a7e67b volume: Add 'block storage resource filter list' command
d727a650 volume: Add 'block storage cluster *' commands
ccd84f8f Refactor network fakes to sdk properties PART 4
afc5f997 Stop using private _is_uuid_like method
10835a18 Add more filter option of columns for server list -c COLUMN
1c6d396b Allow "--force" flag in quota network commands
8efe8631 Refactor network fakes to sdk properties PART 3
e91e0e00 compute: Add 'Security Groups' for 'server list'
6fe0ae49 Refactor network fakes to sdk properties PART 2
23ad6826 Refactor network fakes to sdk properties PART 1
de4a69a2 Refactor "volume backup restore" command
c9b84106 compute: Move server migrations commands to their own file
cffec451 compute: Allow retrieval of migration by UUID
8acead32 volume: fix backup list of deleted volume
54b32a37 Add Python3 zed unit tests
15a7838c Update master for stable/yoga
3e61824d Fix metavars and typos in local_ip
077c9a77 volume list: don't fail when there's no compute service
72a2477e Fix 'server event list|show' for deleted servers
b3cb85f1 tests: Improve logging for executed commands
442838ed compute: Use correct command class for 'show migration'
43639e11 Fix typos
1169a114 Changed minversion in tox to 3.18.0


Diffstat (except docs and test files)
-------------------------------------

.pre-commit-config.yaml                            |    1 +
.zuul.yaml                                         |   19 +-
Dockerfile                                         |    4 +-
.../cli/command-objects/block-storage-cluster.rst  |    8 +
.../block-storage-resource-filter.rst              |    8 +
lower-constraints.txt                              |   97 -
openstackclient/common/progressbar.py              |    2 +-
openstackclient/common/quota.py                    |    9 +-
openstackclient/compute/v2/server.py               |  417 +---
openstackclient/compute/v2/server_event.py         |   38 +-
openstackclient/compute/v2/server_group.py         |  103 +-
openstackclient/compute/v2/server_migration.py     |  485 ++++
openstackclient/identity/v3/endpoint_group.py      |    2 +-
openstackclient/image/v2/image.py                  |  768 +++---
openstackclient/network/v2/address_group.py        |    2 +-
openstackclient/network/v2/address_scope.py        |    2 +-
openstackclient/network/v2/floating_ip.py          |    2 +-
.../network/v2/floating_ip_port_forwarding.py      |    2 +-
openstackclient/network/v2/ip_availability.py      |    2 +-
openstackclient/network/v2/l3_conntrack_helper.py  |    2 +-
openstackclient/network/v2/local_ip.py             |   12 +-
openstackclient/network/v2/local_ip_association.py |   20 +-
openstackclient/network/v2/network.py              |    1 +
openstackclient/network/v2/network_agent.py        |    2 +-
.../network/v2/network_auto_allocated_topology.py  |    2 +-
openstackclient/network/v2/network_flavor.py       |    2 +-
.../network/v2/network_flavor_profile.py           |    4 +-
openstackclient/network/v2/network_meter.py        |    2 +-
openstackclient/network/v2/network_meter_rule.py   |    2 +-
openstackclient/network/v2/network_qos_policy.py   |    2 +-
openstackclient/network/v2/network_qos_rule.py     |   42 +-
.../network/v2/network_qos_rule_type.py            |    4 +-
openstackclient/network/v2/network_rbac.py         |    2 +-
openstackclient/network/v2/network_segment.py      |    2 +-
.../network/v2/network_segment_range.py            |    2 +-
openstackclient/network/v2/port.py                 |    2 +-
openstackclient/network/v2/security_group.py       |    1 +
openstackclient/network/v2/security_group_rule.py  |    2 +-
openstackclient/network/v2/subnet.py               |    9 +-
openstackclient/network/v2/subnet_pool.py          |    2 +-
.../functional/compute/v2/test_server_event.py     |   35 +
.../functional/compute/v2/test_server_group.py     |   24 +-
.../functional/network/v2/test_network_qos_rule.py |   67 +
.../unit/network/v2/test_floating_ip_network.py    |   16 +-
.../network/v2/test_floating_ip_port_forwarding.py |    2 +-
.../unit/network/v2/test_local_ip_association.py   |    2 +-
.../v2/test_network_auto_allocated_topology.py     |   12 +-
.../unit/network/v2/test_network_flavor_profile.py |   54 +-
.../unit/network/v2/test_network_segment_range.py  |   18 +-
.../network/v2/test_security_group_rule_network.py |    2 +-
.../unit/volume/v3/test_block_storage_cluster.py   |  434 ++++
.../v3/test_block_storage_resource_filter.py       |  144 ++
openstackclient/volume/v1/volume_backup.py         |   19 +-
openstackclient/volume/v1/volume_type.py           |    2 +-
openstackclient/volume/v2/volume.py                |    2 +-
openstackclient/volume/v2/volume_backup.py         |   58 +-
openstackclient/volume/v2/volume_snapshot.py       |    2 +-
openstackclient/volume/v3/block_storage_cluster.py |  281 +++
.../volume/v3/block_storage_resource_filter.py     |   83 +
openstackclient/volume/v3/volume_attachment.py     |   23 +-
...-storage-cluster-commands-fae8f686582bbbcf.yaml |    7 +
...-more-server-list-columns-4e3b87929dd330f7.yaml |   16 +
.../notes/bug-1597189-02a8d8a402725860.yaml        |   10 +
...-image-create-from-volume-c573e553161605c4.yaml |    7 +
.../image-list-multiple-tags-a394799c7807f031.yaml |    5 +
.../notes/qos-min-pps-rule-bfe22cea1966c4a0.yaml   |    7 +
.../quota-network-force-920913981b45ba1a.yaml      |    5 +
.../server-list-host-status-1f542a5bc4292a62.yaml  |    6 +
.../server-migration-by-uuid-59f8272f63abee5d.yaml |    6 +
...achment-create-output-fix-56515b8fcdd260b9.yaml |    6 +
releasenotes/source/index.rst                      |    1 +
releasenotes/source/yoga.rst                       |    6 +
requirements.txt                                   |    4 +
setup.cfg                                          |   20 +-
tox.ini                                            |   12 +-
111 files changed, 6155 insertions(+), 3711 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index cb414ebb..118b7b95 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -0,0 +1,4 @@
+# Requirements lower bounds listed here are our best effort to keep them up to
+# date but we do not test them so no guarantee of having them all correct. If
+# you find any incorrect lower bounds, let us know or propose a fix.
+






More information about the Release-announce mailing list