[release-announce] [nova] python-novaclient 9.0.0 (pike)

no-reply at openstack.org no-reply at openstack.org
Wed Jun 7 16:10:55 UTC 2017


We are overjoyed to announce the release of:

python-novaclient 9.0.0: Client library for OpenStack Compute API

This release is part of the pike release series.

The source is available from:

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

Download the package from:

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

Please report issues through launchpad:

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

For more details, please see below.

9.0.0
^^^^^


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

* novaclient now adds information about itself to the keystoneauth
  user-agent. Adding information about wrapping libraries or consuming
  applications can be found at https://docs.openstack.org/developer
  /python-novaclient/api.html

* A new "global_request_id" parameter is accepted on the client
  constructor, which will then pass "X-OpenStack-Request-ID" on all
  requests made.

* A new "--instance-uuid" option is added to "nova migration-list"
  command. This is used to query the migration history of a specific
  server by the migration-list command. Please use "nova server-
  migration-list" command for querying in-progress migrations of a
  specific server.

* Support was added for microversion 2.45. This changes how the
  "createImage" and "createBackup" server action APIs return the
  created snapshot image ID in the response. With microversion 2.45
  and later, the image ID is return in a json dict response body with
  an "image_id" key and uuid value. The old "Location" response header
  is no longer returned in microversion 2.45 or later.

  There are no changes to the "nova image-create" CLI. However, the
  "nova backup" CLI will print out the backup snapshot image
  information with microversion 2.45 or greater now.


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

* The following deprecated options have been removed:

  * "--tenant" (from "flavor access list")

  * "--cell_name" (from "migration list")

  * "--volume-service-name" (global option)

* remove version 1.1 API support as we only support v2 and v2.1 API
  in nova side now.


Deprecation Notes
*****************

* The "nova x509-create-cert" and "nova x509-get-root-cert" commands
  and "novaclient.v2.certs" API binding are now deprecated and will be
  removed in the first major release after the Nova server 16.0.0 Pike
  release.

* The os-cloudpipe API has been removed from Nova.  As a result, the
  "nova cloudpipe-list", "nova cloudpipe-create", and "nova cloudpipe-
  configure" commands and the "novaclient.v2.cloudpipe" API bindings
  are now deprecated, and will be removed in the first major release
  after the Nova server 16.0.0 Pike release.

* The following CLIs and their backing API bindings are deprecated
  and capped at microversion 2.43:

  * "nova host-describe" - superseded by "nova hypervisor-show"

  * "nova host-list" - superseded by "nova hypervisor-list"

  * "nova host-update" - superseded by "nova service-enable" and
    "nova service-disable"

  * "nova host-action" - no alternative by design

  The CLIs and API bindings will be removed in the first major release
  after Nova 16.0.0 Pike is released.

* The following CLIs and their backing API bindings are deprecated
  and capped at microversion 2.44:

  * "nova add-fixed-ip": use python-neutronclient or openstacksdk

  * "nova remove-fixed-ip": use python-neutronclient or openstacksdk

  * "nova floating-ip-associate": use python-neutronclient or
    openstacksdk

  * "nova floating-ip-disassociate": use python-neutronclient or
    openstacksdk

  * "nova virtual-interface-list": there is no replacement as this
    is only implemented for nova-network which is deprecated

  The CLIs and API bindings will be removed in the first major release
  after Nova 16.0.0 Pike is released.


Bug Fixes
*********

* Microversion 2.42 is related to the following bug.

  * https://bugs.launchpad.net/nova/+bug/1658571

  The following options have been changed as of Microversion 2.42.

  * Remove "tag" attribute in "--block-device" option on the server
    boot (nova boot) between microversion 2.33 and 2.41.

  * Remove "tag" attribute in "--nic" option on the server boot
    (nova boot) between microversion 2.37 and 2.41.

Changes in python-novaclient 8.0.0..9.0.0
-----------------------------------------

4b0c5e4 Updated from global requirements
a8d4cec Prevent 2.32 release note from showing up in 9.0.0 release notes
c055f15 Skip rebuild functional test due to persistent vif plugging timeout
2cb8d85 2.46: match nova API version
d439ec8 Help message for aggregate-update is ambiguous
9a27201 client.logger.warning wrongly used in migrations
e55b578 Updated from global requirements
d25502c Have python-novaclient support global_request_id
8f6c216 Updated from global requirements
3a76240 Remove various deprecated options
0191fa2 Updated from global requirements
04ee0e1 Updated from global requirements
428742b Fix help message and description for volume-update
e5f1f7f Fix warning for deprecated cert commands
0d92534 Mark cloudpipe deprecated in novaclient
aa7f35d Fix a typo
3e9a98b Updated from global requirements
8cc95aa Updated from global requirements
d5ecc50 Remove 1.1 extension comment
603f0ea 2.45: createImage/createBackup image_id is in response body
e303cf1 2.44: Deprecate multinic/floatingIP actions and os-virtual-interfaces
ea3b9f7 2.43: Deprecate novaclient /os-hosts usage
59f8858 Add `instance-uuid` flag to the migration-list
ff1eff1 Remove direct dependency on requests
4b88633 Microversion 2.42 - Fix tag attribute disappearing
ac25ae6 doc: Remove cruft from conf.py
3512fca Explicitly set 'builders' option
92665db Add novaclient client_name and client_version to user-agent
6182a01 Updated from global requirements
4d956d0 Fix cinder volume leakage
878c77a Updated from global requirements
b6aea66 Deprecate certs commands and APIs
9486890 Revise `nova list` description
9ca9ae6 Update reno for removed network CLIs
773aea2 Explicitly specify arguments of server_groups creation
4c18c8b Remove version 1.1 support


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

novaclient/__init__.py                             |   2 +-
novaclient/api_versions.py                         |   9 -
novaclient/client.py                               |  10 +-
novaclient/shell.py                                |   9 -
.../functional/v2/legacy/test_readonly_nova.py     |   3 -
novaclient/v2/availability_zones.py                |   2 +-
novaclient/v2/certs.py                             |  19 +-
novaclient/v2/client.py                            |   6 +-
novaclient/v2/cloudpipe.py                         |  33 ++-
novaclient/v2/hosts.py                             |  31 +-
novaclient/v2/hypervisors.py                       |   2 +-
novaclient/v2/keypairs.py                          |   2 +-
novaclient/v2/migrations.py                        |  12 +-
novaclient/v2/server_groups.py                     |   9 +-
novaclient/v2/servers.py                           |  41 ++-
novaclient/v2/shell.py                             | 313 +++++++++++++++++----
novaclient/v2/virtual_interfaces.py                |  13 +-
novaclient/v2/volumes.py                           |  22 +-
.../add-user-agent-string-db77210dfd3ec671.yaml    |   6 +
.../notes/deprecate-certs-1558d8e3b7888938.yaml    |   7 +
.../deprecate-cloudpipe-670202797fdf97b6.yaml      |   8 +
...ag-attribute-disappearing-25483a80f548ef35.yaml |  13 +
.../notes/global_request_id-26f4e4301f84d403.yaml  |   6 +
...id-flag-in-migration-list-5d2fed7657d3def5.yaml |   7 +
.../notes/microversion-v2_32-7947430cc2415597.yaml |  25 --
.../notes/microversion-v2_43-76db2ac463b431e4.yaml |  14 +
.../notes/microversion-v2_44-d60c8834e436ad3d.yaml |  16 ++
.../notes/microversion-v2_45-1bfcae3914280534.yaml |  13 +
.../pike-rm-deprecated-net-272aeb62b329a5bc.yaml   |   4 +-
...eprecated-option-in-9.0.0-bc76629d28f1d4c4.yaml |   8 +
.../notes/remove_api_v_1_1-88b3f18ce1423b46.yaml   |   5 +
requirements.txt                                   |   9 +-
setup.cfg                                          |   1 +
test-requirements.txt                              |  14 +-
50 files changed, 1021 insertions(+), 378 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 76a0ba1..3dc8ecf 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,2 +4,2 @@
-pbr>=2.0.0 # Apache-2.0
-keystoneauth1>=2.18.0 # Apache-2.0
+pbr!=2.1.0,>=2.0.0 # Apache-2.0
+keystoneauth1>=2.20.0 # Apache-2.0
@@ -7 +7 @@ iso8601>=0.1.11 # MIT
-oslo.i18n>=2.1.0 # Apache-2.0
+oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0
@@ -11 +10,0 @@ PrettyTable<0.8,>=0.7.1 # BSD
-requests!=2.12.2,!=2.13.0,>=2.10.0 # Apache-2.0
@@ -14 +13 @@ six>=1.9.0 # MIT
-Babel>=2.3.4 # BSD
+Babel!=2.4.0,>=2.3.4 # BSD
diff --git a/test-requirements.txt b/test-requirements.txt
index 7d4b139..847b496 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -7 +7 @@ bandit>=1.1.0 # Apache-2.0
-coverage>=4.0 # Apache-2.0
+coverage!=4.4,>=4.0 # Apache-2.0
@@ -12,3 +12,3 @@ python-keystoneclient>=3.8.0 # Apache-2.0
-python-cinderclient>=2.0.1 # Apache-2.0
-python-glanceclient>=2.5.0 # Apache-2.0
-python-neutronclient>=5.1.0 # Apache-2.0
+python-cinderclient>=2.1.0 # Apache-2.0
+python-glanceclient>=2.7.0 # Apache-2.0
+python-neutronclient>=6.3.0 # Apache-2.0
@@ -16,2 +16,2 @@ requests-mock>=1.1 # Apache-2.0
-sphinx>=1.5.1 # BSD
-os-client-config>=1.22.0 # Apache-2.0
+sphinx!=1.6.1,>=1.5.1 # BSD
+os-client-config>=1.27.0 # Apache-2.0
@@ -26 +26 @@ tempest>=14.0.0 # Apache-2.0
-reno>=1.8.0 # Apache-2.0
+reno!=2.3.1,>=1.8.0 # Apache-2.0





More information about the Release-announce mailing list