[watcher] python-watcher 1.0.0 (ocata)
We joyfully announce the release of: python-watcher 1.0.0: OpenStack Watcher provides a flexible and scalable resource optimization service for multi-tenant OpenStack- based clouds. This release is part of the ocata stable 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: http://bugs.launchpad.net/watcher For more details, please see below. 1.0.0 ^^^^^ New Features * Add notifications related to Action plan object. Changes in python-watcher 0.34.0..1.0.0 --------------------------------------- d49c6c1 Added action_plan.execution.* actions e51e7e4 Added action_plan.create|update|delete notifs 244d28a Add release note for action plan notifications 7ac1d0d Add first alembic version for db migration 52d701a Updated graph model to use attr_dict ea1fd59 Fix context error for user 659cbf3 Idiomatic loop for calculate_num_migrations 198d827 Fix multinode tempest test failure 59c5adc Documentation update Diffstat (except docs and test files) ------------------------------------- devstack/lib/watcher | 2 +- .../action_plan-execution-end.json | 55 + .../action_plan-execution-error.json | 65 + .../action_plan-execution-start.json | 55 + .../plantuml/action_plan_state_machine.png | Bin 0 -> 59207 bytes .../plantuml/action_plan_state_machine.txt | 2 + .../plantuml/watcher_db_schema_diagram.png | Bin 0 -> 73517 bytes .../plantuml/watcher_db_schema_diagram.txt | 4 +- ...rsioned-notifications-api-e8ca4f5d37aa5b4b.yaml | 3 + watcher/api/controllers/v1/action_plan.py | 7 +- watcher/applier/action_plan/default.py | 35 +- watcher/applier/default.py | 4 +- watcher/cmd/dbmanage.py | 6 +- watcher/common/context.py | 2 +- watcher/common/exception.py | 16 +- watcher/db/sqlalchemy/alembic/README | 15 - watcher/db/sqlalchemy/alembic/README.rst | 62 + .../db/sqlalchemy/alembic/versions/001_ocata.py | 203 +++ watcher/db/sqlalchemy/alembic/versions/__init__.py | 0 watcher/db/sqlalchemy/migration.py | 2 +- watcher/decision_engine/model/element/base.py | 3 +- watcher/decision_engine/model/model_root.py | 58 +- watcher/decision_engine/planner/weight.py | 2 +- watcher/decision_engine/scope/default.py | 2 +- .../strategy/strategies/basic_consolidation.py | 4 +- watcher/decision_engine/sync.py | 6 +- watcher/notifications/__init__.py | 1 + watcher/notifications/action_plan.py | 312 ++++ watcher/notifications/audit.py | 49 +- watcher/notifications/base.py | 6 +- watcher/objects/action_plan.py | 54 +- watcher/objects/base.py | 4 + watcher/objects/fields.py | 3 +- .../action_plan/test_default_action_handler.py | 61 +- .../decision_engine/audit/test_audit_handlers.py | 11 +- .../decision_engine/planner/test_weight_planner.py | 1 + .../planner/test_workload_stabilization_planner.py | 1 + .../notifications/test_action_plan_notification.py | 419 +++++ .../services/infra_optim/v1/json/client.py | 12 + 70 files changed, 3257 insertions(+), 595 deletions(-)
participants (1)
-
no-reply@openstack.org