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

Pod sort order for errors and terminated pods in topology side panel is not correct

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • None
    • None
    • None
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • Undefined
    • None
    • None
    • None
    • None

      Description of problem:

      The initial implementation of the pods side panel(ODC-1148) states that:

      • it should sort the list of pods with primary of status (errors first) and secondary of update time (most recent first)
      • it should list all error pods or at most 3 pods<...>

      But the pods list sort function does not seem to show terminating pods as errord pods. See 0.gif

      When an container image is not found, the pod is also jumping around. See unexpected-error-order.gif

      Prerequisites (if any, like setup, operators/versions):

      None

      Steps to Reproduce

      1. Create a deployment with multiple pods
      2. Open deployment side panel for pods
      3. Delete one or more pods through the CLI, or in another tab

      Actual results:

      Terminating pods are not shown first between errors and running pods, but are shown randomly in the list. But they were updated last.

      Expected results:

      Terminated pods should be grouped by the pod status.

      Recommended status order: Error, Pending, Running, Terminated, Evicated

      For pods with the same status order them by created date and name after that.

      https://github.com/openshift/console/pull/9383#issuecomment-876768945

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Additional info:

      More context and additional info in this PR: https://github.com/openshift/console/pull/9383

        1. 0.gif
          1.05 MB
          Mohammed Saud
        2. unexpected-error-order.gif
          456 kB
          Christoph Jerolimov

              jakumar jaivardhan Kumar
              mdsaud Mohammed Saud (Inactive)
              None
              None
              Sanket Pathak Sanket Pathak
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: