[nova] python-novaclient 7.1.0 (ocata)
We are pleased to announce the release of: python-novaclient 7.1.0: Client library for OpenStack Compute API This release is part of the ocata 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. 7.1.0 ^^^^^ OSprofiler support was added to the client. That makes possible to trigger Nova operation trace generation from the CLI. New Features ************ * A new "--profile" option was added to allow Nova profiling from the CLI. If the user wishes to trace a nova boot request he or she needs to type the following command -- "nova --profile <secret_key> boot --image <image> --flavor <flavor> <vm_name>", where "secret_key" should match one of the keys defined in nova.conf. As a result of this operation additional information regarding "trace_id" will be printed, that can be used to generate human-friendly html report -- "osprofiler trace show --html <trace_id> --out trace.html". To enable profiling, user needs to have osprofiler installed in the local environment via "pip install osprofiler". * Provides a public unified interface 'get_console_url' for classes 'novaclient.v2.servers.Server' and 'novaclient.v2.servers.ServerManager'. Users (Heat, OpenStack-client and etc.) can call this public interface instead of calling the individual methods to retrieve a console url of a particular protocol. * Added support for microversion 2.41 which shows the aggregate UUID in CLI output when listing, creating, showing, updating, setting metadata, and adding or removing hosts from an aggregate. Security Issues *************** * OSprofiler support, that was added during the Ocata release cycle, requires passing of trace information between various OpenStack services. This information is signed by one of the HMAC keys defined in nova.conf file. That means that only someone who knows this key is able to send the proper header to trigger profiling. Bug Fixes ********* * Fix an ability to authenticate using Keystone Token which was broken with novaclient 7.0.0 release. * The contents of the list_extensions.py file was moved from contrib to v2 directory in release 7.0.0, and a stub importing the objects from the new location was left in its place for backward compatibility, together with a warning informing about the new location. However, the stub incorrectly assigned the ListExtResource class to the ListExtManager name. This has now been fixed, and ListExtManager is used instead. Changes in python-novaclient 7.0.0..7.1.0 ----------------------------------------- 2b2af1c Add release not for fixing token auth method ae69976 Fix functional tests to deal with multiple networks 1dcd830 ListExtResource given in place of ListExtManager 9940e3f Pass relevant parameters to Token based authentication dc3a06b Updated from global requirements 98976d5 x-openstack-request-id logged twice in logs 0fed79f Add profiling support to novaclient 6ba2882 Fix help strings 2512a28 Make _console() public 70a3957 Allow multiple tag add/delete from cli ae7b2c1 Updated from global requirements e81b81a Enable coverage report in console output aeec4d1 Fix "Message object do not support addition". 75ffbaa Add support for showing aggregate UUIDs (v2.41) e8e39ed Blacklist rather than whitelist autodoc modules d77aa05 Replaces uuid.uuid4 with uuidutils.generate_uuid() 78e621f Fixed the __ne__ implementation in base.Resource ce18479 Use more specific asserts in tests Diffstat (except docs and test files) ------------------------------------- novaclient/__init__.py | 2 +- novaclient/base.py | 4 +- novaclient/client.py | 65 ++++++++----- novaclient/exceptions.py | 8 ++ novaclient/shell.py | 27 +++++- .../functional/v2/legacy/test_server_groups.py | 4 +- novaclient/v2/contrib/__init__.py | 16 ++-- novaclient/v2/contrib/list_extensions.py | 2 +- novaclient/v2/servers.py | 106 ++++++++++++++++----- novaclient/v2/shell.py | 46 +++++---- .../add-osprofiler-support-cc9dd228242e9919.yaml | 25 +++++ .../notes/fix-token-auth-6c48c63a759f51d5.yaml | 5 + ...n-place-of-ListExtManager-a759a27079d16a44.yaml | 9 ++ .../make-console-public-0c776bfda240cd9d.yaml | 7 ++ .../notes/microversion-v2_41-6df7a5a66a9ded35.yaml | 6 ++ requirements.txt | 2 +- test-requirements.txt | 1 + tox.ini | 4 +- 37 files changed, 608 insertions(+), 184 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index b634f78..bd75322 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5 +5 @@ pbr>=1.8 # Apache-2.0 -keystoneauth1>=2.16.0 # Apache-2.0 +keystoneauth1>=2.18.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 97a350f..a9c5a42 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -17,0 +18 @@ oslosphinx>=4.7.0 # Apache-2.0 +osprofiler>=1.4.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org