[openstack-announce] [new][openstackclient] python-openstackclient 3.3.0 release (ocata)

no-reply at openstack.org no-reply at openstack.org
Mon Oct 10 13:35:02 UTC 2016


We are content to announce the release of:

python-openstackclient 3.3.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.3.0
^^^^^


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

* Ports can now be listed as per the networks they are connected to
  by using the "--network" option with the "port list" CLI. [
  Blueprint network-commands-options
  (https://blueprints.launchpad.net/python- openstackclient/+spec
  /network-commands-options)]

* Allow "--no-fixed-ip" and "--no-binding-profile" options to "port
  set" command to be specified when "--fixed-ip" and "--binding-
  profile" are present.  This allows the list of fixed IPs and binding
  profiles to be cleared and replaced with new values in a single
  command. [Blueprint  allow-overwrite-set-options
  (https://blueprints.launchpad.net/python-openstackclient/+spec
  /allow-overwrite-set-options)]

* Add "--no-allocation-pool" and "--no-host-route" options to
  "subnet set" command that clears the respective values in the
  specified subnet.  This allows new values to replace the entire list
  of existing values in a single command for allocation pools and host
  routes. [Blueprint  allow-overwrite-set-options
  (https://blueprints.launchpad.net/python-openstackclient/+spec
  /allow-overwrite-set-options)]

* Add "volume transfer request create", "volume transfer request
  delete", "volume transfer request show" and "volume transfer request
  accept" commands in volume v1 and v2. [Blueprint cinder-command-
  support (https://blueprints.launchpad.net/python-
  openstackclient/+spec/cinder-command-support)]

* Add "--description" option to "network create" and "network set"
  commands. [Blueprint network-commands-options
  (https://blueprints.launchpad.net/python-openstackclient/+spec
  /network-commands-options)]

* Add "--description" option to "floating ip create" command.
  [Blueprint :oscbp:`neutron-client-descriptions`]

* Add "--description" option to "router set" and "router create"
  commands. [Blueprint :oscbp:`network-commands-options`]

* Add "network segment create", "network segment delete" and
  "network segment set" commands. In addition, the "network segment
  list" and "network segment show" commands are no longer beta
  commands and the "--network-segment" option on the "subnet create"
  command is no longer a beta command option. [Blueprint routed-
  networks (https://blueprints.launchpad.net/neutron/+spec/routed-
  networks)]

* Add "--no-property" option to "aggregate set" command. This allows
  the property list to be cleared and replaced with new values in a
  single command. [Blueprint support-no-property-in-aggregate
  (https://blueprints.launchpad.net/python-openstackclient/+spec
  /support-no-property-in-aggregate)]

* Supported to fetch network project default quota with command
  "quota show --default". [Bug 1204956
  (https://bugs.launchpad.net/neutron/+bug/1204956)]

* Add "--internal", "--name", "--project" and "--project-domain",
  "-- enable" and "--disable", "--share" and "--no share", "--status"
  options to the "network list" command. [Bug 1578819
  (https://bugs.launchpad.net/bugs/1578819)]

* Add "--name" option to command "object create" for uploading a
  file and renaming it. [Bug 1607972
  (https://bugs.launchpad.net/bugs/1607972)]

* Support to update "per_volume_gigabytes", "backup_gigabytes" and
  "backups" quota in "quota set" command. [Bug 1609767
  (https://bugs.launchpad.net/python-openstackclient/+bug/1609767)]

* Add "--ha" option to "router create" command. [Bug 1610161
  (https://bugs.launchpad.net/bugs/1610161)]

* Add "--project", "--project-domain", "--network", "--gateway", "--
  name" and "--subnet-range" options to the "subnet list"  command.
  [Bug 1610883 (https://bugs.launchpad.net/bugs/1610883)]

* Add "--limit" option to "volume list" command in volume v1, add
  "-- limit" and "--marker" options to "volume list" command in volume
  v2. [Bug 1612484 (https://bugs.launchpad.net/bugs/1612484)]

* Add "volume backup set" commands in volume v2. [Bug 1613261
  (https://bugs.launchpad.net/python-openstackclient/+bug/1613261)]

* Add "volume service set" commands in volume v1 and v2. [Bug
  1613597 (https://bugs.launchpad.net/python-
  openstackclient/+bug/1613597)]

* Add "--share", "--no-share", "--project", "--project-domain", "--
  default", "--no-default", "--name" and "--address-scope" options to
  the "subnet pool list" command. [Bug 1613926
  (https://bugs.launchpad.net/bugs/1613926)]

* Add "consistency group list" command in volume v2. [Bug 1613964
  (https://bugs.launchpad.net/python-openstackclient/+bug/1613964)]

* Support listing the specified server's ports by new option "--
  server" of "port list" command. [Bug 1614385
  (https://bugs.launchpad.net/python-openstackclient/+bug/1614385)]

* Adds "--description" option to "subnet create" and "subnet set"
  commands. [Bug 1614458 (https://bugs.launchpad.net/bugs/1614458)]

* Adds "--description" option to "subnet pool create" and "subnet
  pool set" commands. [Bug 1614823
  (https://bugs.launchpad.net/bugs/1614823)]

* Add "--source-replicated", "--consistency-group", "--hint" and "--
  multi-attach" options to "volume create" command in volume v2. Make
  "--size" optional when "--snapshot", "--source" or "source-
  replicated" options are present. [Bug 1627913
  (https://bugs.launchpad.net/python-openstackclient/+bug/1627913)]

* Add "--service-type" option to the "subnet create", "subnet set",
  "subnet unset", and "subnet list" commands. [ Blueprint service-
  subnets (https://blueprints.launchpad.net/neutron/+spec/service-
  subnets)]


Security Issues
***************

* Mask passwords when "--debug" or "-vv" options are used. [Bug
  1630822 (https://bugs.launchpad.net/python-
  openstackclient/+bug/1630822)]


Bug Fixes
*********

* Add "--bootable" and "--non-bootable" options to "os volume set"
  command to mark volume as bootable or non-bootable. [Bug 1535704
  (https://bugs.launchpad.net/bugs/1535704)]

* Update novaclient "DEFAULT_API_VERSION" from 2.0 to 2.1 [Bug
  1588171 (https://bugs.launchpad.net/bugs/1588171)]

* Fix the "--class" option in "quota set" and "quota show" commands
  to not perform a project lookup in Identity. [Bug 1609233
  (https://bugs.launchpad.net/bugs/1609233)]

* Do not show "os-volume-type-access:is_public" property which is
  the same as "is_public" property of volume type object. [Bug 1620922
  (https://bugs.launchpad.net/python-openstackclient/+bug/1620922)]

* Fix "--long" option in "router list" command for deployments
  without the "router_availability_zone" extension is not enabled.
  [Bug 1622565 (https://bugs.launchpad.net/bugs/1622565)]

* Fix missing "_username" attribute error in "server ssh" command.
  [Bug 1624085 (https://bugs.launchpad.net/python-
  openstackclient/+bug/1624085)]

Changes in python-openstackclient 3.2.0..3.3.0
----------------------------------------------

762f2f2 More 3.3.0 release notes
42f9317 Improve output of supported API versions
d695e3b Enable release notes translation
55c4290 Updated from global requirements
cd1a412 Mask passwords in debug logs for auth_config_hook
bfeecd5 Updated from global requirements
ea7f28f Refactor qos spec unit test in volume v1
e2fc436 Add --ha option to os router create command
eadbeb3 Updated from global requirements
d0a0ff7 Document `openstack complete` help and usage
0ae68f5 Add example in the doc when using Identity v3
f41e27e Updated from global requirements
c9fd35a Update default nova api version to 2.1
256ec66 Remove beta label for network segment resource
c9e0c01 Add and modify options for "volume create" command
8d63b8b Implement "consistency group list" command
7d2d9fd Updated from global requirements
3e97491 Replace 'MagicMock' with 'Mock'
78312ca Add option "--name" to command "openstack object create"
9912fdd Add default limit for container/object
34eba23 Add command option parameter in console-url.rst
5cc3efb Updated from global requirements
3ebc752 Add warning message for --state option of set command in volume
4fd00f0 Align '=' for developing.rst and newton.rst
567ba7b Updated from global requirements
f2f12d9 remove square backet to required parameter
50ad04d Remove reference to CLI Ref in osc doc
084e4fb Add option markup in osc doc
02b6d32 Fix typo in osc doc
52eaec1 Add functional test for snapshot in volume v1
6371556 Support "--no" option in aggregate set
2731fc3 Updated from global requirements
0981931 Add --description to Neutron commands
df8ef60 Add unit tests for backup commands in volume v1
2e5d6a6 Use assertGreater replace assertTrue
fd876e4 Fix unset commands to pass normally when nothing specified
07dfd05 Add square bracket to option parameter
41f7de2 Updated from global requirements
3ef7e29 Implement "volume transfer request show/accept" command
1d5297c Align '=' for image.rst
ddf8442 Add "volume backup set" command in volume v2
9c473f4 Add filtering options to os network list command
274e400 Updated from global requirements
bba5c90 Fix "volume unset" command pass normally when nothing specified
47b7826 Use correct router add/remove interface methods
4a8b802 Refactor volume unit test with FakeVolume class in volume v1
b30a7b7 replace metavar "volume-id" with "volume" to avoid ambiguity
7f12b74 Overwrite/Clear support for subnets
b38be94 Introduce overwrite functionality in ``osc port set``
6f04627 Remove unnecessary setUp
4265002 Add 'description' option to os subnet (pool) create/set cmd
88be7dd Add --description to Create/Set Network
5ec435e Clean up docs and notes for 3.3.0 release
554607e Provide support to list ports by network
1a6ae06 Add filtering options to os subnet pool list command
d44782b Add filtering options to os subnet list command
91c4509 Fix quota-update issue in LBaaS
d3e9361 Fix Quota Support for HMs
e6b09ee Correct login name deduction in SshServer
e04e389 router list if availability_zone ext not enabled
6a914d0 Support mark volume as bootable in volume set
7cba0ed Doc, help and message updates for port unset
bc222e9 Replace 'MagicMock' with 'Mock'
96a8ed4 Support listing specified server's ports
2a01ede Fix openstack quota set/show --class not work
6f326ac Support fetching network project default quota
8d59b31 Add functional tests for unset multiple volume type props
6fba716 Set quota "per_volume_gigabytes", "backup_gigabytes" and "backups"
4e71e9d Unit tests of quota command refactor
1a78c76 Trivial: Rename ListTransferRequests to ListTransferRequest
98bafda Display hypervisor information without uptime
d6f99b7 Fix regular expression for uptime in hypervisor show
9966412 Add unit test for volume type in volume v1
d2273ec Implement "volume transfer request delete" command
6f4acc4 Implement "volume transfer request create" command
10e665a Error handling of multi REST API calls for "snapshot set" command
6986a32 Add "--limit" and "--marker" options to "volume list" command
af81a92 Support error handling for delete commands in volume v1
cb6c11b Multi REST API calls error handling of "volume unset" command
6adea68 remove the old post_test_hook
60e815a remove duplicate unit test
676a0e9 unwedge the gate
4f23a77 Add network segment create, delete and set support
c14d3ef move all functional tests to tests module
39839de move unit tests to new "unit" test module
14dbfe4 Defer auth prompting until it is actually needed
d1de0ba standardize release note page ordering
5231ade Do not show "os-volume-type-access:is_public" property of volume type
eba1bc0 better functional test collection
24c8b94 format token expires time to prevent json loading datetime data
3b75c9a Update reno for stable/newton
1626b63 Use assertIn(A, B) instead of assertTrue(A in B )
45d3e67 Updated from global requirements
ca15cd4 Rearrange integration tests
a24d6ba Updated from global requirements
110a62f Add importing file to import warnings
8f07fec Clean up FakeClient classes in volume fakes
cf9ad08 Add Subnet service-types to subnets
81431d2 Add "volume service set" command


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

.testr.conf                                        |    2 +-
.../command-objects/volume-transfer-request.rst    |   76 +-
functional/__init__.py                             |    0
functional/common/__init__.py                      |    0
functional/common/test.py                          |  120 --
openstackclient/api/auth.py                        |    5 +-
openstackclient/api/object_store_v1.py             |   11 +-
openstackclient/common/client_config.py            |   34 +-
openstackclient/common/clientmanager.py            |   20 +
openstackclient/common/command.py                  |    5 +-
openstackclient/common/exceptions.py               |    5 +-
openstackclient/common/logs.py                     |    5 +-
openstackclient/common/parseractions.py            |    5 +-
openstackclient/common/quota.py                    |   57 +-
openstackclient/common/timing.py                   |    5 +-
openstackclient/common/utils.py                    |    5 +-
openstackclient/compute/client.py                  |    3 +-
openstackclient/compute/v2/aggregate.py            |   33 +-
openstackclient/compute/v2/hypervisor.py           |   28 +-
openstackclient/compute/v2/server.py               |    2 +-
openstackclient/identity/v2_0/token.py             |    4 +-
openstackclient/identity/v3/token.py               |    4 +-
openstackclient/network/v2/floating_ip.py          |    8 +
openstackclient/network/v2/network.py              |   97 +-
openstackclient/network/v2/network_segment.py      |  161 +-
openstackclient/network/v2/port.py                 |   56 +-
openstackclient/network/v2/router.py               |   40 +-
openstackclient/network/v2/subnet.py               |  203 ++-
openstackclient/network/v2/subnet_pool.py          |  116 +-
openstackclient/object/v1/container.py             |   11 +
openstackclient/object/v1/object.py                |   24 +-
openstackclient/shell.py                           |   44 +-
.../functional/common/test_availability_zone.py    |   25 +
.../functional/compute/v2/test_server_group.py     |   46 +
.../functional/identity/v2/test_ec2_credentials.py |   48 +
.../identity/v3/test_service_provider.py           |   61 +
.../functional/network/v2/test_address_scope.py    |   49 +
.../functional/network/v2/test_floating_ip.py      |   58 +
.../functional/network/v2/test_ip_availability.py  |   53 +
.../functional/network/v2/test_network_agent.py    |   41 +
.../functional/network/v2/test_network_rbac.py     |   69 +
.../functional/network/v2/test_network_segment.py  |   97 +
.../functional/network/v2/test_security_group.py   |   60 +
.../network/v2/test_security_group_rule.py         |   67 +
.../functional/network/v2/test_subnet_pool.py      |   55 +
.../functional/volume/v1/test_transfer_request.py  |   91 +
.../functional/volume/v2/test_transfer_request.py  |   91 +
.../unit/identity/v2_0/test_role_assignment.py     |  271 +++
.../unit/identity/v3/test_identity_provider.py     |  593 +++++++
.../unit/identity/v3/test_service_provider.py      |  408 +++++
.../unit/network/v2/test_security_group_rule.py    | 1177 +++++++++++++
openstackclient/volume/v1/backup.py                |   26 +-
openstackclient/volume/v1/qos_specs.py             |   27 +-
openstackclient/volume/v1/service.py               |   56 +
openstackclient/volume/v1/snapshot.py              |   49 +-
openstackclient/volume/v1/volume.py                |   91 +-
.../volume/v1/volume_transfer_request.py           |  126 +-
openstackclient/volume/v1/volume_type.py           |    8 +-
openstackclient/volume/v2/backup.py                |   62 +
openstackclient/volume/v2/consistency_group.py     |   57 +
openstackclient/volume/v2/service.py               |   56 +
openstackclient/volume/v2/snapshot.py              |   42 +-
openstackclient/volume/v2/volume.py                |  132 +-
.../volume/v2/volume_transfer_request.py           |  124 +-
openstackclient/volume/v2/volume_type.py           |    2 +
post_test_hook.sh                                  |   20 -
...work-list-option-to-ports-9d101344ddeb3e64.yaml |    7 +
...low-overwrite-set-options-190a9c6904d53dab.yaml |   16 +
...bp-cinder-command-support-cc8708c4395ce467.yaml |    6 +
...network-command-options-2-e7b13a6a09f5d21e.yaml |    6 +
...utron-client-descriptions-a80902b4295843cf.yaml |    9 +
.../notes/bp-routed-networks-3b502faa5cd96807.yaml |    8 +
...-no-property-in-aggregate-b74a42e00a65d14a.yaml |    7 +
.../notes/bug-1204956-af47c7f34ecc19c3.yaml        |    5 +
.../notes/bug-1535704-d6f013bfa22ab668.yaml        |    6 +
.../notes/bug-1578819-d1efccfefb18356d.yaml        |    7 +
.../notes/bug-1588171-61214d0ea482988c.yaml        |    5 +
.../notes/bug-1602073-5deb58deeafbc8be.yaml        |    4 +
.../notes/bug-1607972-a910a9fbdb81da57.yaml        |    5 +
.../notes/bug-1609233-90b2ddf8d941050e.yaml        |    6 +
.../notes/bug-1609767-0602edc4408c2dc6.yaml        |    5 +
.../notes/bug-1610161-7c34c7b735701bd4.yaml        |    5 +
.../notes/bug-1610883-38929f6fc2eefc9a.yaml        |    6 +
.../notes/bug-1612484-e8605ad8966a455e.yaml        |    7 +
.../notes/bug-1613261-290a64080fead6c0.yaml        |    4 +
.../notes/bug-1613597-b1545148b0755e6f.yaml        |    4 +
.../notes/bug-1613926-2d0e405831c0b5a9.yaml        |    7 +
.../notes/bug-1613964-e5760f4825f1e043.yaml        |    4 +
.../notes/bug-1614385-460b5034ba372463.yaml        |    5 +
.../notes/bug-1614458-c42be5738f447db8.yaml        |    6 +
.../notes/bug-1614823-e89080342f25f2c0.yaml        |    6 +
.../notes/bug-1620922-7f27942dc00f7108.yaml        |    5 +
.../notes/bug-1622565-2e715aff8b054401.yaml        |    6 +
.../notes/bug-1624085-7cf296649277f405.yaml        |    4 +
.../notes/bug-1627913-2adf4182977e5926.yaml        |    8 +
...22-mask-password-on-debug-20dcdf1c54e84fa1.yaml |    5 +
.../notes/bug_1602073-5deb58deeafbc8be.yaml        |    4 -
.../subnet-service-type-8d9c414732e474a4.yaml      |    6 +
releasenotes/source/conf.py                        |    3 +
releasenotes/source/index.rst                      |    2 +
releasenotes/source/newton.rst                     |    6 +
requirements.txt                                   |    6 +-
setup.cfg                                          |   20 +-
test-requirements.txt                              |   16 +-
tox.ini                                            |    2 +-
520 files changed, 56093 insertions(+), 48682 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index f065346..ac7323f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8 +8 @@ Babel>=2.3.4 # BSD
-cliff!=1.16.0,!=1.17.0,>=1.15.0 # Apache-2.0
+cliff>=2.2.0 # Apache-2.0
@@ -10 +10 @@ keystoneauth1>=2.10.0 # Apache-2.0
-openstacksdk>=0.9.4 # Apache-2.0
+openstacksdk>=0.9.7 # Apache-2.0
@@ -14 +14 @@ oslo.utils>=3.16.0 # Apache-2.0
-python-glanceclient!=2.4.0,>=2.3.0 # Apache-2.0
+python-glanceclient>=2.5.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 0ff0e22..d799f5a 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -9 +9 @@ mock>=2.0 # BSD
-oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
+oslosphinx>=4.7.0 # Apache-2.0
@@ -13,3 +13,3 @@ requests>=2.10.0 # Apache-2.0
-requests-mock>=1.0 # Apache-2.0
-sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
-stevedore>=1.16.0 # Apache-2.0
+requests-mock>=1.1 # Apache-2.0
+sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
+stevedore>=1.17.1 # Apache-2.0
@@ -17 +17 @@ os-client-config!=1.19.0,!=1.19.1,!=1.20.0,!=1.20.1,!=1.21.0,>=1.13.1 # Apache-2
-os-testr>=0.7.0 # Apache-2.0
+os-testr>=0.8.0 # Apache-2.0
@@ -30 +30 @@ python-designateclient>=1.5.0 # Apache-2.0
-python-heatclient>=1.4.0 # Apache-2.0
+python-heatclient>=1.5.0 # Apache-2.0
@@ -36,2 +36,2 @@ python-neutronclient>=5.1.0 # Apache-2.0
-python-saharaclient>=0.16.0 # Apache-2.0
-python-searchlightclient>=0.2.0 #Apache-2.0
+python-saharaclient>=0.18.0 # Apache-2.0
+python-searchlightclient>=1.0.0 #Apache-2.0





More information about the OpenStack-announce mailing list