fuel-library/deployment/puppet
Bartłomiej Piotrowski dd0eacc460 Make log rotation more bulletproof
- use flock to ensure that only one instance of fuel-logrotate is running
- combine centos and ubuntu versions of fuel-logrotate to a single file
- remove unused versions of fuel-logrotate file
- enable delayed compression in system-wide logrotate.conf to avoid race
  condition between fuel-logrotate and regular logrotate
- enable delaycompress also on master node
- default minsize (30M) and maxsize (100M) in system-wide logrotate.conf
- use file_line for logrotate.conf updates
- use bash to execute fuel-logrotate
- fix path to cron's logrotate script in logrotate-debug

This commit changes default behavior of logrotate by enabling compress
and delaycompress. The result is that compression is enabled for all log
files managed by logrotate and rotated logs are compressed only on the next
rotation. It allows us to resolve rotation cycle that might happen when
both regular logrotate and fuel-logrotate were executed at the same
time, causing both to rotate the same file.

Closes-Bug: 1461400
Doc-Impact: ops guide
Change-Id: I94c497a8916fa6fac87ea2ddc51f6de56ab73f98
Co-Authored-By: Alex Schultz <aschultz@mirantis.com>
2015-06-08 12:11:55 -05:00
..
anacron Make log rotation more bulletproof 2015-06-08 12:11:55 -05:00
apache API proxy: enable the proxy_connect module 2015-01-21 23:20:18 +01:00
apt Sync apt module from puppetlabs 2015-04-14 11:49:06 +02:00
ceilometer Start ceilometer resource agents 2015-02-18 16:30:59 +00:00
ceilometer_ha/manifests All the work done for fuel-library packaging 2015-05-15 02:44:53 +03:00
ceph Fix successful deployment with all non-working monitors 2015-05-22 20:02:35 +00:00
cinder Merge "Fix typo in Ceph backup driver for Cinder" 2015-01-23 10:17:51 +00:00
cluster Merge "Turn off conntrackd logging" 2015-05-29 17:13:01 +00:00
cobbler Disable 512b sector 2015-05-26 22:09:04 +02:00
common Replace concat.rb with latest stdlib equivalent 2014-05-21 16:21:02 +00:00
concat Cherry-pick fix from puppetlabs-concat 2015-05-16 01:58:17 +02:00
corosync Fixes for pcmk_nodes and crm_node 2015-05-14 17:29:05 +03:00
deployment_groups Remove the task cinder from dependencies of the task cinder-vmware 2015-05-21 12:07:12 +03:00
docker Add timeout to restore 2015-05-19 20:31:10 +03:00
epel Add openstack_extras and epel dependency 2014-10-15 10:26:03 +02:00
filemapper Add upstream puppet modules 2015-03-05 10:51:47 +03:00
firewall Sync firewall module from puppetlabs upstream 2014-06-06 13:06:12 +03:00
galera All the work done for fuel-library packaging 2015-05-15 02:44:53 +03:00
glance Add endpoint type parameter 2015-05-13 18:31:30 +03:00
haproxy Backward-compatible commit for packaging of fuel-library 2015-04-16 11:23:29 +03:00
heat Add retries to heat domain creation command 2015-05-17 21:51:32 +03:00
heat_ha/manifests All the work done for fuel-library packaging 2015-05-15 02:44:53 +03:00
horizon Add option to set Horizon memcache driver to correct template 2015-05-19 20:18:02 +02:00
inifile Sync inifile with upstream 2014-09-04 16:55:25 +03:00
keystone Enable keystone wsgi support 2015-05-12 18:05:59 +03:00
l23network Merge "Specify default delay while boot for LACP bonds." 2015-05-21 17:38:27 +00:00
lvm Sync puppet module lvm to v0.3.1 from upstream 2014-06-24 14:58:55 +04:00
mcollective Disable rabbitmq management plugin 2015-05-21 09:02:25 +00:00
mellanox_openstack Fix OFED install failure on Ubuntu 2014-12-08 10:37:58 +02:00
memcached Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
mongodb Fix mongo logs verbosity 2015-03-17 20:28:54 +00:00
monit Del unused parameter in monit::process 2014-10-20 09:21:00 +00:00
murano Fix murano application package and heat startup 2015-06-02 13:07:03 +03:00
mysql Change wait_timeout in MySQL for zabbix node 2015-03-31 15:59:56 +00:00
nailgun Change master postgres log directory to /var/log 2015-05-26 18:02:03 +03:00
neutron Add retries to nova_admin_tenant_id_setter 2015-05-05 10:21:47 +02:00
nova Make package 'bridge-utils' usage safe 2015-04-27 17:10:53 +03:00
ntp Change NTP module 2015-04-09 14:17:56 +03:00
openssl Merge "Merge camptocamp/openssl upstream module" 2015-02-20 12:55:12 +00:00
openstack Make log rotation more bulletproof 2015-06-08 12:11:55 -05:00
openstack_extras Add openstack_extras and epel dependency 2014-10-15 10:26:03 +02:00
operatingsystem
osnailyfacter Merge "Fix murano application package and heat startup" 2015-06-02 19:55:56 +00:00
pacemaker Add crm_node remove to pcmk_nodes 2015-05-15 13:06:52 +03:00
pacemaker_wrappers Add second monitor operation to check RabbitMQ 2015-05-27 21:20:03 +03:00
postgresql Rebase postgresql to puppetlabs-postgresql-4.0.0 2014-10-27 14:26:40 +00:00
puppet The first group of separate roles 2015-01-12 11:33:11 +01:00
puppet-network
puppetmaster havana syntax fix 2013-11-11 15:37:58 +04:00
qpid Cleanup for file modes 2013-12-19 02:50:19 +04:00
rabbitmq Improve rabbitmq retry function 2015-04-02 18:39:14 +00:00
rsync Merge "Sync puppet module rsync to v0.3.0 from upstream" 2014-10-13 18:40:58 +00:00
rsyslog Merge "Ensure files created by rsyslog have correct permissions" 2015-03-10 09:25:50 +00:00
sahara Add Sahara templates for HDP 2.2.0 2015-05-07 17:38:02 +00:00
ssh Updated ssh module 2015-01-28 11:43:38 +01:00
staging Add retries for rabbitmqadmin file 2015-01-13 12:25:45 +01:00
stdlib Fix a typo and change elsif to else 2014-10-14 10:16:29 +00:00
swift Add support for DLO configuration in swift 2015-04-22 09:30:50 +00:00
sysctl Revert "Sync sysctl module to v0.0.4 from upstream" 2014-07-03 16:23:07 +00:00
sysfs Implement sysfs values management resource 2015-05-26 14:24:30 +00:00
tweaks/manifests Create a wrapper to apache start and stop 2015-05-28 12:34:21 +00:00
umm Fix "Disabled UMM" functionality 2015-05-21 11:32:14 +03:00
vcsrepo
vmware Merge "Fix cinder-vmware failing on Ubuntu" 2015-04-24 08:11:15 +00:00
xinetd Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
zabbix Add noop tests for files injection 2015-05-13 21:30:25 +03:00