[Bug 1463844] Re: Missing logrotate configuration for vpn_agent and metering_agent
Launchpad Bug Tracker
1463844 at bugs.launchpad.net
Wed Jul 8 04:12:37 UTC 2015
This bug was fixed in the package neutron - 1:2014.1.5-0ubuntu1
---------------
neutron (1:2014.1.5-0ubuntu1) trusty; urgency=medium
* Resynchronize with stable/icehouse (877df58) (LP: #1467533):
- [cae7108] Fix enable_snat column migration for Postgres + SQLite
- [61571b4] Persist DHCP leases to a local database
- [fba8d9b] Process port IP requests before subnet requests
- [43fe809] Don't resync on DHCP agent setup failure
- [91cc867] Deal with PEP-0476 certificate chaining checking
- [877df58] Ignore http_proxy while connecting to test WSGI server
-- Corey Bryant <corey.bryant at canonical.com> Mon, 22 Jun 2015 10:14:52
-0400
** Changed in: neutron (Ubuntu Trusty)
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 Committed
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