[release-announce] python-openstackclient 5.0.0 (ussuri)

no-reply at openstack.org no-reply at openstack.org
Mon Feb 24 19:23:42 UTC 2020


We are delighted to announce the release of:

python-openstackclient 5.0.0: OpenStack Command-line Client

This release is part of the ussuri 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.0.0
^^^^^


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

* Add "--parent" option to "project list" command to filter projects
  by the specified parent project.

* Add "server migrate confirm" and "server migrate revert" commands.
  These are aliases of the "server resize confirm" and "server resize
  revert" commands, respectively.

* Add "--disable-delete-on-termination" and "--enable-delete-on-
  termination" options to the "server add volume" command to indicate
  when to delete the attached volume when the server is deleted. Note
  that it requires "--os-compute-api-version 2.79" or greater.
  [Blueprint support-specifying-az-when-restore-shelved-server
  https://blueprints.launchpad.net/nova/+spec/support-delete-on-
  termination-in-server-attach-volume
  (https://blueprints.launchpad.net/nova/+spec/support-delete-on-
  termination-in-server-attach-volume)]

* [blueprint whitelist-extension-for-app-creds
  (https://blueprints.launchpad.net/keystone/+spec/whitelist-
  extension-for-app-creds)] Added support for creating access rules as
  an attribute of application credentials as well as for listing,
  showing, and deleting access rules.


Upgrade Notes
*************

* Python 2.7 support has been dropped. The last release of python-
  openstackclient to support Python 2.7 is OpenStack Train. The
  minimum version of Python now supported by python-openstackclient is
  Python 3.6.


Bug Fixes
*********

* Fixes the "No server with a name or ID of 'id' exists" error when
  running "server list --deleted --marker". The fix removes using a
  name for the marker when both "--deleted" and "--marker" are used.
  In this scenario an ID must be supplied for the marker. [Story
  2006761 (https://storyboard.openstack.org/#!/story/2006761)]

Changes in python-openstackclient 4.0.0..5.0.0
----------------------------------------------

e6e4b73e Complete "Drop python2 support" goal
cefa571d Use 'KeyValueAppendAction' from osc-lib
ea27ebb0 Stop silently ignoring invalid 'server create --hint' options
27b16df7 Remove mention of meetings from docs
70ab3f9d Add support for app cred access rules
db29e28b Switch to using osc_lib.utils.tags
69db9fe7 Raise flake8-import-order version to latest
90ca67bd Raise hacking to more recent 2.0.0
d15bbada Replace six.iteritems() with .items()
780d9b49 Show correct name for resource with quota set to zero
32080f7a Bump tox minversion
f5384ae1 Fix openstack server list --deleted --marker option
92462767 Stop testing python 2 in tox and zuul.
509ca3ed Fix router create/show if extraroute not supported
5b3a827a Provide stderr in exception when check_parser fails
874a726f Microversion 2.79: Add delete_on_termination to volume-attach API
1c0160c8 Create Volume v3 functional tests
3b409e4d Refactor AggregateTests
e2d8dc0f Deflate .htaccess
6f07828b Add redirect testing
c6266b5a compute: autogenerate docs
da56b8f4 openstack.cli: autogenerate docs
4c0f3bfa common: autogenerate docs
c7dbe857 Update a stale doc reference to use :neutron-doc:
cd6c285c neutron: autogenerate docs
61ad83b5 versions: Fix 'versions show' help message
40f74816 Remove redundant OpenStackShell.prepare_to_run_command
4b393681 Use SDK to get compute API extensions
f1d742f3 Fix functional tests for py3
977b0c85 Use autoprogram-cliff for remaining plugin docs
d0bfef80 Doc: launchpad => storyboard
fcae6284 Link to (some) plugin doc pages
67a5654d Add plugin doc page for watcher
3fd63c00 Produce complete content for plugin docs
85c83530 Split plugin docs per project
abdec78f Remove plugin projects from test-requirements.txt
8cdc7348 Add placement to known plugins
cf1006bf Fix plugin autodoc generation
154df0d0 Update master for stable/train
9ad34396 Fix osc-lib interface change: catch osc-lib Forbidden
b4e9b225 Add dns_publish_fixed_ip attribute to subnets
609988eb Add 'openstack server migrate (confirm|revert)' commands
7c1b6a79 Add parent project filter for listing projects


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

.zuul.yaml                                         |  29 +-
CONTRIBUTING.rst                                   |   4 +-
HACKING.rst                                        |   3 +-
README.rst                                         |   8 +-
.../command-objects/application-credentials.rst    |   7 +
.../cli/command-objects/availability-zone.rst      |  31 +-
.../cli/command-objects/floating-ip-pool.rst       |  11 +-
.../floating-ip-port-forwarding.rst                | 168 +------
.../cli/command-objects/hypervisor-stats.rst       |  12 +-
.../network-auto-allocated-topology.rst            |  63 +--
.../cli/command-objects/network-flavor-profile.rst | 134 +-----
.../cli/command-objects/network-meter-rule.rst     |  92 +---
.../cli/command-objects/network-qos-policy.rst     | 156 +------
.../cli/command-objects/network-qos-rule-type.rst  |  26 +-
.../cli/command-objects/network-qos-rule.rst       | 161 +------
.../command-objects/network-service-provider.rst   |  11 +-
.../cli/command-objects/network_segment_range.rst  | 158 +------
.../cli/command-objects/security-group-rule.rst    | 193 +-------
.../cli/plugin-commands/ironic-inspector.rst       |   4 +
lower-constraints.txt                              |  18 +-
openstackclient/api/api.py                         |   3 +-
openstackclient/api/object_store_v1.py             |   5 +-
openstackclient/common/availability_zone.py        |   5 +-
openstackclient/common/configuration.py            |   5 +-
openstackclient/common/extension.py                |   4 +-
openstackclient/common/module.py                   |   3 +-
openstackclient/common/quota.py                    |  47 +-
openstackclient/common/versions.py                 |  19 +-
openstackclient/compute/v2/agent.py                |   3 +-
openstackclient/compute/v2/aggregate.py            |   9 +-
openstackclient/compute/v2/console.py              |   3 +-
openstackclient/compute/v2/flavor.py               |   5 +-
openstackclient/compute/v2/hypervisor.py           |   3 +-
openstackclient/compute/v2/hypervisor_stats.py     |   3 +-
openstackclient/compute/v2/keypair.py              |   5 +-
openstackclient/compute/v2/server.py               | 111 ++++-
openstackclient/compute/v2/server_backup.py        |   3 +-
openstackclient/compute/v2/server_event.py         |   3 +-
openstackclient/compute/v2/server_image.py         |   3 +-
openstackclient/compute/v2/usage.py                |   3 +-
openstackclient/identity/common.py                 |  10 +-
openstackclient/identity/v2_0/catalog.py           |   3 +-
openstackclient/identity/v2_0/ec2creds.py          |   5 +-
openstackclient/identity/v2_0/endpoint.py          |   5 +-
openstackclient/identity/v2_0/project.py           |   5 +-
openstackclient/identity/v2_0/role.py              |   7 +-
openstackclient/identity/v2_0/service.py           |   9 +-
openstackclient/identity/v2_0/token.py             |   3 +-
openstackclient/identity/v2_0/user.py              |   5 +-
openstackclient/identity/v3/access_rule.py         | 118 +++++
.../identity/v3/application_credential.py          |  32 +-
openstackclient/identity/v3/catalog.py             |   3 +-
openstackclient/identity/v3/consumer.py            |   5 +-
openstackclient/identity/v3/credential.py          |   5 +-
openstackclient/identity/v3/domain.py              |   5 +-
openstackclient/identity/v3/ec2creds.py            |   5 +-
openstackclient/identity/v3/endpoint.py            |   5 +-
openstackclient/identity/v3/endpoint_group.py      |   5 +-
openstackclient/identity/v3/federation_protocol.py |   7 +-
openstackclient/identity/v3/group.py               |   5 +-
openstackclient/identity/v3/identity_provider.py   |   5 +-
openstackclient/identity/v3/implied_role.py        |   3 +-
openstackclient/identity/v3/limit.py               |   7 +-
openstackclient/identity/v3/mapping.py             |   5 +-
openstackclient/identity/v3/policy.py              |   5 +-
openstackclient/identity/v3/project.py             |  15 +-
openstackclient/identity/v3/region.py              |   5 +-
openstackclient/identity/v3/registered_limit.py    |   7 +-
openstackclient/identity/v3/role.py                |   5 +-
openstackclient/identity/v3/service.py             |   5 +-
openstackclient/identity/v3/service_provider.py    |   5 +-
openstackclient/identity/v3/token.py               |   9 +-
openstackclient/identity/v3/trust.py               |   5 +-
openstackclient/identity/v3/user.py                |   5 +-
openstackclient/image/v1/image.py                  |   5 +-
openstackclient/image/v2/image.py                  |  10 +-
openstackclient/network/common.py                  | 199 ++++----
openstackclient/network/sdk_utils.py               |   4 +-
openstackclient/network/v2/_tag.py                 | 134 ------
openstackclient/network/v2/floating_ip.py          |  76 +--
openstackclient/network/v2/network.py              | 111 +++--
.../network/v2/network_segment_range.py            |   4 +-
openstackclient/network/v2/port.py                 |   2 +-
openstackclient/network/v2/router.py               |   4 +-
openstackclient/network/v2/security_group.py       |  51 ++-
openstackclient/network/v2/security_group_rule.py  | 208 +++++----
openstackclient/network/v2/subnet.py               |  28 +-
openstackclient/network/v2/subnet_pool.py          |   2 +-
openstackclient/object/v1/account.py               |   3 +-
openstackclient/object/v1/container.py             |   3 +-
openstackclient/object/v1/object.py                |   3 +-
openstackclient/shell.py                           |  26 --
.../functional/volume/v3/test_transfer_request.py  | 106 ++++-
.../functional/volume/v3/test_volume_snapshot.py   | 240 +++++++++-
.../unit/identity/v2_0/test_role_assignment.py     |   2 +-
.../identity/v3/test_application_credential.py     | 127 ++++-
.../unit/identity/v3/test_identity_provider.py     |   3 +-
.../unit/network/v2/test_floating_ip_compute.py    |   4 +-
.../unit/network/v2/test_floating_ip_network.py    |   4 +-
.../network/v2/test_floating_ip_pool_compute.py    |   2 +-
.../network/v2/test_floating_ip_port_forwarding.py |   4 +-
.../v2/test_network_auto_allocated_topology.py     |   2 +-
.../unit/network/v2/test_network_flavor_profile.py |   2 +-
.../unit/network/v2/test_network_meter_rule.py     |   4 +-
.../unit/network/v2/test_network_qos_policy.py     |   4 +-
.../unit/network/v2/test_network_qos_rule_type.py  |   2 +-
.../unit/network/v2/test_network_segment_range.py  |   4 +-
.../network/v2/test_network_service_provider.py    |   2 +-
.../unit/network/v2/test_security_group_compute.py |   4 +-
.../unit/network/v2/test_security_group_network.py |   4 +-
.../network/v2/test_security_group_rule_compute.py |   4 +-
.../network/v2/test_security_group_rule_network.py |   4 +-
.../volume/v2/test_consistency_group_snapshot.py   |   2 +-
openstackclient/volume/v1/qos_specs.py             |   5 +-
openstackclient/volume/v1/volume.py                |   5 +-
openstackclient/volume/v1/volume_backup.py         |   5 +-
openstackclient/volume/v1/volume_snapshot.py       |   5 +-
.../volume/v1/volume_transfer_request.py           |   7 +-
openstackclient/volume/v1/volume_type.py           |   5 +-
openstackclient/volume/v2/backup_record.py         |   5 +-
openstackclient/volume/v2/consistency_group.py     |   5 +-
.../volume/v2/consistency_group_snapshot.py        |   5 +-
openstackclient/volume/v2/qos_specs.py             |   5 +-
openstackclient/volume/v2/volume.py                |   5 +-
openstackclient/volume/v2/volume_backup.py         |   7 +-
openstackclient/volume/v2/volume_snapshot.py       |   5 +-
.../volume/v2/volume_transfer_request.py           |   7 +-
openstackclient/volume/v2/volume_type.py           |   5 +-
...t-list-option-to-projects-10382a7176993366.yaml |   5 +
...e-confirm-revert-commands-9d8079c9fddea36d.yaml |   6 +
...en-restore-shelved-server-9179045f04815bbb.yaml |   9 +
...t-extension-for-app-creds-9afd5009b374190b.yaml |   6 +
.../notes/bug-2006761-9041d1b25e845cfb.yaml        |   8 +
releasenotes/notes/drop-py2-421c90fbdf18dbc2.yaml  |   7 +
releasenotes/source/index.rst                      |   1 +
releasenotes/source/train.rst                      |   6 +
requirements.txt                                   |   6 +-
setup.cfg                                          |  13 +-
test-requirements.txt                              |  26 +-
tox.ini                                            |  17 +-
298 files changed, 3194 insertions(+), 7192 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 67139bbd..f7e2ceca 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -11 +11 @@ openstacksdk>=0.17.0 # Apache-2.0
-osc-lib>=1.14.0 # Apache-2.0
+osc-lib>=2.0.0 # Apache-2.0
@@ -15,2 +15,2 @@ python-glanceclient>=2.8.0 # Apache-2.0
-python-keystoneclient>=3.17.0 # Apache-2.0
-python-novaclient>=15.0.0 # Apache-2.0
+python-keystoneclient>=3.22.0 # Apache-2.0
+python-novaclient>=15.1.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 4db30c7f..55ae1ea4 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -4 +4 @@
-hacking>=1.1.0,<1.2.0 # Apache-2.0
+hacking>=2.0.0 # Apache-2.0
@@ -7 +7 @@ fixtures>=3.0.0 # Apache-2.0/BSD
-flake8-import-order==0.13 # LGPLv3
+flake8-import-order>=0.13 # LGPLv3
@@ -20,22 +19,0 @@ wrapt>=1.7.0 # BSD License
-
-# Install these to generate sphinx autodocs
-aodhclient>=0.9.0 # Apache-2.0
-gnocchiclient>=3.3.1 # Apache-2.0
-python-barbicanclient>=4.5.2 # Apache-2.0
-python-congressclient<2000,>=1.9.0 # Apache-2.0
-python-designateclient>=2.7.0 # Apache-2.0
-python-heatclient>=1.10.0 # Apache-2.0
-python-ironicclient>=2.3.0 # Apache-2.0
-python-ironic-inspector-client>=1.5.0 # Apache-2.0
-python-karborclient>=0.6.0 # Apache-2.0
-python-mistralclient!=3.2.0,>=3.1.0 # Apache-2.0
-python-muranoclient>=0.8.2 # Apache-2.0
-python-neutronclient>=6.7.0 # Apache-2.0
-python-octaviaclient>=1.3.0 # Apache-2.0
-python-rsdclient>=0.1.0 # Apache-2.0
-python-saharaclient>=1.4.0 # Apache-2.0
-python-searchlightclient>=1.0.0 #Apache-2.0
-python-senlinclient>=1.1.0 # Apache-2.0
-python-troveclient>=2.2.0 # Apache-2.0
-python-zaqarclient>=1.0.0 # Apache-2.0
-python-zunclient>=3.4.0 # Apache-2.0






More information about the Release-announce mailing list