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

lifecycle-agent.v4.18.0 missing operators.openshift.io/must-gather-image despite CSV defines image: registry.redhat.io/openshift4/lifecycle-agent-rhel9-operator@sha256: value: registry.redhat.io/openshift4/lifecycle-agent-rhel9-operator@sha256

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18.z, 4.19.z
    • LCA operator
    • 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 lifecycle-agent CSV already includes the following image:

       

              image: registry.redhat.io/openshift4/lifecycle-agent-rhel9-operator@sha256:7e8c393bf5a6a1c728f1850867e31025fe9e3a379a5bfd8c01df159bd6de058c
       

      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/lifecycle-agent-rhel9-operator@sha256:7e8c393bf5a6a1c728f1850867e31025fe9e3a379a5bfd8c01df159bd6de058c

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

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

      lifecycle-agent.v4.18.0

      How reproducible:

          100%

      Steps to Reproduce:

          1. Install lifecycle-agent.v4.18.0
          2. perform an oc adm must-gather --all-images log collection
          3.
          

      Actual results:

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

          

              jche@redhat.com Jun Chen
              midu@redhat.com Mihai IDU
              None
              None
              Yang Liu Yang Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: