-
Bug
-
Resolution: Done-Errata
-
Major
-
Logging 6.0.3
-
False
-
None
-
False
-
NEW
-
NEW
-
Prior to this update the collector did not properly mount the oauth-apiserver audit.log file and these audit logs were not being collected. After this update the volume mount is present and logs are collected as expected.
-
Bug Fix
-
-
-
Log Collection - Sprint 265
-
Important
Description of problem:
When checking the log files in collector pods, the files in `/var/log/oauth-apiserver/` don't match the files in the node:
The logs under `/var/log/oauth-apiserver/` directory are not collected.
Steps to Reproduce:
- Deploy collector pods to forward app, infra and audit logs
- Compare the files in collector pod and node
Actual results:
In collector pod:
/var/log/oauth-apiserver/:
total 0
-rw-r-----. 1 root root 0 Dec 20 00:40 acl-audit-log.log
-rw-r-----. 1 root root 0 Dec 20 00:40 ovsdb-server-nb.log
-rw-r-----. 1 root root 0 Dec 20 00:40 ovsdb-server-sb.log
In node:
/var/log/oauth-apiserver/:
total 3264
-rw-------. 1 root root 2612061 Dec 20 02:25 audit.log
Expected results:
In collector pod:
/var/log/oauth-apiserver/:
total 3264
-rw-------. 1 root root 2612061 Dec 20 02:25 audit.log
- clones
-
LOG-6533 [release-6.1] Collector pods don't mount `/var/log/oauth-apiserver/` directory correctly
- Closed
- relates to
-
LOG-6544 [master] Collector pods don't mount `/var/log/oauth-apiserver/` directory correctly
- MODIFIED
- links to
-
RHBA-2024:10991 Logging for Red Hat OpenShift - 6.0.3