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

[Logging 5.7.2]Collector pods can't start due to `Permission denied` issue.

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • VERIFIED
    • Log Collection - Sprint 236

      Description of problem:

      Fluentd and vector pods are in CrashLoopBackOff status and raise below error messages:

      vector:

      2023-05-22T01:35:43.085363Z ERROR vector::topology: Configuration error. error=Source "raw_container_logs": Could not create subdirectory "raw_container_logs" inside of data dir "/var/lib/vector/": Permission denied (os error 13)
      2023-05-22T01:35:43.085384Z ERROR vector::topology: Configuration error. error=Source "raw_journal_logs": Could not create subdirectory "raw_journal_logs" inside of data dir "/var/lib/vector/": Permission denied (os error 13) 

      fluentd:

      mkdir: cannot create directory '/var/lib/fluentd/pos': Permission denied 

      Version-Release number of selected component (if applicable):

      cluster-logging.v5.7.2

      openshift-logging/fluentd-rhel8/images/v1.14.6-131

      openshift-logging/vector-rhel8/images/v0.21.0-89

      How reproducible:

      Always

      Steps to Reproduce:

      1. deploy logging 5.7.2
      2. check pod status

      Actual results:

      Collector pods can't start

      Expected results:

      Collector pods should be ready

      Additional info:

      Tried to deploy 5.7.1 on the same cluster, no issue. 

            jcantril@redhat.com Jeffrey Cantrill
            qitang@redhat.com Qiaoling Tang
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: