logging-fluentd not using output-ops-extra-localfile.conf after update
Issue
-
A custom configmap in the logging project which creates these two files:
-output-extra-localfile.conf
-output-ops-extra-localfile.conf -
The following volume mount is done:
/usr/bin/oc volume daemonset/logging-fluentd --add --name=output-files --type=hostPath --path=/var/shared/openshift-fluentd --mount-path=/var/fluentd-out
- Logging specified in first file is created, but not for the last file. It does not write to the log after the update:
$ ls -ltr /var/shared/openshift-fluentd/
total 38228
<... snip ...>
-rw-r--r--. 1 root root 1936177 Nov 21 01:02 fluentd-ops.12345_0.log.gz
-rw-r--r--. 1 root root 22431734 Nov 24 13:31 fluentd-ops.12345.b55eaf3be7393d2be
-rw-r--r--. 1 root root 3656014 Nov 24 15:37 fluentd.12345.b55eafe78a44e9a8d
Environment
- Openshift Container Platform
- 3.6
- Red Hat Enterprise Linux
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
