Fix log rotation issue on services

This patch fix log rotation issue on the following services/program:
- ceph
- chrony
- collectd
- congress
- etcd
- influxdb
- ironic
- kibana
- kuryr
- mongodb
- rally
- tempest
- trove

Change-Id: I1246c071b7340b3267226cefb64a04da1cce9f26
Closes-Bug: #1688649
This commit is contained in:
Bertrand Lallau 2017-05-05 22:37:25 +02:00
parent 97a5b1ecc3
commit 5c62baac66
15 changed files with 65 additions and 0 deletions

View File

@ -79,10 +79,15 @@
- { name: "aodh", enabled: "{{ enable_aodh }}" } - { name: "aodh", enabled: "{{ enable_aodh }}" }
- { name: "barbican", enabled: "{{ enable_barbican }}" } - { name: "barbican", enabled: "{{ enable_barbican }}" }
- { name: "ceilometer", enabled: "{{ enable_ceilometer }}" } - { name: "ceilometer", enabled: "{{ enable_ceilometer }}" }
- { name: "ceph", enabled: "{{ enable_ceph }}" }
- { name: "chrony", enabled: "{{ enable_chrony }}" }
- { name: "cinder", enabled: "{{ enable_cinder }}" } - { name: "cinder", enabled: "{{ enable_cinder }}" }
- { name: "cloudkitty", enabled: "{{ enable_cloudkitty }}" } - { name: "cloudkitty", enabled: "{{ enable_cloudkitty }}" }
- { name: "collectd", enabled: "{{ enable_collectd }}" }
- { name: "congress", enabled: "{{ enable_congress }}" }
- { name: "designate", enabled: "{{ enable_designate }}" } - { name: "designate", enabled: "{{ enable_designate }}" }
- { name: "elasticsearch", enabled: "{{ enable_elasticsearch }}" } - { name: "elasticsearch", enabled: "{{ enable_elasticsearch }}" }
- { name: "etcd", enabled: "{{ enable_etcd }}" }
- { name: "freezer", enabled: "{{ enable_freezer }}" } - { name: "freezer", enabled: "{{ enable_freezer }}" }
- { name: "glance", enabled: "{{ enable_glance }}" } - { name: "glance", enabled: "{{ enable_glance }}" }
- { name: "global", enabled: "yes" } - { name: "global", enabled: "yes" }
@ -90,25 +95,33 @@
- { name: "grafana", enabled: "{{ enable_grafana }}" } - { name: "grafana", enabled: "{{ enable_grafana }}" }
- { name: "haproxy", enabled: "{{ enable_haproxy }}" } - { name: "haproxy", enabled: "{{ enable_haproxy }}" }
- { name: "heat", enabled: "{{ enable_heat }}" } - { name: "heat", enabled: "{{ enable_heat }}" }
- { name: "influxdb", enabled: "{{ enable_influxdb }}" }
- { name: "ironic", enabled: "{{ enable_ironic }}" }
- { name: "iscsid", enabled: "{{ enable_iscsid }}" } - { name: "iscsid", enabled: "{{ enable_iscsid }}" }
- { name: "karbor", enabled: "{{ enable_karbor }}" } - { name: "karbor", enabled: "{{ enable_karbor }}" }
- { name: "keepalived", enabled: "{{ enable_haproxy }}" } - { name: "keepalived", enabled: "{{ enable_haproxy }}" }
- { name: "keystone", enabled: "{{ enable_keystone }}" } - { name: "keystone", enabled: "{{ enable_keystone }}" }
- { name: "kibana", enabled: "{{ enable_kibana }}" }
- { name: "kuryr", enabled: "{{ enable_kuryr }}" }
- { name: "magnum", enabled: "{{ enable_magnum }}" } - { name: "magnum", enabled: "{{ enable_magnum }}" }
- { name: "manila", enabled: "{{ enable_manila }}" } - { name: "manila", enabled: "{{ enable_manila }}" }
- { name: "mariadb", enabled: "{{ enable_mariadb }}" } - { name: "mariadb", enabled: "{{ enable_mariadb }}" }
- { name: "mistral", enabled: "{{ enable_mistral }}" } - { name: "mistral", enabled: "{{ enable_mistral }}" }
- { name: "mongodb", enabled: "{{ enable_mongodb }}" }
- { name: "murano", enabled: "{{ enable_murano }}" } - { name: "murano", enabled: "{{ enable_murano }}" }
- { name: "neutron", enabled: "{{ enable_neutron }}" } - { name: "neutron", enabled: "{{ enable_neutron }}" }
- { name: "nova", enabled: "{{ enable_nova }}" } - { name: "nova", enabled: "{{ enable_nova }}" }
- { name: "octavia", enabled: "{{ enable_octavia }}" } - { name: "octavia", enabled: "{{ enable_octavia }}" }
- { name: "panko", enabled: "{{ enable_panko }}" } - { name: "panko", enabled: "{{ enable_panko }}" }
- { name: "rabbitmq", enabled: "{{ enable_rabbitmq }}" } - { name: "rabbitmq", enabled: "{{ enable_rabbitmq }}" }
- { name: "rally", enabled: "{{ enable_rally }}" }
- { name: "sahara", enabled: "{{ enable_sahara }}" } - { name: "sahara", enabled: "{{ enable_sahara }}" }
- { name: "searchlight", enabled: "{{ enable_searchlight }}" } - { name: "searchlight", enabled: "{{ enable_searchlight }}" }
- { name: "senlin", enabled: "{{ enable_senlin }}" } - { name: "senlin", enabled: "{{ enable_senlin }}" }
- { name: "solum", enabled: "{{ enable_solum }}" } - { name: "solum", enabled: "{{ enable_solum }}" }
- { name: "swift", enabled: "{{ enable_swift }}" } - { name: "swift", enabled: "{{ enable_swift }}" }
- { name: "tacker", enabled: "{{ enable_tacker }}" } - { name: "tacker", enabled: "{{ enable_tacker }}" }
- { name: "tempest", enabled: "{{ enable_tempest }}" }
- { name: "trove", enabled: "{{ enable_trove }}" }
- { name: "watcher", enabled: "{{ enable_watcher }}" } - { name: "watcher", enabled: "{{ enable_watcher }}" }
- { name: "zun", enabled: "{{ enable_zun }}" } - { name: "zun", enabled: "{{ enable_zun }}" }

View File

@ -0,0 +1,3 @@
"/var/log/kolla/ceph/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/chrony/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/collectd/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/congress/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/etcd/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/influxdb/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/ironic/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/kibana/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/kuryr/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/mongodb/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/rally/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/tempest/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/trove/*.log"
{
}

View File

@ -4,36 +4,49 @@
( 'aodh', enable_aodh ), ( 'aodh', enable_aodh ),
( 'barbican', enable_barbican ), ( 'barbican', enable_barbican ),
( 'ceilometer', enable_ceilometer ), ( 'ceilometer', enable_ceilometer ),
( 'ceph', enable_ceph ),
( 'chrony', enable_chrony ),
( 'cinder', enable_cinder ), ( 'cinder', enable_cinder ),
( 'cloudkitty', enable_cloudkitty ), ( 'cloudkitty', enable_cloudkitty ),
( 'collectd', enable_collectd ),
( 'congress', enable_congress ),
( 'designate', enable_designate ), ( 'designate', enable_designate ),
( 'elasticsearch', enable_elasticsearch ), ( 'elasticsearch', enable_elasticsearch ),
( 'etcd', enable_etcd ),
( 'freezer', enable_freezer ), ( 'freezer', enable_freezer ),
( 'glance', enable_glance ), ( 'glance', enable_glance ),
( 'gnocchi', enable_gnocchi ), ( 'gnocchi', enable_gnocchi ),
( 'grafana', enable_grafana ), ( 'grafana', enable_grafana ),
( 'haproxy', enable_haproxy ), ( 'haproxy', enable_haproxy ),
( 'heat', enable_heat ), ( 'heat', enable_heat ),
( 'influxdb', enable_influxdb ),
( 'ironic', enable_ironic ),
( 'iscsid', enable_iscsid ), ( 'iscsid', enable_iscsid ),
( 'karbor', enable_karbor ), ( 'karbor', enable_karbor ),
( 'keepalived', enable_haproxy ), ( 'keepalived', enable_haproxy ),
( 'keystone', enable_keystone ), ( 'keystone', enable_keystone ),
( 'kibana', enable_kibana ),
( 'kuryr', enable_kuryr ),
( 'magnum', enable_magnum ), ( 'magnum', enable_magnum ),
( 'manila', enable_manila ), ( 'manila', enable_manila ),
( 'mariadb', enable_mariadb ), ( 'mariadb', enable_mariadb ),
( 'mistral', enable_mistral ), ( 'mistral', enable_mistral ),
( 'mongdb', enable_mongodb ),
( 'murano', enable_murano ), ( 'murano', enable_murano ),
( 'neutron', enable_neutron ), ( 'neutron', enable_neutron ),
( 'nova', enable_nova ), ( 'nova', enable_nova ),
( 'octavia', enable_octavia ), ( 'octavia', enable_octavia ),
( 'panko', enable_panko ), ( 'panko', enable_panko ),
( 'rabbitmq', enable_rabbitmq ), ( 'rabbitmq', enable_rabbitmq ),
( 'rally', enable_rally ),
( 'sahara', enable_sahara ), ( 'sahara', enable_sahara ),
( 'searchlight', enable_searchlight ), ( 'searchlight', enable_searchlight ),
( 'senlin', enable_senlin ), ( 'senlin', enable_senlin ),
( 'solum', enable_solum ), ( 'solum', enable_solum ),
( 'swift', enable_swift ), ( 'swift', enable_swift ),
( 'tacker', enable_tacker ), ( 'tacker', enable_tacker ),
( 'tempest', enable_tempest ),
( 'trove', enable_trove ),
( 'watcher', enable_watcher ), ( 'watcher', enable_watcher ),
( 'zun', enable_zun ) ( 'zun', enable_zun )
] %} ] %}