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

Show pod debug action for Succeeded pods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • None
    • 4.16.0
    • Management Console
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the *Debug container* link was not displayed for pods with a `Completed` status. With this change, the link now appears. (link:https://issues.redhat.com/browse/OCPBUGS-33631[*OCPBUGS-33631*])
      Show
      * Previously, the *Debug container* link was not displayed for pods with a `Completed` status. With this change, the link now appears. (link: https://issues.redhat.com/browse/OCPBUGS-33631 [* OCPBUGS-33631 *])
    • Bug Fix
    • Done

      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:

      Always

      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
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: