Add logrotate configuration for ironic inspector

Logrotate configuration is missing for ironic-inspector. Prior to [1],
ironic-inspector logs were stored in
kolla_logs/ironic/ironic-inspector.log. After [1], the logs
are stored in kolla_logs/ironic-inspector/ironic-inspector.log
but the logrotate config was not updated.

[1]
07453f3460

Change-Id: I7e78faea361cd67069c1a96aaf0a2ffffc0e8666
Closes-Bug: #1701578
This commit is contained in:
Mark Goddard 2017-06-30 15:26:40 +01:00
parent 3a765500ce
commit c70285068c
3 changed files with 5 additions and 0 deletions

View File

@ -113,6 +113,7 @@
- { name: "heat", enabled: "{{ enable_heat }}" }
- { name: "influxdb", enabled: "{{ enable_influxdb }}" }
- { name: "ironic", enabled: "{{ enable_ironic }}" }
- { name: "ironic-inspector", enabled: "{{ enable_ironic }}" }
- { name: "iscsid", enabled: "{{ enable_iscsid }}" }
- { name: "karbor", enabled: "{{ enable_karbor }}" }
- { name: "keepalived", enabled: "{{ enable_haproxy }}" }

View File

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

View File

@ -21,6 +21,7 @@
( 'heat', enable_heat ),
( 'influxdb', enable_influxdb ),
( 'ironic', enable_ironic ),
( 'ironic-inspector', enable_ironic ),
( 'iscsid', enable_iscsid ),
( 'karbor', enable_karbor ),
( 'keepalived', enable_haproxy ),