logrotate ignores apache logs in /var/log/containers/httpd

Bug #1731931 reported by Martin André
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Bogdan Dobrelya

Bug Description

The logrotate configuration rotate logs matching the following glob:

/var/log/containers/*/*.log

https://github.com/openstack/puppet-tripleo/blob/70987c80c1212e0ad50c4a7600cbf1665f673cc2/templates/logrotate/containers_logrotate.conf.erb#L1

This leave out all the apache logs in /var/log/containers/httpd/<service>.

Martin André (mandre)
Changed in tripleo:
importance: High → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

Fix proposed to branch: master
Review: https://review.openstack.org/519368

Changed in tripleo:
assignee: nobody → Bogdan Dobrelya (bogdando)
status: Triaged → In Progress
tags: added: pike-backport-potential
Changed in tripleo:
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/519368
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=91472c0de4147aa5d32390aa2c2b5496b50e900f
Submitter: Zuul
Branch: master

commit 91472c0de4147aa5d32390aa2c2b5496b50e900f
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Nov 13 15:24:53 2017 +0100

    Fix logrotate containers log

    Adjust logrotate conf to match httpd logs from
    nested directories

    Closes-bug: #1731931

    Change-Id: Id518ade2eebe0761cf9c497c7b949b82b182c1f9
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/519564

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/pike)

Reviewed: https://review.openstack.org/519564
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=8de2db74d572eb62ba6fab249d8daaec4731cbae
Submitter: Zuul
Branch: stable/pike

commit 8de2db74d572eb62ba6fab249d8daaec4731cbae
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Nov 13 15:24:53 2017 +0100

    Fix logrotate containers log

    Adjust logrotate conf to match httpd logs from
    nested directories

    Closes-bug: #1731931

    Change-Id: Id518ade2eebe0761cf9c497c7b949b82b182c1f9
    Signed-off-by: Bogdan Dobrelya <email address hidden>
    (cherry picked from commit 91472c0de4147aa5d32390aa2c2b5496b50e900f)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 7.4.5

This issue was fixed in the openstack/puppet-tripleo 7.4.5 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 8.1.0

This issue was fixed in the openstack/puppet-tripleo 8.1.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.