Logstash 6 embedded config does not include logs removal

Bug #1886975 reported by Bartosz Bezak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Unassigned
Train
Fix Released
Medium
Bartosz Bezak
Ussuri
Fix Released
Medium
Bartosz Bezak
Victoria
Won't Fix
Medium
Unassigned

Bug Description

Logstash 6 introduced in Centos 8 in Train release comes with log4j2 configuration that does not remove old compressed logs after rotation
https://github.com/elastic/logstash/issues/11883

these changes from Logstash 7 should be implemented into log4j2 config - https://github.com/elastic/logstash/commit/1ea1d1982d4174868f8de6c09be2e695b3e6597c

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/740635

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/740906

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/ussuri)

Reviewed: https://review.opendev.org/740635
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=15f2af1b0217da0a0281268442202f22915570a1
Submitter: Zuul
Branch: stable/ussuri

commit 15f2af1b0217da0a0281268442202f22915570a1
Author: Bartosz Bezak <email address hidden>
Date: Mon Jul 13 08:37:25 2020 +0000

    Fix Logstash 6 log rotation - Stable/Ussuri

    Logstash 6 introduced in Centos 8 in Train release comes with log4j2
    configuration that does not remove old compressed logs after rotation
    Log rotation config backported from Logstash 7 - Combination of Size
    Based and Time Based policies. Deletion occurs after 30 days or
    3000 MB log files size - whichever comes first.

    Change-Id: Ib44f493aad0813a8aba916c7c353b60cab954b5f
    Closes-Bug: #1886975

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/train)

Reviewed: https://review.opendev.org/740906
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=102ae176bfaebf10c041bb5fbaa8fa62215a5801
Submitter: Zuul
Branch: stable/train

commit 102ae176bfaebf10c041bb5fbaa8fa62215a5801
Author: Bartosz Bezak <email address hidden>
Date: Mon Jul 13 08:37:25 2020 +0000

    Fix Logstash 6 log rotation - Stable/Train

    Logstash 6 introduced in Centos 8 in Train release comes with log4j2
    configuration that does not remove old compressed logs after rotation
    Log rotation config backported from Logstash 7 - Combination of Size
    Based and Time Based policies. Deletion occurs after 30 days or
    3000 MB log files size - whichever comes first.

    Change-Id: Ib44f493aad0813a8aba916c7c353b60cab954b5f
    (cherry picked from commit 15f2af1b0217da0a0281268442202f22915570a1)
    Closes-Bug: #1886975

Mark Goddard (mgoddard)
Changed in kolla:
status: New → Fix Committed
Mark Goddard (mgoddard)
Changed in kolla:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 10.2.0

This issue was fixed in the openstack/kolla 10.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 9.3.0

This issue was fixed in the openstack/kolla 9.3.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.