[Bug 1463844] Re: Missing logrotate configuration for vpn_agent and metering_agent

Jorge Niedbalski 1463844 at bugs.launchpad.net
Wed Jun 10 15:08:20 UTC 2015


** Description changed:

  [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.

** Patch added: "Trusty Patch"
   https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1463844/+attachment/4412651/+files/fix-lp-1463844-trusty.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1463844

Title:
  Missing logrotate configuration for vpn_agent and metering_agent

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1463844/+subscriptions



More information about the Ubuntu-server-bugs mailing list