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

[4.19] lvms-operator.v4.18.2 missing operators.openshift.io/must-gather-image despite CSV defines must-gather image registry.redhat.io/lvms4/lvms-must-gather-rhel9@sha256@ delivered in the operator bundle

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 0
    • None
    • None
    • None
    • None
    • OCPEDGE Sprint 277, OCPEDGE Sprint 278
    • 2
    • In Progress
    • Release Note Not Required
    • 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 Logical Volume Manager Storage (LVMS) CSV already includes the following must-gather image as per:

        - image: registry.redhat.io/lvms4/lvms-must-gather-rhel9@sha256:57f26d3fd9c344114d4c6589f68ad6cf979c111d4a56f05197c13baca1e05fe8
          name: lvms-must-gather
        

      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/lvms4/lvms-must-gather-rhel9@sha256:57f26d3fd9c344114d4c6589f68ad6cf979c111d4a56f05197c13baca1e05fe8

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

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

      cluster-logging.v6.2.2

      How reproducible:

          100%

      Steps to Reproduce:

          1. Install lvms-operator.v4.18.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:

          

              rh-ee-jeroche Jeff Roche
              midu@redhat.com Mihai IDU
              None
              None
              Minal Pradeep Makwana Minal Pradeep Makwana
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: