Fix Logstash 2.4 log rotation
Logstash 2.4 uses integrated in container logrotate configuration
which tries to rotate logs in /var/log/logstash and Kolla's Logstash
logs are in /var/log/kolla/logstash/
This patch adds kolla-ansible internal logrotate config for Logstash
Change-Id: Ifbab7b673ba87925e52bb01c0996479eb1b76c44
Closes-Bug: #1886787
(cherry picked from commit 0e353d3f57
)
This commit is contained in:
parent
c6e813ee8a
commit
da1267e609
@ -291,6 +291,7 @@
|
||||
- { name: "keystone", enabled: "{{ enable_keystone }}" }
|
||||
- { name: "kibana", enabled: "{{ enable_kibana }}" }
|
||||
- { name: "kuryr", enabled: "{{ enable_kuryr }}" }
|
||||
- { name: "logstash", enabled: "{{ enable_monasca }}" }
|
||||
- { name: "magnum", enabled: "{{ enable_magnum }}" }
|
||||
- { name: "manila", enabled: "{{ enable_manila }}" }
|
||||
- { name: "mariadb", enabled: "{{ enable_mariadb }}" }
|
||||
|
@ -0,0 +1,3 @@
|
||||
"/var/log/kolla/logstash/*.log"
|
||||
{
|
||||
}
|
@ -31,6 +31,7 @@
|
||||
( 'keystone', enable_keystone ),
|
||||
( 'kibana', enable_kibana ),
|
||||
( 'kuryr', enable_kuryr ),
|
||||
( 'logstash', enable_monasca ),
|
||||
( 'magnum', enable_magnum ),
|
||||
( 'manila', enable_manila ),
|
||||
( 'mariadb', enable_mariadb ),
|
||||
|
9
releasenotes/notes/bug-1886787-013164ffc2f67264.yaml
Normal file
9
releasenotes/notes/bug-1886787-013164ffc2f67264.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
This patch adds ``kolla-ansible`` internal logrotate config for
|
||||
Logstash. Logstash 2.4 uses integrated in container logrotate
|
||||
configuration which tries to rotate logs in /var/log/logstash
|
||||
while ``kolla-ansible`` deployed Logstash logs are in
|
||||
/var/log/kolla/logstash.
|
||||
`LP#1886787 <https://launchpad.net/bugs/1886787>`__
|
Loading…
Reference in New Issue
Block a user