No logrotate config in containers

Bug #1438417 reported by Paul Halmos
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
Undecided
Unassigned
Icehouse
Won't Fix
High
David Wilde
Juno
Fix Released
High
Tom
Trunk
Invalid
Undecided
Unassigned

Bug Description

Openstack services are missing logrotate configs within containers. As a result logs do not rotate and get very large.

-rw-r--r-- 1 nova nova 2.2G Mar 30 13:42 nova-api-os-compute.log

Should add at a minimum to each container:

/var/log/(NOVA|CINDER|etc..)/*.log {
    weekly
    rotate 4
    missingok
    compress
    minsize 100k
}

Tags: in-kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (juno)

Fix proposed to branch: juno
Review: https://review.openstack.org/199273

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (kilo)

Fix proposed to branch: kilo
Review: https://review.openstack.org/204285

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (juno)

Reviewed: https://review.openstack.org/199273
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=0489251e77d5141b2d277a2be46faa732dff9645
Submitter: Jenkins
Branch: juno

commit 0489251e77d5141b2d277a2be46faa732dff9645
Author: Tom Jose kalapura <email address hidden>
Date: Tue Jul 7 13:51:47 2015 -0700

    Introduce logrotate in all Openstack containers.

    Enable logrotate for all openstack containers service logs.

    Change-Id: I1d42b13f88663edb94d6ce28044031afd1c15f00
    Closes-Bug: #1438417

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (kilo)

Reviewed: https://review.openstack.org/204285
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=2c0da9148748d6d2a36acc5ebc7cbf0752464c3c
Submitter: Jenkins
Branch: kilo

commit 2c0da9148748d6d2a36acc5ebc7cbf0752464c3c
Author: kevin <email address hidden>
Date: Tue Jul 21 17:14:56 2015 -0500

    Added entry to cleanup Juno logrotate config

    This ensures that the log rotate options set in juno do not conflict with the
    configs being generated in Kilo.

    Change-Id: If8cb59c0f104ea65b625e0a7dc2393973149b3fb
    Partial-Bug: #1438417

tags: added: in-kilo
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.