Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-6543

[release-6.0] Collector pods don't mount `/var/log/oauth-apiserver/` directory correctly

XMLWordPrintable

    • 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:

      1. Deploy collector pods to forward app, infra and audit logs
      2. 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 

       

              cahartma@redhat.com Casey Hartman
              qitang@redhat.com Qiaoling Tang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: