Fluentd configures rsyslog to send logs properly

Fluentd configures rsyslog on the docker, but as the /etc/rsyslog.d directory
is not mounted, the rsyslog service is not configured.

This patch add the /etc/rsyslog.d directory to the fluentd container, so
rsyslog service is configured

Closes-Bug: #1780722
Change-Id: I94bd6aaa5f9da86fa642ac1225db1aa3ad3d2754
This commit is contained in:
Juan Badia Payno 2018-07-09 09:02:05 +02:00
parent 25f93efd8c
commit d30adea380

View File

@ -99,6 +99,7 @@ outputs:
- /var/lib/config-data/puppet-generated/fluentd/:/var/lib/kolla/config_files/src:ro
- /var/log/containers:/var/log/containers:ro
- /var/log/containers/fluentd:/var/log/fluentd:rw
- /etc/rsyslog.d:/etc/rsyslog.d:rw
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
host_prep_tasks: