[Bug 1463844] Re: Missing logrotate configuration for vpn_agent and metering_agent
Launchpad Bug Tracker
1463844 at bugs.launchpad.net
Wed Jul 8 13:17:04 UTC 2015
This bug was fixed in the package neutron - 1:2014.2.3-0ubuntu2
---------------
neutron (1:2014.2.3-0ubuntu2) utopic; urgency=medium
* d/*.logrotate,neutron-common.logrotate: Backport from vivid,
Move to single logrotate configuration. (LP: #1463844).
-- Jorge Niedbalski <jorge.niedbalski at canonical.com> Wed, 10 Jun 2015
10:29:50 -0500
** Changed in: neutron (Ubuntu Utopic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1463844
Title:
Missing logrotate configuration for vpn_agent and metering_agent
Status in neutron package in Ubuntu:
Fix Released
Status in neutron source package in Trusty:
Fix Released
Status in neutron source package in Utopic:
Fix Released
Bug description:
[Environment]
Trusty 14.04.2
Neutron 2014.1.4
[Description]
The logrotate configuration that comes with the neutron package, has a separated
logrotate configurationfor each services, but doesn't includes some of them such
as vpn_agent and metering_agent.
A common logrotate file such as the one used on vivid, should be
backported.
[Impact]
* Some agents such as vpn_agent and metering doesn't have
default logrotation configured, this can lead to systems with full disks
due to the lack of default rotation.
[Test Case]
* Install the current neutron-server package and neutron-plugin-vpn-agent.
* There is no configuration for vpn-agent on /etc/logrotate.d/
* Install the package with this change applied, you will find a /etc/logrotate.d/neutron-common file with the following declaration:
more /etc/logrotate.d/neutron-common
/var/log/neutron/*.log {
daily
missingok
compress
delaycompress
notifempty
copytruncate
}
[Regression Potential]
* If anybody relies on special configuration for logrotation logs
in current locations then will have to migrate this to neutron-common.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1463844/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list