Update the keystone files in logstash worker config

Over time the keystone log file location has evolved in part due to
keystone dropping support for eventlet and relying on wsgi servers to
host keystone. We have gone through the following iterations of log
locations:

  logs/screen-key.txt # Eventlet based log file
  logs/apache/keystone.txt # Apache + wsgi < pike location
  logs/screen-keystone.txt # Apache + uwsgi + system >= pike location

Since eventlet is completely gone at this point we drop all support the
the screen-key.txt log name. We add in support for screen-keystone.txt
which was missing and update the comments around apache/keystone.txt to
indicate it is < pike (so will only be present on older branches and in
grenade jobs).

Change-Id: I8b04a8ee6c6ab45ffac47119df307a86cd3c2c23
This commit is contained in:
Clark Boylan 2017-07-24 09:38:09 -07:00
parent 0f1333785c
commit f050d9c2a8
1 changed files with 5 additions and 12 deletions

View File

@ -149,12 +149,15 @@ source-files:
tags:
- screen
- oslofmt
- name: logs/screen-key.txt
# This file is used on branches >= pike.
- name: logs/screen-keystone.txt
tags:
- screen
- oslofmt
# even though keystone is going through apache, it modifies log
# format to oslo format
# format to oslo format. This file is used on branches < pike.
# Note that it is also present on grenade jobs and does not have
# a new vs old split.
- name: logs/apache/keystone.txt
tags:
- screen
@ -350,11 +353,6 @@ source-files:
- screen
- oslofmt
job-filter: '.*grenade.*'
- name: logs/new/screen-key.txt
tags:
- screen
- oslofmt
job-filter: '.*grenade.*'
- name: logs/new/screen-n-api.txt
tags:
- screen
@ -476,11 +474,6 @@ source-files:
- screen
- oslofmt
job-filter: '.*grenade.*'
- name: logs/old/screen-key.txt
tags:
- screen
- oslofmt
job-filter: '.*grenade.*'
- name: logs/old/screen-n-api.txt
tags:
- screen