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

local-storage-operator.v4.18.0-202505271635 missing operators.openshift.io/must-gather-image despite CSV defines - name: MUSTGATHER_IMAGE value: registry.redhat.io/openshift4/ose-local-storage-mustgather-rhel9@sha256

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18.z, 4.19.z
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 Local Storage Operator (LSO) CSV already includes the following environment variable:

      - name: MUSTGATHER_IMAGE
      value: registry.redhat.io/openshift4/ose-local-storage-mustgather-rhel9@sha256:0c5c4121c15c4ca27fdd5bbb5f08d5d614b0ebdda7b586f9a9361f5487b234be
       

      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/openshift4/ose-local-storage-mustgather-rhel9@sha256:0c5c4121c15c4ca27fdd5bbb5f08d5d614b0ebdda7b586f9a9361f5487b234be

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

          local-storage-operator.v4.18.0-202505271635

      How reproducible:

          100%

      Steps to Reproduce:

          1. Install local-storage-operator.v4.18.0-202505271635
          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:

          

              rh-ee-rhrmo Richard Hrmo
              midu@redhat.com Mihai IDU
              None
              None
              Wei Duan Wei Duan
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: