logrotate file for neutron-common does not contain rotate line

Bug #1833088 reported by Diko Parvanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Neutron Gateway Charm
Invalid
Undecided
Unassigned
neutron (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Deployed rev. 262 of the charm, checked the /etc/logrotate.d/neutron-common and the files does not contain a 'rotate' keyword:

/var/log/neutron/*.log {
    daily
    missingok
    compress
    delaycompress
    notifempty
    copytruncate
}

This also was noticed on other neutron and nova charms.

Revision history for this message
James Page (james-page) wrote :

This presumably results in indefinate retention of rotated log files?

Changed in charm-neutron-gateway:
status: New → Invalid
Revision history for this message
James Page (james-page) wrote :

Well not quite as the default is '4' so 4 days of log files.

Changed in neutron (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
James Page (james-page) wrote :

Hi Diko

What's your expectation on behaviour? does the default of 4 days worth of log files not meeting some sort of requirement?

Revision history for this message
James Page (james-page) wrote :

Confirmed on one of my longer running deployments:

$ ls -lrt
total 102684
-rw-r--r-- 1 neutron adm 15340943 Jul 15 06:25 neutron-server.log.4.gz
-rw-r--r-- 1 neutron adm 18282351 Jul 16 06:25 neutron-server.log.3.gz
-rw-r--r-- 1 neutron adm 12212099 Jul 17 06:25 neutron-server.log.2.gz
-rw-r--r-- 1 neutron adm 57340511 Jul 18 06:25 neutron-server.log.1
-rw-r--r-- 1 neutron adm 1952142 Jul 18 07:06 neutron-server.log

Changed in neutron (Ubuntu):
importance: Low → Undecided
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron (Ubuntu) because there has been no activity for 60 days.]

Changed in neutron (Ubuntu):
status: Incomplete → Expired
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.