[release-announce] [openstackclient] python-openstackclient 3.8.0 (ocata)

no-reply at openstack.org no-reply at openstack.org
Fri Jan 27 02:54:32 UTC 2017


We are pumped to announce the release of:

python-openstackclient 3.8.0: OpenStack Command-line Client

This release is part of the ocata release series.

The source is available from:

    https://git.openstack.org/cgit/openstack/python-openstackclient

Download the package from:

    https://pypi.python.org/pypi/python-openstackclient

Please report issues through launchpad:

    https://bugs.launchpad.net/python-openstackclient

For more details, please see below.

3.8.0
^^^^^


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

* Add meter rules commands for "network meter rule create", "network
  meter rule delete", "network meter rule list", and "network meter
  rule show". [Blueprint :oscbp:`neutron-client-metering`]

* Add "--allowed-address" option to "port create", "port set" and
  "port unset" commands. Also add "--no-allowed-address" option to
  "port create" and "port set" commands. [Bug 1612136
  (https://bugs.launchpad.net/python-openstackclient/+bug/1612136)]

* Add "--deleted" and "--changes-since" options to "server list"
  command. [Bug 1647242 (https://bugs.launchpad.net/bugs/1647272)]

* Add "--project" and "--project-domain" filtering options to "port
  list" command. [Bug 1648087
  (https://bugs.launchpad.net/bugs/1648087)]

* Add "--domain" options to the "user set" command. Allows
  specification of domain context when changing users. [Bug 1658147
  (https://bugs.launchpad.net/bugs/1658147)]

* Add "--no-property" option in "volume snapshot set". [Blueprint
  allow-overwrite-set-options (https://blueprints.launchpad.net
  /python-openstackclient/+spec/allow-overwrite-set-options)]

* Add "--project" and "--project-domain" option to "volume snapshot
  list" command, in order to filter list result by different project.


Bug Fixes
*********

* Allow "--block-device-mapping" option to work correctly with "--
  volume" option in "server create" command. After :lpbug:`1383338` "
  --block-device-mapping" was ignored if "--volume" was present. Block
  device mappings are now appended to the mapping created by the "--
  volume" option if it is present. The device name of the boot volume
  specificed in the "--volume" option is no longer assumed to be
  *'vda'* but now uses the hypervisor's boot index to obtain the
  device name.  This maintains the status quo for **QEMU/KVM**
  hypervisors but **XEN**, **parallels** and others *virt types* that
  have device naming is different from "vd*" should now also work
  correctly. [:lpbug:`1497845`] [:lpbug:`1647406`]

* Fixed a "__init__() got an unexpected keyword argument
  'project_name'" error in various networking commands when "help" or
  "--help" was used. [Bug 1650026
  (https://bugs.launchpad.net/bugs/1650026)]

* Work around a bug in OpenStackSDK 0.9.11 and 0.9.12 that causes
  "quota set --network" to fail. [Bug 1655445
  (https://bugs.launchpad.net/python-openstackclient/+bug/1655445)]

* Fixed a "volume qos create" display mistake in argument of
  "specs". [Bug 1656767 (https://bugs.launchpad.net/python-
  openstackclient/+bug/1656767)]

* Correctly handle non-admin in "create trust" command when looking
  up role names. [Bug 1658582 (https://bugs.launchpad.net/python-
  openstackclient/+bug/1658582)]

Changes in python-openstackclient 3.7.0..3.8.0
----------------------------------------------

f58ae51 Fix sphinx errors
dd7837a Updated from global requirements
16aeee4 Cleanup for 3.8.0 release
95c8661 Switch server create to block_device_mapping_v2
26d50be Support "--no-property" option in volume snapshot set
4cb5626 Adds domain specification for SetUser
c46f9dc Add options to "server list" command
d780e9e Fix Identity functional tests to not require OS_AUTH_URL
42ac82b change assert_show_fields to not fail on new fields
5ecb353 Add server_boot_from_volume() test
365d839 Fix 'mapping set' return value
9ada3b5 Add server test for image and flavor lookups
b69b539 Updated from global requirements
98f803e Use image client for images instead of compute
80c6202 Update container format choices
5cf77bb Handle 403 error on creating trust
ab88573 SDK refactor: Prepare security group commands
5caac0e Add meter rule to OSC
274687d Update devref about "--no-property"
4d9da2c Fix OSC networking commands help errors
fd0ac81 Functional tests debug support
4a8e7db Fix functional test for creating subnet
61a22a2 Remove the fixed set of choices for network_type
ab1f637 Add plugin adoption for trove
89d9449 Error in the return of command server show, create
f353253 Error in the return of command 'volume qos create'
dc3b835 Functional test for volume snapshot
2476a26 Update functional test for aggregate.
603543b Updated from global requirements
0340275 Fix quota set command error for SDK > 0.9.10
07ade22 functional test for volume
8e277c6 Fix port command for SDK >0.9.10
27e0be0 Add --project and --project-domain option to "volume snapshot list"
e0813cc Functional tests - port
780ce07 To support '--project' and '--project-domain' options
8bcfb82 Add 'allowed address pairs' option to 'port create/set/unset'
82b96f5 TrivialFix in helpMessage for readability
3544b4d Fill the missing colon


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

openstackclient/common/clientmanager.py            |  27 +-
openstackclient/common/quota.py                    |  33 ++-
openstackclient/compute/v2/server.py               | 118 ++++++--
openstackclient/identity/v3/mapping.py             |   1 -
openstackclient/identity/v3/token.py               |   2 +-
openstackclient/identity/v3/trust.py               |  12 +-
openstackclient/identity/v3/user.py                |  23 +-
openstackclient/image/v1/image.py                  |  16 +-
openstackclient/image/v2/image.py                  |  14 +-
openstackclient/network/v2/network.py              |   4 +-
openstackclient/network/v2/network_meter_rule.py   | 203 +++++++++++++
openstackclient/network/v2/port.py                 | 105 ++++++-
openstackclient/network/v2/security_group.py       |  33 +--
.../functional/network/v2/test_floating_ip.py      |  39 ++-
.../network/v2/test_network_meter_rule.py          | 108 +++++++
.../unit/network/v2/test_network_meter_rule.py     | 321 +++++++++++++++++++++
openstackclient/volume/v1/volume_snapshot.py       |  20 ++
openstackclient/volume/v2/qos_specs.py             |  11 +-
openstackclient/volume/v2/volume_snapshot.py       |  42 ++-
...p-neutron-client-metering-6f8f9527c2a797fd.yaml |   7 +
.../notes/bug-1612136-6111b944569b9351.yaml        |   7 +
.../notes/bug-1647242-fdc39e564372857b.yaml        |   6 +
.../notes/bug-1647406-c936581034a1b6e4.yaml        |  16 +
.../notes/bug-1648087-21dfb7250abfdbe9.yaml        |   6 +
.../notes/bug-1650026-0ce6a77e69d24424.yaml        |   6 +
.../notes/bug-1655445-96c787e3a51226e0.yaml        |   6 +
.../notes/bug-1656767-36a3d4b9fac335c9.yaml        |   5 +
.../notes/bug-1658147-9de9ae222f9db9ae.yaml        |   6 +
.../notes/bug-1658582-80a76f6b0af0ca12.yaml        |   6 +
...operty-in-volume-snapshot-0af3fcb31a3cfc2b.yaml |   5 +
...ume_snapshot_list_project-e7dcc07f98d44182.yaml |   6 +
requirements.txt                                   |   6 +-
setup.cfg                                          |  15 +-
test-requirements.txt                              |   5 +-
tox.ini                                            |   5 +-
70 files changed, 2900 insertions(+), 478 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 2608636..422f782 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -9,2 +9,2 @@ cliff>=2.3.0 # Apache-2.0
-keystoneauth1>=2.16.0 # Apache-2.0
-openstacksdk!=0.9.11,!=0.9.12,>=0.9.10 # Apache-2.0
+keystoneauth1>=2.18.0 # Apache-2.0
+openstacksdk>=0.9.13 # Apache-2.0
@@ -16 +16 @@ python-keystoneclient>=3.8.0 # Apache-2.0
-python-novaclient!=2.33.0,>=2.29.0 # Apache-2.0
+python-novaclient!=7.0.0,>=6.0.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index b53d08d..707df3c 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -31 +31 @@ python-heatclient>=1.6.1 # Apache-2.0
-python-ironicclient>=1.9.0 # Apache-2.0
+python-ironicclient>=1.11.0 # Apache-2.0
@@ -36 +36 @@ python-neutronclient>=5.1.0 # Apache-2.0
-python-saharaclient>=0.18.0 # Apache-2.0
+python-saharaclient>=1.1.0 # Apache-2.0
@@ -38,0 +39 @@ python-senlinclient>=1.1.0 # Apache-2.0
+python-troveclient>=2.2.0 # Apache-2.0





More information about the Release-announce mailing list