python-watcherclient 4.9.0 (flamingo)
We are delighted to announce the release of: python-watcherclient 4.9.0 This release is part of the flamingo release series. The source is available from: https://opendev.org/openstack/python-watcherclient Download the package from: https://pypi.org/project/python-watcherclient Please report issues through: https://bugs.launchpad.net/watcher/+bugs For more details, please see below. 4.9.0 ^^^^^ New Features ************ * Added support for updating action state through the new "openstack optimize action update" command. This feature allows operators to manually change action states. The command supports the following options: * "--state <state>" - New state for the action (required) * "--reason <reason>" - Optional reason for the state change Currently, the only use case for this update is to Skip an action before starting an Action Plan with an optional reason by setting the state to SKIPPED: $ openstack optimize action update --state SKIPPED --reason "Manual skip" <action-uuid> This feature requires Watcher API microversion 1.5 or higher. Upgrade Notes ************* * The maximum supported API version has been increased from 1.1 to 1.5 to support the new action update functionality. This change maintains full backward compatibility with existing deployments. * watcher client now requires python 3.10 or newer. The last release to support "3.9" was "2025.1". Please ensure you have a supported python version before upgrading. Changes in python-watcherclient 4.8.0..4.9.0 -------------------------------------------- d17bfa0 Add action update command to support skipping actions manually 489d8c3 Replace CLA with DCO adad316 finalize python 3.9 support removal d5df64d Drop explicit dependency on python-subunit 3fa37f8 add pyproject.toml to support pip 23.1 3d55467 Remove unnecessary +x mode e9fc2c8 Move functional tests from watcher_tempest_plugin to watcherclient 65d1a9c tox: Drop envdir Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 29 ++- pyproject.toml | 3 + ...add-action-update-command-b8c74d5e6f234a21.yaml | 24 +++ releasenotes/notes/drop-py39-8a9c99678b3e8eeb.yaml | 6 + setup.cfg | 5 +- test-requirements.txt | 2 +- tox.ini | 8 +- watcherclient/__init__.py | 2 +- watcherclient/common/api_versioning.py | 10 + watcherclient/common/httpclient.py | 2 +- .../client_functional/v1/test_audit_template.py | 89 +++++++++ .../client_functional/v1/test_scoring_engine.py | 40 ++++ watcherclient/v1/action.py | 3 + watcherclient/v1/action_plan_shell.py | 22 +++ watcherclient/v1/action_shell.py | 82 ++++++++ watcherclient/v1/audit_shell.py | 3 + watcherclient/v1/resource_fields.py | 14 +- 33 files changed, 1344 insertions(+), 28 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index ca03185..284a944 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5 +4,0 @@ oslotest>=3.2.0 # Apache-2.0 -python-subunit>=1.0.0 # Apache-2.0/BSD @@ -8,0 +8 @@ testtools>=2.2.0 # MIT +tempest>=17.1.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org