Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-7792

openshift-gitops-operator.v1.17.0 missing operators.openshift.io/must-gather-image despite CSV defines must-gather image registry.redhat.io/openshift-gitops-1/must-gather-rhel8@sha256 delivered in the operator bundle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 1.17.1
    • Operator
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      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 openshift-gitops-operator CSV already includes the following must-gather image as per:

                      "image": "registry.redhat.io/openshift-gitops-1/must-gather-rhel8@sha256:54cb97fd42320389cdc874c1b6d225b95189e76169a2f5375e3ca5bc18fa4863",
                      "name": "must_gather_image"
         

      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-gitops-1/must-gather-rhel8@sha256:54cb97fd42320389cdc874c1b6d225b95189e76169a2f5375e3ca5bc18fa4863

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

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

      openshift-gitops-operator.v1.17.0

      How reproducible:

          100%

      Steps to Reproduce:

          1. Install openshift-gitops-operator.v1.17.0     
          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:

          

              sahasan@redhat.com Sabbir Hasan
              midu@redhat.com Mihai IDU
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: