[release-announce] [watcher] python-watcher 1.6.0 (queens)

no-reply at openstack.org no-reply at openstack.org
Fri Dec 8 15:09:20 UTC 2017


We eagerly announce the release of:

python-watcher 1.6.0: OpenStack Watcher provides a flexible and
scalable resource optimization service for multi-tenant OpenStack-
based clouds.

This release is part of the queens 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.6.0
^^^^^

New Features

* Each CDM collector can have its own CDM scoper now. This changed
  Scope JSON schema definition for the audit template POST data.
  Please see audit template create help message in python-
  watcherclient.

Changes in python-watcher 1.5.0..1.6.0
--------------------------------------

c91f647 Server with PAUSE status can also live-migrate
92572c5 Fix migrate action with migration_type 'cold'
a8f0806 Updated from global requirements
f14795d Make gnocchi as default datasource
5969e5b Updated from global requirements
e55f379 Fix Bug Unable to get scoped data model
901c598 listen to 'compute.instance.resize.confirm.end' event
e41a90d Notifications Changes Multiple Global Efficacy
94babf6 Add app.wsgi to target of pep8
a5fba7c [Doc] Fix ubuntu version in devstack installation
24e01b6 Remove setting of version/release from releasenotes
4007f93 Updated from global requirements
77c9f88 Updated from global requirements
3595108 Migrate to Zuul v3
d536ed2  Fix test runner config issues with os-testr 1.0.0
71730c0 Multiple global efficacy
1b4c5df Do not use “-y” for package install
165853e check task_state in the live_migrate_instance
0a7152f Change HTTP to HTTPS
6c29df1 Updated from global requirements
55bd0fd Can't cancell CONTINUOUS audit
907cc2d add name for audit, update audit notifications
8dcac15 Update doc and add release note about cdm-scoping
bcd2040 Update the useful links for Rally job
8722951 update API ref doc for ScoringEngine
568d4e8 Fix the strategy path of outlet_temp_control.py
0472715 Optimize the link address
2482e82 Imported Translations from Zanata
4a3a504 Fix a typo
05b57fe Unify the oslo_log import usage
3729e39 Optimise indentation for db client
91911c8 Correct the schema format
d7d56cb add name for audit, changes for watcher api/db
d722b62 Optimize check_migrated in cinder_helper.py
bf713ac Optimize live_migrate_instance
51b3a15 Add cdm-scoping
74bc31e extend-node-status


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

.gitignore                                         |   1 +
.stestr.conf                                       |   4 +
.zuul.yaml                                         |  39 +++
.../action-execution-error.json                    |   2 +-
.../action-execution-start.json                    |   2 +-
.../action_plan-cancel-end.json                    |   2 +-
.../action_plan-cancel-error.json                  |   2 +-
.../action_plan-cancel-start.json                  |   2 +-
.../action_plan-execution-end.json                 |   3 +-
.../action_plan-execution-error.json               |   3 +-
.../action_plan-execution-start.json               |   3 +-
.../plantuml/watcher_db_schema_diagram.txt         |   2 +-
.../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 +++++
rally-jobs/README.rst                              |  12 +-
.../notes/cdm-scoping-8d9c307bad46bfa1.yaml        |   6 +
.../noisy-neighbor-strategy-a71342740b59dddc.yaml  |   2 +-
releasenotes/source/conf.py                        |   9 +-
.../locale/en_GB/LC_MESSAGES/releasenotes.po       | 207 +++++++++++++++
requirements.txt                                   |  12 +-
test-requirements.txt                              |   2 +-
tox.ini                                            |   3 +-
watcher/api/app.wsgi                               |   1 -
watcher/api/controllers/v1/audit.py                |  52 +++-
watcher/api/controllers/v1/audit_template.py       |  63 +++--
.../applier/actions/change_nova_service_state.py   |  15 +-
watcher/applier/actions/migration.py               |  15 +-
watcher/applier/actions/volume_migration.py        |   2 +-
watcher/cmd/api.py                                 |   4 +-
watcher/cmd/applier.py                             |   4 +-
watcher/cmd/decisionengine.py                      |   4 +-
watcher/cmd/sync.py                                |   4 +-
watcher/common/cinder_helper.py                    |   3 +-
watcher/common/context.py                          |   4 +-
watcher/common/exception.py                        |   6 +-
watcher/common/nova_helper.py                      |  38 +--
watcher/common/utils.py                            |   4 +-
watcher/conf/db.py                                 |   2 +-
watcher/db/api.py                                  |  10 +
.../versions/3cfc94cecf4e_add_name_for_audit.py    |  22 ++
watcher/db/sqlalchemy/api.py                       |  14 +-
watcher/db/sqlalchemy/models.py                    |   4 +-
watcher/decision_engine/audit/continuous.py        |   5 +-
watcher/decision_engine/goal/efficacy/base.py      |   3 +-
watcher/decision_engine/goal/efficacy/specs.py     |   8 +-
watcher/decision_engine/goal/goals.py              |   2 +-
watcher/decision_engine/model/collector/base.py    |   6 +
watcher/decision_engine/model/collector/cinder.py  |   3 +
watcher/decision_engine/model/collector/manager.py |   3 +-
watcher/decision_engine/model/collector/nova.py    | 113 +++++++-
watcher/decision_engine/model/element/node.py      |   2 +-
watcher/decision_engine/model/notification/nova.py |  31 +++
watcher/decision_engine/scope/compute.py           | 181 +++++++++++++
watcher/decision_engine/scope/default.py           | 283 ---------------------
watcher/decision_engine/solution/efficacy.py       |   6 +-
.../decision_engine/strategy/strategies/base.py    |  15 +-
.../strategy/strategies/basic_consolidation.py     |  11 +-
.../strategy/strategies/outlet_temp_control.py     |   6 +-
.../strategy/strategies/uniform_airflow.py         |   2 +-
.../strategies/vm_workload_consolidation.py        |   8 +-
.../strategy/strategies/workload_balance.py        |   2 +-
.../strategy/strategies/workload_stabilization.py  |   2 +-
watcher/notifications/action_plan.py               |  23 +-
watcher/notifications/audit.py                     |  11 +-
watcher/objects/action_plan.py                     |   5 +-
watcher/objects/audit.py                           |  23 +-
.../actions/test_change_nova_service_state.py      |   8 +-
.../decision_engine/audit/test_audit_handlers.py   |   3 +-
.../cluster/test_cluster_data_model_collector.py   |   3 +
.../decision_engine/cluster/test_nova_cdmc.py      |   8 +-
...nario_9_with_3_active_plus_1_disabled_nodes.xml |   2 +-
.../model/faker_cluster_and_metrics.py             |   5 +-
.../decision_engine/model/faker_cluster_state.py   |  10 +-
...enario3_legacy_instance-resize-confirm-end.json |  58 +++++
.../data/scenario3_service-update-disabled.json    |   2 +-
.../model/notification/test_nova_notifications.py  |  24 ++
.../strategy/context/test_strategy_context.py      |   4 +-
.../strategies/test_basic_consolidation.py         |   6 +-
.../strategies/test_vm_workload_consolidation.py   |  37 ++-
.../notifications/test_action_notification.py      |  28 +-
.../notifications/test_action_plan_notification.py |  49 ++--
121 files changed, 1804 insertions(+), 901 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index ba9a638..909cb1f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -7,2 +7,2 @@ enum34>=1.0.4;python_version=='2.7' or python_version=='2.6' or python_version==
-jsonpatch>=1.16 # BSD
-keystoneauth1>=3.2.0 # Apache-2.0
+jsonpatch!=1.20,>=1.16 # BSD
+keystoneauth1>=3.3.0 # Apache-2.0
@@ -15,2 +15,2 @@ oslo.cache>=1.26.0 # Apache-2.0
-oslo.config>=4.6.0 # Apache-2.0
-oslo.context!=2.19.1,>=2.14.0 # Apache-2.0
+oslo.config>=5.1.0 # Apache-2.0
+oslo.context>=2.19.2 # Apache-2.0
@@ -25 +25 @@ oslo.service>=1.24.0 # Apache-2.0
-oslo.utils>=3.28.0 # Apache-2.0
+oslo.utils>=3.31.0 # Apache-2.0
@@ -42 +42 @@ python-ironicclient>=1.14.0 # Apache-2.0
-six>=1.9.0 # MIT
+six>=1.10.0 # MIT
diff --git a/test-requirements.txt b/test-requirements.txt
index c2aae07..c8bd6e4 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -14 +14 @@ testscenarios>=0.4 # Apache-2.0/BSD
-testtools>=1.4.0 # MIT
+testtools>=2.2.0 # MIT






More information about the Release-announce mailing list