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

[release-4.16] Show pod debug action for Succeeded pods

XMLWordPrintable

    • No
    • False
    • Hide

      None

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

      This is a clone of issue OCPBUGS-33631. The following is the description of the original issue:

      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
              openshift-crt-jira-prow OpenShift Prow Bot
              Xiyun Zhao Xiyun Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: