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

kernel-module-management.v2.3.0 missing operators.openshift.io/must-gather-image despite CSV defines - name: RELATED_IMAGE_MUST_GATHER value: registry.redhat.io/kmm/kernel-module-management-must-gather-rhel9@sha256

XMLWordPrintable

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

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • In Progress
    • Bug Fix
    • Hide
      *Cause*: What actions or circumstances cause this bug to present.
      *Consequence*: What happens when the bug presents.
      *Fix*: What was done to fix the bug.
      *Result*: Bug doesn’t present anymore.
      Show
      *Cause*: What actions or circumstances cause this bug to present. *Consequence*: What happens when the bug presents. *Fix*: What was done to fix the bug. *Result*: Bug doesn’t present anymore.
    • 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 Kernel Module Management (KMM) CSV already includes the following environment variable:

       

      - name: RELATED_IMAGE_MUST_GATHER value: registry.redhat.io/kmm/kernel-module-management-must-gather-rhel9@sha256:f9fde334af68220943017a7491130e6a82f15e63522f5bb3931aa7d9b00ccc40
      

      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/kmm/kernel-module-management-must-gather-rhel9@sha256:f9fde334af68220943017a7491130e6a82f15e63522f5bb3931aa7d9b00ccc40

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

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

          kernel-module-management.v2.3.0

      How reproducible:

          100%

      Steps to Reproduce:

          1. Install kernel-module-management.v2.3.0
          2. perform an oc adm must-gather --all-images log collection
          3.
          

      Actual results:

      the must-gather logs of kmm 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:

          

              rhn-gps-cprocter Chris Procter
              midu@redhat.com Mihai IDU
              None
              None
              Constantin Daniel Vultur Constantin Daniel Vultur
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: