make tripleo-health a little easier

Change-Id: I879057e401e3a15f41d9a5dfef8b65ad21e804fe
This commit is contained in:
Wesley Hayutin 2021-05-26 10:27:38 -06:00 committed by frenzyfriday
parent c9ededd7ad
commit d64320bff6
4 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,19 @@
# How to get this going quickly...
1. Add the query to queries.yml
2. Add an associated local sova query to sova-pattens.yml
3. Add a blob of text from the error you would like to test against to errors.txt
Note: the softlinks
errors.txt ---> samples/errors-testing.err
queries.yml ---> src/data/queries.yml
sova-patterns.yml ---> src/data/sova-patterns.yml
4. Execute tox
5. Submit patch
6. GREAT SUCCESS!
# queries
Hosts reusable log queries which are built into a single queries.json file.

1
errors.txt Symbolic link
View File

@ -0,0 +1 @@
samples/errors-testing.err

1
queries.yml Symbolic link
View File

@ -0,0 +1 @@
src/data/queries.yml

1
sova-patterns.yml Symbolic link
View File

@ -0,0 +1 @@
src/data/sova-patterns.yml