run logrotate more frequently if env is in debug mode

Bug #1393404 reported by Matthew Mosesohn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Matthew Mosesohn
5.1.x
Fix Committed
High
Matthew Mosesohn
6.0.x
Fix Committed
High
Matthew Mosesohn

Bug Description

We should run logrotate more often for debug mode deployments. This is related to extremely verbose logging of MongoDB and ceilometer that could fill up smaller disks. Compressing more often means fewer total logs are retained, but reduces the risk of running out of space and crashing nodes.

Tags: logging
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/134973
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=498350bbc71283529bf5201773e4e00f10106a88
Submitter: Jenkins
Branch: master

commit 498350bbc71283529bf5201773e4e00f10106a88
Author: Matthew Mosesohn <email address hidden>
Date: Mon Nov 17 18:36:15 2014 +0400

    Logrotate more aggressively on debug mode

    Debug log rotation occurs every 10 minutes,
    so that disk space can be conserved when running
    applications with high volume of logs.

    Change-Id: Ia50d3b0ec96a9ef411238bea0e6d162ca02ebe08
    Closes-Bug: #1393404

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.1)

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/135224

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.1)

Reviewed: https://review.openstack.org/135224
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=ca0fe4d1ce1d6f848adb0d793c317f8e75fa978a
Submitter: Jenkins
Branch: stable/5.1

commit ca0fe4d1ce1d6f848adb0d793c317f8e75fa978a
Author: Matthew Mosesohn <email address hidden>
Date: Mon Nov 17 18:36:15 2014 +0400

    Logrotate more aggressively on debug mode

    Debug log rotation occurs every 10 minutes,
    so that disk space can be conserved when running
    applications with high volume of logs.

    Change-Id: Ia50d3b0ec96a9ef411238bea0e6d162ca02ebe08
    Closes-Bug: #1393404
    (cherry picked from commit 498350bbc71283529bf5201773e4e00f10106a88)

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Actually this fix was accepted for 5.1.1 and we missed the status update for this bug. I cannot assign it now to 5.1.1 because it is closed, so I put 5.1.2 fix committed as well

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.