[nova] python-novaclient 10.2.0 (rocky)
We are pleased to announce the release of: python-novaclient 10.2.0: Client library for OpenStack Compute API This release is part of the rocky 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. 10.2.0 ^^^^^^ New Features ************ * Added new client API and CLI ("nova instance-usage-audit-log") to get server usage audit logs. By default, it lists usage audits for all servers on all compute hosts where usage auditing is configured. If you specify the "--before" option, the result is filtered by the date and time before which to list server usage audits. * Provides "--strict" option for "nova host-servers-migrate", "nova host-evacuate", "nova host-evacuate-live" and "nova host-meta" commands. When "--strict" option is used, the action will be applied to a single compute with the exact hypervisor hostname string match rather than to the computes with hostname substring match. When the specified hostname does not exist in the system, "NotFound" error code will be returned. Upgrade Notes ************* * The "flavor-delete" command no longer prints out the details of the deleted flavor. On successful deletion, there is no output. Deprecation Notes ***************** * "novaclient.utils.add_resource_manager_extra_kwargs_hook" and "novaclient.utils.get_resource_manager_extra_kwargs" were designed for supporting extensions in nova/novaclient. Nowadays, this "extensions" feature is abandoned and both "add_resource_manager_extra_kwargs_hook", "add_resource_manager_extra_kwargs_hook" are not used in novaclient's code. These methods are not documented, so we are removing them without standard deprecation cycle. Other Notes *********** * Starting from microversion 2.61, the responses of the 'Flavor' APIs include the 'extra_specs' parameter. Therefore 'Flavors extra- specs' (os-extra_specs) API calls have been removed in the following commands since microversion 2.61. * "nova flavor-list" * "nova flavor-show" There are no behavior changes in the CLI. This is just a performance optimization. Changes in python-novaclient 10.1.0..10.2.0 ------------------------------------------- 6049be6 [CLI] Fix token auth type 229d0df Microversion 2.61 - support extra_specs in flavor API 936b5a5 Fix comments in novaclient/tests/unit/fakes.py bcc7d8f Stop printing flavor details on successful flavor-delete be94318 Replace GB with GiB e044b91 Fix AttributeError in getting a resource ID 0263886 Fix validation for command arguments 41dde2a Updated from global requirements f36390d add lower-constraints job c0f2f96 Fix local test fails with pypy 52c65fb Updated from global requirements ecf8029 Updated from global requirements adf1f3b Updated from global requirements c15a85a Updated from global requirements a4966ea Add os-testr in test-requirements.txt 3b73249 Fix a comment in novaclient/api_versions.py bc4f919 Clean imports in code 02343c2 Fix the docstring for the update method 665fe5b Updated from global requirements 0537f30 Updated from global requirements ca27736 Remove 2 redundant methods d272d6f Fix crashing console-log eff607c Fix listing of instances above API max_limit 43f0936 nova limits ERROR (Exception): Field names must be unique a2363c4 Zuul: Remove project name 9213ec2 Implement hypervisor hostname exact pattern match d418b5f Add CLI to show instance usage audit logs a9aad88 Update reno for stable/queens d703219 Updated from global requirements Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 3 +- lower-constraints.txt | 111 +++++ novaclient/__init__.py | 2 +- novaclient/api_versions.py | 2 +- novaclient/base.py | 6 +- novaclient/shell.py | 34 +- .../functional/v2/test_instance_usage_audit_log.py | 87 ++++ novaclient/utils.py | 37 -- novaclient/v2/client.py | 3 + novaclient/v2/flavors.py | 7 +- novaclient/v2/instance_usage_audit_log.py | 40 ++ novaclient/v2/servers.py | 7 +- novaclient/v2/shell.py | 194 +++++--- ...4420-flavor-delete-output-7b80f73deee5a869.yaml | 5 + ...rid-off-redundant-methods-47e679c13e88f28a.yaml | 10 + .../notes/microversion-v2_61-9a8faa02fddf9ed6.yaml | 13 + ...instance-usage-audit-logs-7826b411fac1283b.yaml | 8 + .../strict_hostname_match-f37243f0520a09a2.yaml | 9 + releasenotes/source/index.rst | 1 + releasenotes/source/queens.rst | 6 + requirements.txt | 2 +- test-requirements.txt | 5 +- tox.ini | 9 +- 38 files changed, 1181 insertions(+), 290 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index d0c3246..502c9df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5 +5 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -keystoneauth1>=3.3.0 # Apache-2.0 +keystoneauth1>=3.4.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index d66dda6..e406286 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -14,2 +14,2 @@ python-glanceclient>=2.8.0 # Apache-2.0 -python-neutronclient>=6.3.0 # Apache-2.0 -requests-mock>=1.1.0 # Apache-2.0 +python-neutronclient>=6.7.0 # Apache-2.0 +requests-mock>=1.2.0 # Apache-2.0 @@ -16,0 +17 @@ os-client-config>=1.28.0 # Apache-2.0 +os-testr>=1.0.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org