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

cluster-logging.v6.2.2 missing operators.openshift.io/must-gather-image despite CSV defines must-gather image registry.redhat.io/openshift-logging/cluster-logging-rhel9-operator@sha256@sha256 delivered in the operator bundle

XMLWordPrintable

    • Incidents & Support
    • False
    • Hide

      None

      Show
      None
    • False
    • NEW
    • NEW
    • Hide
      Before this update, the operator's diagnostic tooling was not automatically collect some specific data. With this update, the addition of the operators.openshift.io/must-gather-image annotation to the operator's ClusterServiceVersion (CSV) resolves the issue, and administrators can now use the --all-images flag to automatically collect the operator's diagnostic data successfully.
      Show
      Before this update, the operator's diagnostic tooling was not automatically collect some specific data. With this update, the addition of the operators.openshift.io/must-gather-image annotation to the operator's ClusterServiceVersion (CSV) resolves the issue, and administrators can now use the --all-images flag to automatically collect the operator's diagnostic data successfully.
    • Bug Fix
    • Log Collection - Sprint 272, Log Collection - Sprint 273, Logging - Sprint 274

      Description of problem:

      As part of CNF-11460, support for the must-gather --all-images flag has been introduced, enhancing the log collection process across operators.

      The ClustLoggingOperator (CLO) CSV already includes the following must-gather image as per:

      # oc -n openshift-logging get deployment.apps/cluster-logging-operator   -o jsonpath='{.spec.template.spec.containers[?(@.name == "cluster-logging-operator")].image}'
      registry.redhat.io/openshift-logging/cluster-logging-rhel9-operator@sha256:3ad1e070bd2fa5d86651b191841a4f84d2750beaadb89f365e39b32c4b
        

      https://docs.redhat.com/en/documentation/openshift_container_platform/4.17/html/support/gathering-cluster-data#gathering-data-specific-features_gathering-cluster-data

      However, to fully leverage the --all-images functionality, the following annotation must also be explicitly added to the CSV:

      operators.openshift.io/must-gather-image: registry.redhat.io/openshift-logging/cluster-logging-rhel9-operator@sha256:3ad1e070bd2fa5d86651b191841a4f84d2750beaadb89f365e39b32c4b

      Adding this annotation will ensure proper integration with the must-gather tooling and enable consistent log collection for LSO-related components.

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

      cluster-logging.v6.2.2

      How reproducible:

          100%

      Steps to Reproduce:

          1. Install cluster-logging.v6.2.2
          2. perform an oc adm must-gather --all-images log collection
          3.
          

      Actual results:

      the must-gather logs of local-storage-operator operator are not collected using the --all-images flag.

      Expected results:

          Since the Operator Bundle already includes the must-gather image as part of its payload, and the must-gather logging scripts utilize the --all-images flag, the expected outcome is that logs can be successfully collected by leveraging these components.

      Additional info:

          

              vparfono Vitalii Parfonov
              midu@redhat.com Mihai IDU
              Anping Li Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: