[watcher] python-watcher 1.9.0 (rocky)
We are satisfied to announce the release of: python-watcher 1.9.0: OpenStack Watcher provides a flexible and scalable resource optimization service for multi-tenant OpenStack- based clouds. This release is part of the rocky release series. The source is available from: https://github.com/openstack/watcher Download the package from: https://tarballs.openstack.org/watcher/ Please report issues through launchpad: https://bugs.launchpad.net/watcher For more details, please see below. 1.9.0 ^^^^^ New Features ************ * Audits have 'name' field now, that is more friendly to end users. Audit's name can't exceed 63 characters. * Watcher has a whole scope of the cluster, when building compute CDM which includes all instances. It filters excluded instances when migration during the audit. * Watcher got an ability to calculate multiple global efficacy indicators during audit's execution. Now global efficacy can be calculated for many resource types (like volumes, instances, network) if strategy supports efficacy indicators. * Added notifications about cancelling of action plan. Now event based plugins know when action plan cancel started and completed. * Instance cold migration logic is now replaced with using Nova migrate Server(migrate Action) API which has host option since v2.56. Upgrade Notes ************* * Nova API version is now set to 2.56 by default. This needs the migrate action of migration type cold with destination_node parameter to work. Bug Fixes ********* * The migrate action of migration type cold with destination_node parameter was fixed. Before fixing, it booted an instance in the service project as a migrated instance. Changes in python-watcher 1.8.0..1.9.0 -------------------------------------- 4179c35 Replace cold migration to use Nova migration API 3b13563 Add release notes link to README 67be974 Trivial fix of saving_energy strategy doc 8c91693 Update auth_uri option to www_authenticate_uri 3dd03b2 Trivial fix of user guide doc 39d7ce9 zuulv3 optimization 65a09ce Enable mutable config in Watcher 92dad3b Several fixes of strategies docs b9456e2 set one worker for watcherclient-tempest-functional job 184b1b1 Remove obsolete playbooks of legacy jobs f49d055 Updated from global requirements 9d8a0fe add lower-constraints job 52a5c99 Replaced deprecated oslo_messaging_rabbit section 6bb0432 ZuulV3 jobs 99837d6 Delete the unnecessary '-' 3075723 Fix sort of *list command output 24b6432 Remove version/date from CLI documentation ca61594 Adding driver to mysql connection URL bd57077 Updated from global requirements 7392841 ignore useless WARNING log message 4022b59 Updated from global requirements 3d1cb11 Add the missing markups for the hyperlink titles d0b1dac Change the outdated links to the latest links in README 45a0644 basic_cons fix 2f173bb Revert "Update OpenStack Installation Tutorial to Rocky" 5c81f1b Add parameter aggregation_method for basic_consolidation 7e27abc Imported Translations from Zanata 4844baa Delete the unnecessary '-' e771ae9 Update OpenStack Installation Tutorial to Rocky a248804 Add parameter aggregation_method for work_stab cce5ebd basic_consolidation trivial fix a7ab770 Fix Uuid and virtual_free elements load error 6f27e50 Fix exception string format 1834db8 Imported Translations from Zanata 59ef0d2 Add the missing title of Configuration Guide c53817c Fix change_nova_service_state action 033bc07 Updated Hacking doc dd21029 [Trivialfix]Modify a grammatical error abb9155 Fix old url links in doc f607ae8 Add a hacking rule for string interpolation at logging b3ded34 Complete schema of workload_stabilization strategy dad60fb filter exclude instances during migration fb66a9f Fix grammar errors dc9ef6f workload_stabilization trivial fix 5ac65b7 Updated from global requirements 7b9b726 Imported Translations from Zanata c81cd67 Add support for networkx v2.0 e399d96 Updated from global requirements 44d9183 Fix some dead link in docs cc87b82 Update meeting time on odd weeks 0900eaa fix misspelling of 'return' 9fb5b2a Add missing release notes d80edea Imported Translations from Zanata 26d6074 Update reno for stable/queens Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 143 +++- HACKING.rst | 2 +- README.rst | 9 +- devstack/lib/watcher | 17 +- .../strategies/basic-server-consolidation.rst | 2 +- .../strategies/vm_workload_consolidation.rst | 2 +- lower-constraints.txt | 163 ++++ .../watcher-tempest-base-multinode/post.yaml | 15 - .../legacy/watcher-tempest-base-multinode/run.yaml | 67 -- .../watcherclient-tempest-functional/post.yaml | 80 -- .../watcherclient-tempest-functional/run.yaml | 64 -- playbooks/orchestrate-tempest.yaml | 14 + playbooks/pre.yaml | 3 + rally-jobs/README.rst | 2 +- .../notes/add-name-for-audit-0df1f39f00736f06.yaml | 4 + ...cdm-include-all-instances-f7506ded2d57732f.yaml | 6 + ...global-efficacy-indicator-fc11c4844a12a7d5.yaml | 6 + ...cations-actionplan-cancel-edb2a4a12543e2d0.yaml | 5 + ...to-use-nova-migration-api-cecd9a39ddd3bc58.yaml | 14 + releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 36 +- releasenotes/source/queens.rst | 6 + requirements.txt | 10 +- roles/add-hostnames-to-hosts/tasks/main.yaml | 16 + test-requirements.txt | 2 +- tox.ini | 9 +- watcher/api/controllers/v1/action.py | 25 +- watcher/api/controllers/v1/action_plan.py | 37 +- watcher/api/controllers/v1/audit.py | 41 +- watcher/api/controllers/v1/audit_template.py | 39 +- watcher/api/controllers/v1/goal.py | 19 +- watcher/api/controllers/v1/scoring_engine.py | 17 +- watcher/api/controllers/v1/service.py | 19 +- watcher/api/controllers/v1/strategy.py | 34 +- watcher/api/controllers/v1/utils.py | 22 + watcher/api/hooks.py | 2 +- watcher/applier/actions/migration.py | 12 +- watcher/cmd/api.py | 4 +- watcher/common/cinder_helper.py | 25 +- watcher/common/context.py | 1 + watcher/common/exception.py | 2 +- watcher/common/nova_helper.py | 388 +++------ watcher/common/service.py | 2 +- watcher/conf/decision_engine.py | 3 + watcher/conf/gnocchi_client.py | 2 + watcher/conf/nova_client.py | 2 +- watcher/conf/service.py | 1 + .../decision_engine/messaging/audit_endpoint.py | 2 +- watcher/decision_engine/model/collector/nova.py | 2 +- watcher/decision_engine/model/element/instance.py | 2 +- watcher/decision_engine/model/element/node.py | 2 +- .../model/element/storage_resource.py | 2 +- watcher/decision_engine/model/model_root.py | 45 +- .../decision_engine/model/notification/cinder.py | 8 +- watcher/decision_engine/model/notification/nova.py | 20 +- watcher/decision_engine/scoring/scoring_factory.py | 6 +- .../strategy/strategies/actuation.py | 22 +- .../strategy/strategies/basic_consolidation.py | 81 +- .../strategy/strategies/noisy_neighbor.py | 8 +- .../strategy/strategies/outlet_temp_control.py | 14 +- .../strategies/storage_capacity_balance.py | 18 - .../strategy/strategies/uniform_airflow.py | 33 +- .../strategies/vm_workload_consolidation.py | 86 +- .../strategy/strategies/workload_balance.py | 36 +- .../strategy/strategies/workload_stabilization.py | 112 ++- .../strategy/strategies/zone_migration.py | 59 +- watcher/locale/de/LC_MESSAGES/watcher.po | 864 +++++++++++++++++++++ watcher/locale/en_GB/LC_MESSAGES/watcher.po | 6 +- .../decision_engine/model/data/scenario_1.xml | 70 +- .../data/scenario_1_with_1_node_unavailable.xml | 72 +- .../data/scenario_1_with_all_instances_exclude.xml | 47 ++ .../model/data/scenario_1_with_metrics.xml | 4 +- .../model/data/scenario_2_with_metrics.xml | 12 +- .../model/data/scenario_3_with_2_nodes.xml | 4 +- .../model/data/scenario_3_with_metrics.xml | 8 +- .../model/data/scenario_5_with_instance_disk_0.xml | 2 +- .../model/data/scenario_6_with_2_nodes.xml | 8 +- .../model/data/scenario_7_with_2_nodes.xml | 8 +- .../model/data/scenario_8_with_4_nodes.xml | 12 +- ...nario_9_with_3_active_plus_1_disabled_nodes.xml | 12 +- .../decision_engine/model/faker_cluster_state.py | 3 + .../strategies/test_workload_stabilization.py | 13 +- 116 files changed, 2319 insertions(+), 1212 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 1bce119..38fb23d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8 +8 @@ jsonpatch!=1.20,>=1.16 # BSD -keystoneauth1>=3.3.0 # Apache-2.0 +keystoneauth1>=3.4.0 # Apache-2.0 @@ -13 +13 @@ croniter>=0.3.4 # MIT License -oslo.concurrency>=3.25.0 # Apache-2.0 +oslo.concurrency>=3.26.0 # Apache-2.0 @@ -15 +15 @@ oslo.cache>=1.26.0 # Apache-2.0 -oslo.config>=5.1.0 # Apache-2.0 +oslo.config>=5.2.0 # Apache-2.0 @@ -38 +38 @@ python-monascaclient>=1.7.0 # Apache-2.0 -python-neutronclient>=6.3.0 # Apache-2.0 +python-neutronclient>=6.7.0 # Apache-2.0 @@ -41 +41 @@ python-openstackclient>=3.12.0 # Apache-2.0 -python-ironicclient>=2.2.0 # Apache-2.0 +python-ironicclient>=2.3.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 9d4053d..b475aa2 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -18 +18 @@ openstackdocstheme>=1.18.1 # Apache-2.0 -sphinx!=1.6.6,>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
participants (1)
-
no-reply@openstack.org