Add ironic inspector to fluentd log collection

Previously ironic inspector logs were not being collected, as they are
stored in /var/log/kolla/ironic-inspector/ rather than
/var/log/kolla/ironic/. This change modifies the fluentd input
configuration to use the correct directory.

Also adds the ironic-inspector service to the fluentd programname
rewrite rule.

Change-Id: Ie5d67f395e4c32fef992e674f2d53dbd6a17f238
This commit is contained in:
Mark Goddard 2017-12-29 19:37:46 +00:00
parent 89d5a24ad1
commit 68b2d48fd5
3 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@
rewriterule25 programname ^(zun-api|zun-compute)$ openstack_python
rewriterule26 programname ^(kuryr-server)$ openstack_python
rewriterule27 programname ^(gnocchi-api|gnocchi-statsd|gnocchi-metricd|gnocchi-upgrade)$ openstack_python
rewriterule28 programname ^(ironic-api|ironic-conductor)$ openstack_python
rewriterule28 programname ^(ironic-api|ironic-conductor|ironic-inspector)$ openstack_python
rewriterule29 programname ^(panko-api|panko-dbsync)$ openstack_python
rewriterule30 programname ^(tacker-server|tacker-conductor)$ openstack_python
rewriterule31 programname ^(vitrage-collector|vitrage-ml|vitrage-notifier|vitrage-graph)$ openstack_python

View File

@ -138,7 +138,7 @@
</rule>
<rule>
key programname
pattern ^(ironic-api|ironic-conductor)$
pattern ^(ironic-api|ironic-conductor|ironic-inspector)$
tag openstack_python
</rule>
<rule>

View File

@ -14,6 +14,7 @@
( 'heat', enable_heat ),
( 'horizon', enable_horizon ),
( 'ironic', enable_ironic ),
( 'ironic-inspector', enable_ironic ),
( 'karbor', enable_karbor ),
( 'keystone', enable_keystone ),
( 'kuryr', enable_kuryr ),