From 05f4912a504b0755ed7fb0c06f10bb1159f0999c Mon Sep 17 00:00:00 2001 From: Juan Badia Payno Date: Tue, 31 Jul 2018 17:19:56 +0200 Subject: [PATCH] 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 (cherry picked from commit d30adea380f37280308d71c44c9f94e2ba3b1b15) Change-Id: Ie60757f1bfe919cca6b0290451ea059d762dcab8 --- docker/services/fluentd-client.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/services/fluentd-client.yaml b/docker/services/fluentd-client.yaml index 6889fa3b1b..826f745911 100644 --- a/docker/services/fluentd-client.yaml +++ b/docker/services/fluentd-client.yaml @@ -114,6 +114,7 @@ outputs: - /var/log/containers:/var/log/containers:ro - /var/log/containers/fluentd:/var/log/fluentd:rw - /var/log:/var/log/containers/host:ro + - /etc/rsyslog.d:/etc/rsyslog.d:rw environment: - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS host_prep_tasks: