Bug 1674043 - Project status pod count is misleading
Summary: Project status pod count is misleading
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.2.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-08 20:35 UTC by Jay Dobies
Modified: 2019-10-16 06:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
The 4.2 web console has added the pod donut visualization back to the project "Workloads" tab (formerly the "Status" page). This indicates not only whether pods are running, but whether pods are ready.
Clone Of:
Environment:
Last Closed: 2019-10-16 06:27:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:27:56 UTC

Description Jay Dobies 2019-02-08 20:35:44 UTC
Description of problem:
In the console, the Project Status screen shows the total count of pods, regardless of which are available and unavailable.

For example, I scaled up my service from 1 to 3. The Project Status quickly reflected "3 of 3". Clicking the arrow next to it reflected that 1 was available and 2 were unavailable (they were still in ContainerCreating). This makes the count without those details misleading that the service is completely functioning.


Version-Release number of selected component (if applicable):
    Image:              quay.io/openshift-release-dev/ocp-release@sha256:5b7d1c80f75a7703b5622de7273d63b4939dbfae1986b87b3fee436a1dacab44
    Started Time:       2019-02-07T21:03:10Z
    State:              Completed
    Version:            4.0.0-0.3


How reproducible:
100%

Steps to Reproduce:
1. Deploy an existing image.
2. Keep an eye on the Project Status screen of the web UI. The count will reflect "1 of 1" while the container is still being created. Clicking the arrow will show that the pod is listed as unavailable.

Actual results:


Expected results:


Additional info:

Comment 2 Samuel Padgett 2019-03-28 13:17:35 UTC
This is currently working as intended, although I understand the usability issue. It's not possible to convey both count and readiness in one number. If we only show ready pods, it's arguably misleading as well because the total count is wrong.

The way we addressed this previously was using the pod donut, which conveyed readiness as a different arc in the donut. We have RFEs in our backlog to add this back.

Comment 4 Samuel Padgett 2019-08-28 15:27:41 UTC
We've added the pod donut back in 4.2. This is visible in the details sidebar on the overview and indicates when pods are not ready.

https://github.com/openshift/console/pull/2091

Comment 6 Yadan Pei 2019-08-29 02:59:35 UTC
1. Create app from Deploy Image 
2. Go to Projects -> Workloads, It will show count 1 of 1 pods, clicking on the banner will open sidebar, there is pod donut showing pod status, Pending, Running, Terminating...

The number "N of N pods" reflects the replicas of resources, while the pod donut shows the pods status which gives user a clear status of application status

Verified on 4.2.0-0.nightly-2019-08-28-152644

Comment 8 errata-xmlrpc 2019-10-16 06:27: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, 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/RHBA-2019:2922


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