ensure all the required files are there

add in neutron, glance, and n-net logs as required files when
appropriate. This will help ensure that we don't miss a pattern
because we searched before the log was in the system.

Change-Id: Ia8f2cdedfc9964f1d9589fda253174e972fcc770
This commit is contained in:
Sean Dague 2014-02-07 09:13:41 -05:00
parent 0170e4f97f
commit 2224bfbe98

View File

@ -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