Added a new "version" field to the metadata section of Vitrage templates, in order to support future enhancements that are not backward-compatible. The default version is 1.
Version 2 will be added in anther change (with execute-mistral changes), together with a mechanism for running the correct validator and loader per-version.
Change-Id: I25a7bf50a2ab7277f5bbdc551bf676c62dfd6fdc
Implements: blueprint refactor-execute-mistral-definition
This commit attempts to move default policies from a policy.json
file into oslo.policy objects. This is an effort to make policy
easier to maintain for operators and is a community-wide goal for
the Queens release.
For more information on this initiative, please see:
https://governance.openstack.org/tc/goals/queens/policy-in-code.html
Co-authored-By: Hieu LE <hieulq@vn.fujitsu.com>
bp policy-and-docs-in-code
Change-Id: I8ce4fc45447b41930736d6fcf85e6d35cfbe9d56
This change contains the code without the tempest test. I will push the tempest test in a different change.
Implements: blueprint integration-with-mistral
Change-Id: Ie892482f1dede7487fbd690aff85febb17d17462
This change is to introduce a new rest api (v1/alarm/count) to
vitrage to provide counts of any alarms present in the system.
- It can optionally provide counts of alarms for all_tenants
similarly to the alarm api
- The rest api doc has been updated
- Unit test were added to test the api with and without
all_tenants as well as noauth
Change-Id: I6061b63c068580dcd25df5c624d9b3bd88f30cca
Implements: blueprint alarm-counts-api
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
- Added missing documentation of Nova notifier
- Moved osprofiler doc under contributor folder
- Marked the static-physical datasource as obsolete
- Removed a link to Aodh notifier (the document was deleted, as it was just a POC)
Depends-On: Ifcde995130486c859e6a9ce23e47a89910187732
Change-Id: Ib2b7880d65d4c6edd7cfd1f831da9da7af5e114c
Two new validations are added:
1. A condition can not be only "negative". For example, instead of: "not alarm_on_instance" one should use "instance and not_alarm_on_instance"
2. There should be an entity that is common to all parts of an "or" condition. For example, this is illegal: "alarm1_on_host or alarm2_on_instance"
Change-Id: I209155ade48ba740642670891c11aeef0868197c
Implements: blueprint support-external-actions
The following will be done in the *next* patches:
* Implementation of the ExternalExecute step
* Implementation of the Mistral notifier
* Documentation of the new action
Change-Id: I571861149e51bca85cb024969b8595ae85655b25
Implements: blueprint integration-with-mistral
In Pike OpenStack documentation is changed in a way that the project repos
contain most of the documentation material [1]. This affcects how the doc
folder shall be strucutred inside the project repo. With this change I
align the install guide to the new structure and correct the warnings
during the document generation. The overall work is tracked in [2].
[1]: http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
[2]: https://etherpad.openstack.org/p/doc-migration-tracking
Change-Id: Ib5400247d2ba5f8dac80ef68a43d06868bd42f1c
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Signed-off-by: csatari <gergely.csatari@nokia.com>
I wrote it here and not as a blueprint, since it is a very wide scope and several blueprints can be created in the future for supporting this vision.
Change-Id: I9d32d7e2a45a146c5923604b0591f8a7d609f616
Rename vitrage properties to start with the vitrage prefix
so it will be easier work with and to recognize.
Change-Id: Ia8afaa1a13897927984a9c8d8d9b85343ef69c01
Fix a broken link for 'Vitrage-dashboard manual installation'
in the vitrage installation doc.
Change-Id: I5aa224db7c0e2adae51708fcac464ea82942a4c7
Closes-Bug: #1696055
TemplateData is refactored to make it possible
- split SubGraph and ScenarioData from TemplateData
- build entity index and relationship index in TemplateData
- delay variable extraction to subgraph build
- simplify the process of adding scenario to repository
Implement: blueprint entity-equivalence
Change-Id: I7192e3a82880dc3c3995000c029af4e0aabd8d6c
- add strict tests in template data verification to help understand
- add traceback in scenario evaluator design document
- rename example templates with a more meaningful name
Change-Id: Ie5a9c34fcd6fdac3bf9d4552a0c92fb569c075fc