Bug 1912558 - TaskRun list and detail screen doesn't show Pending status
Summary: TaskRun list and detail screen doesn't show Pending status
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Mohammed Saud
QA Contact: Gajanan More
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-04 18:39 UTC by Mohammed Saud
Modified: 2021-02-24 15:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:49:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 7701 0 None closed Bug 1912558: Show pending status for taskRuns that haven't started 2021-01-18 10:30:27 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:50:01 UTC

Description Mohammed Saud 2021-01-04 18:39:50 UTC
Description of problem:
When OpenShift Pipelines started a Pipeline but there are not enough resources available to run a task it should be displayed as Pending (maybe with reason ExceededNodeResources) instead of Running. Similar to the tkn cli (tkn taskrun list).

To make it clear: The pipeline status is shown correct (Running).

The PipelineRun detail screen also pretend that the task is running by showing a spinner. It would be cool to show the same information here as well ?!?


Prerequisites (if any, like setup, operators/versions):
    OpenShift Pipelines operator (tested with version 1.1.1)


Steps to Reproduce
    Create a new namespace
    Add LimitRange and Pipeline from the attached yaml file
    Start as many PipelineRuns you need to exceed your memory limits (on my machine with a limit of 2 GB the second build waits already on the first one)


Actual results:
    TaskRun list and detail page shows that all TaskRuns are "Running"


Expected results:
    TaskRun list and detail page should show the same infos then the tkn cli (tkn taskrun list. The first TaskRun should show "Running" and the second "Pending". (Maybe with the reason ExceededNodeResources on the detail page??)


Reproducibility (Always/Intermittent/Only Once):
Always


Build Details:
Tested only with 4.7 master

Comment 2 Debsmita Santra 2021-01-18 10:39:10 UTC
this is verified on  4.7.0-0.nightly-2021-01-12-203716

Comment 5 errata-xmlrpc 2021-02-24 15:49:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5633


Note You need to log in before you can comment on or make changes to this bug.