[openstack-announce] [release][nova] python-novaclient 3.3.0 release (mitaka)

no-reply at openstack.org no-reply at openstack.org
Wed Mar 2 18:15:59 UTC 2016


We are stoked to announce the release of:

python-novaclient 3.3.0: Client library for OpenStack Compute API

This release is part of the mitaka release series.

With source available at:

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

With package available at:

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

Please report issues through launchpad:

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

For more details, please see below.

3.3.0
^^^^^

Methods in manager classes and resource classes return wrapper classes
that wrap values returned originally. For example, a wrapper class for
list, a wrapper class for dict, a wrapper class for str and so on. The
wrapper classes have a 'request_ids' property for request IDs returned
from Nova (nova-api). So the caller can get the Nova's request IDs,
then output them to logs with its own request ID. The function to
output them to the logs will be implemented in other projects (cinder,
heat, etc.).


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

* Methods in manager classes and resource classes return wrapper
  classes that wrap values returned originally. For example, a wrapper
  class for list, a wrapper class for dict, a wrapper class for str
  and so on. The wrapper classes have a 'request_ids' property for
  request IDs returned from Nova (nova-api). So the caller can get the
  Nova's request IDs, then output them to logs with its own request
  ID. The function to output them to the logs will be implemented in
  other projects (cinder, heat, etc.).


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

* In case that methods return a response object and body originally
  and body is None, the methods return the wrapper class for tuple as
  'body' instead of the wrapper class for None. The wrapper class for
  None has not been added.

Changes in python-novaclient 3.2.0..3.3.0
-----------------------------------------

ae59828 [microversion] Bump to 2.25
77e50cc Support for abort an ongoing live migration
e0c7d2c Add two server-migration commands and bump migration-list command
5c1acb9 Use isinstance instead of type
62c7630 Support for forcing live migration to complete
e43c66a Adds missing internationalization for help message
cd88097 [microversions] Enable 2.21
ca5b06f [microversions] fix help msg for versioned args
f55e426 Use assertIsNone instead of assertEqual(None, ***)
f5a25fe Functional tests for trigger-crash-dump (microversion 2.17)
18a64d3 Fix string interpolation at logging call
20682bd Updated from global requirements
c18ccb1 Add a way to discover only contrib extensions
083ce7e [functional] Move code for boot vm to base testcase
f279b08 [microversions] Enable 2.20
55a97ea [microversions] Turn off check for header in response
1d1e439 [microversions] Add support for 2.19
8a2ed13 Allow to specify a network for functional tests
f535e69 Provide user with coherent interface to get request_ids
ecaca22 [microversions] Skip microversion 2.18
e378d32 Fix running functional tests against deployment with insecure SSL
6634c72 Updated from global requirements
0d0749d Make _poll_for_status more user-friendly
ba39fd3 Fix omission of request_ids returned to user
2131f77 Remove unnecessary filter from Resource's __repr__() function
0105fd1 Use # noqa to ignore one line but not whole file
96c5c93 Add release notes for return-request-id-to-caller
e808f32 Update translation setup
209f172 Add return-request-id-to-caller function(5/5)
9f10d7d Add return-request-id-to-caller function(4/5)
0414bab Add return-request-id-to-caller function(3/5)
15d7b40 Support to boot a VM with network name
f194a5a Add return-request-id-to-caller function(2/5)
f9aa277 Add return-request-id-to-caller function(1/5)
2220c56 Add wrapper classes for return-request-id-to-caller
6cbb225 [microversions] Add support for 2.17
6791a8b Allow restore command with name param
ca4e838 Updated from global requirements
a54a1d1 [microversions] Extend shell with 2.12
60b05f7 Remove argparse from requirements
48605fc Added support for Nova microversion 2.16
20c65aa Functional tests for os-services
f6e0dcd Functional tests for flavors with public and non-public access
0d99c69 Updated from global requirements
e7711cd Updated from global requirements
3346dc8 Updated from global requirements
1adad69 Fix URLs for CLI Reference and API
426f6af Add functional tests launcher for py3 env
7cc26ee [microversions] Add support for 2.15
54b625a Updated from global requirements
14f6364 Test: Clean v2 client userwarning
2ac32e0 Fix broken link in documentation
fa3a8ed Fix W503 line break before binary operator
08c4b74 Add a mechanism to call out deprecated options
ff98011 Updated from global requirements
6d023a6 Replace assertTrue(isinstance()) by optimal assert
5a3956c [microversions] Add support for 2.14
b6677eb [microversions] Add support for API microversion 2.13

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

README.rst                                         |    4 +-
novaclient/__init__.py                             |    2 +-
novaclient/api_versions.py                         |    2 +-
novaclient/base.py                                 |  164 +-
novaclient/client.py                               |   41 +-
novaclient/exceptions.py                           |   30 +-
novaclient/shell.py                                |  220 +-
.../v2/legacy/test_extended_attributes.py          |   10 +-
.../functional/v2/legacy/test_flavor_access.py     |   66 +
.../functional/v2/legacy/test_server_groups.py     |   49 +
.../functional/v2/legacy/test_virtual_interface.py |   28 +-
.../unit/fixture_data/security_group_rules.py      |    5 +-
.../v2/contrib/test_assisted_volume_snapshots.py   |    6 +-
.../unit/v2/contrib/test_server_external_events.py |    1 +
novaclient/utils.py                                |   10 +-
novaclient/v2/agents.py                            |    9 +-
novaclient/v2/aggregates.py                        |   16 +-
novaclient/v2/client.py                            |    3 +
novaclient/v2/cloudpipe.py                         |   10 +-
novaclient/v2/contrib/assisted_volume_snapshots.py |   15 +-
novaclient/v2/contrib/baremetal.py                 |   18 +-
novaclient/v2/contrib/deferred_delete.py           |    2 +-
novaclient/v2/contrib/instance_action.py           |   43 +-
novaclient/v2/contrib/migrations.py                |   15 +-
novaclient/v2/contrib/tenant_networks.py           |   15 +-
novaclient/v2/fixed_ips.py                         |   12 +-
novaclient/v2/flavor_access.py                     |    8 +-
novaclient/v2/flavors.py                           |   28 +-
novaclient/v2/floating_ip_dns.py                   |   59 +-
novaclient/v2/floating_ips.py                      |   11 +-
novaclient/v2/hosts.py                             |   11 +-
novaclient/v2/images.py                            |   15 +-
novaclient/v2/keypairs.py                          |   13 +-
novaclient/v2/networks.py                          |   41 +-
novaclient/v2/quotas.py                            |    9 +-
novaclient/v2/security_group_default_rules.py      |   11 +-
novaclient/v2/security_group_rules.py              |   10 +-
novaclient/v2/security_groups.py                   |   18 +-
novaclient/v2/server_groups.py                     |   10 +-
novaclient/v2/server_migrations.py                 |   80 +
novaclient/v2/servers.py                           |  559 +++--
novaclient/v2/shell.py                             |  384 +++-
novaclient/v2/versions.py                          |    1 +
novaclient/v2/volume_snapshots.py                  |    7 +-
novaclient/v2/volume_types.py                      |    3 +-
novaclient/v2/volumes.py                           |   12 +-
python-novaclient/locale/python-novaclient.pot     | 2171 --------------------
...turn-request-id-to-caller-52c5423794b33f8b.yaml |   26 +
requirements.txt                                   |   21 +-
setup.cfg                                          |   12 +-
test-requirements.txt                              |   24 +-
tools/install_venv.py                              |    4 +-
tox.ini                                            |    9 +
135 files changed, 4226 insertions(+), 3016 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index cb3ea14..ae6170c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,5 +4,4 @@
-pbr>=1.6
-argparse
-keystoneauth1>=2.1.0
-iso8601>=0.1.9
-oslo.i18n>=1.5.0 # Apache-2.0
+pbr>=1.6 # Apache-2.0
+keystoneauth1>=2.1.0 # Apache-2.0
+iso8601>=0.1.9 # MIT
+oslo.i18n>=2.1.0 # Apache-2.0
@@ -10,6 +9,6 @@ oslo.serialization>=1.10.0 # Apache-2.0
-oslo.utils>=3.2.0 # Apache-2.0
-PrettyTable<0.8,>=0.7
-requests!=2.9.0,>=2.8.1
-simplejson>=2.2.0
-six>=1.9.0
-Babel>=1.3
+oslo.utils>=3.5.0 # Apache-2.0
+PrettyTable<0.8,>=0.7 # BSD
+requests!=2.9.0,>=2.8.1 # Apache-2.0
+simplejson>=2.2.0 # MIT
+six>=1.9.0 # MIT
+Babel>=1.3 # BSD
diff --git a/test-requirements.txt b/test-requirements.txt
index de8e472..6a301d0 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6,6 +6,6 @@ hacking<0.11,>=0.10.0
-coverage>=3.6
-discover
-fixtures>=1.3.1
-keyring>=5.5.1
-mock>=1.2
-python-keystoneclient!=1.8.0,>=1.6.0
+coverage>=3.6 # Apache-2.0
+discover # BSD
+fixtures>=1.3.1 # Apache-2.0/BSD
+keyring>=5.5.1 # MIT/PSF
+mock>=1.2 # BSD
+python-keystoneclient!=1.8.0,!=2.1.0,>=1.6.0 # Apache-2.0
@@ -13,2 +13,2 @@ requests-mock>=0.7.0 # Apache-2.0
-sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
-os-client-config!=1.6.2,>=1.4.0
+sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
+os-client-config>=1.13.1 # Apache-2.0
@@ -16,4 +16,4 @@ oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
-testrepository>=0.0.18
-testscenarios>=0.4
-testtools>=1.4.0
-tempest-lib>=0.12.0
+testrepository>=0.0.18 # Apache-2.0/BSD
+testscenarios>=0.4 # Apache-2.0/BSD
+testtools>=1.4.0 # MIT
+tempest-lib>=0.14.0 # Apache-2.0





More information about the OpenStack-announce mailing list