diff --git a/elastic_recheck/elasticRecheck.py b/elastic_recheck/elasticRecheck.py index bbb8c1f9..464215d1 100644 --- a/elastic_recheck/elasticRecheck.py +++ b/elastic_recheck/elasticRecheck.py @@ -37,9 +37,20 @@ def required_files(job): 'logs/screen-n-api.txt', 'logs/screen-n-cpu.txt', 'logs/screen-n-sch.txt', + 'logs/screen-g-api.txt', 'logs/screen-c-api.txt', 'logs/screen-c-vol.txt', 'logs/syslog.txt']) + # we could probably add more neutron files + # but currently only q-svc is used in queries + if re.match("neutron", job): + files.extend([ + 'logs/screen-q-svc.txt', + ]) + else: + files.extend([ + 'logs/screen-n-net.txt', + ]) return files