Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-43585

Allow access to clusterlogforwarder in observability API

XMLWordPrintable

    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      In cluster logging operator 6.0 the ClusterlogForwarder moved from logging.openshift.io to observability.openshift.io.

      CO will need to access ClusterlogForwarder from both APIs.

      After installing logging 6 , ComplianceCheckResult "ocp4-cis-audit-log-forwarding-enabled" is failing as there is a change in APIversion of clusterlogforwarder. Log collection and forwarding configurations are now specified under the new API, part of the observability.openshift.io API group[1],

      $ oc -n openshift-compliance get ccr ocp4-cis-audit-log-forwarding-enabled
      NAME                                    STATUS   SEVERITY
      ocp4-cis-audit-log-forwarding-enabled   FAIL     medium

      $ oc get clusterlogforwarders.
      clusterlogforwarders.logging.openshift.io        clusterlogforwarders.observability.openshift.io

      $ oc get clusterlogforwarders.observability.openshift.io
      NAME       AGE
      instance   18m

      [1] https://docs.openshift.com/container-platform/4.16/observability/logging/logging-6.0/log6x-upgrading-to-6.html#:~:text=logging%2Doperator.-,Log%20Collection%20and%20Forwarding,-Log%20collection%20and

              wsato@redhat.com Watson Sato
              nikijain@redhat.com Nikita Jain
              Xiaojie Yuan Xiaojie Yuan
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: