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

Show pod debug action for Succeeded pods


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.16.0
    • Management Console
    • None
    • No
    • False
    • Hide


    • Previously, the "Debug container" link was not shown for pods with a status of "Completed". With this change, the link now appears.
    • Bug Fix
    • In Progress

      Description of problem:

      Currently we show the debug container action for pods that are failing. We should be showing the action also for pods in 'Succeeded' phase

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


      How reproducible:


      Steps to Reproduce:

          1. Log in into a cluster
          2. Create an example Job resource
          3. Check the job's pod and wait till it is in 'Succeeded' phase

      Actual results:

      Debug container action is not available, on the pod's Logs page

      Expected results:

      Debug container action is available, on the pod's Logs page

      Additional info:

      Since users are looking for this feature even for pods in any phase, we are treating this issue as bug.
      Related stories:
      RFE - https://issues.redhat.com/browse/RFE-1935
      STORY - https://issues.redhat.com/browse/CONSOLE-4057
      Code that needs to be removed - https://github.com/openshift/console/blob/ae115a9e8c72f930a67ee0c545d36f883cd6be34/frontend/public/components/utils/resource-log.tsx#L149-L151

            rhn-engineering-rhamilto Robb Hamilton
            jhadvig@redhat.com Jakub Hadvig
            Xiyun Zhao Xiyun Zhao
            0 Vote for this issue
            5 Start watching this issue