Update url for sova query source

Moving the source of sova queries as we are now generating sova queries from a single readable query file for both Elastic recheck and Sova.

Depends-On: https://review.opendev.org/c/openstack/tripleo-ci-health-queries/+/798958

Change-Id: I7a4cea605fe39fc086333d51cc75720c9b8243ad
changes/02/787502/11
frenzyfriday 2 years ago committed by Shnaidman Sagi (Sergey)
parent c9358e211b
commit 0f2adf2857
  1. 13
      roles/collect_logs/molecule/sova/verify.yml
  2. 2
      roles/collect_logs/tasks/sova.yml

@ -1,13 +1,24 @@
---
- hosts: all
tasks:
- name: Ls {{ ansible_user_dir }}/workspace/logs/ # remove before merge
command: ls -la {{ ansible_user_dir }}/workspace/logs/
changed_when: false
register: test_output
- name: debug test # remove before merge
debug: var=test_output
- name: Ensure all files exists
stat:
path: "{{ ansible_user_dir }}/workspace/logs/failures_file"
path: "{{ item }}"
register: failures_file
loop:
- "{{ ansible_user_dir }}/workspace/logs/failures_file"
- "{{ ansible_user_dir }}/workspace/logs/_No_valid_host_was_found.log"
loop_control:
label: '{{ item.split("/")[-1] }}'
- name: Ensure all files exists - test
assert:

@ -1,7 +1,7 @@
---
- name: Load sova patterns from URL
uri:
url: https://opendev.org/openstack/tripleo-ci-health-queries/raw/branch/master/output/sova-patterns.json
url: https://opendev.org/openstack/tripleo-ci-health-queries/raw/branch/master/output/sova-pattern-generated.json
method: GET
return_content: true
status_code: 200

Loading…
Cancel
Save