Bug 1969878 - Webconsole does not show pod count of deploymentconfig with custom clusterrole
Summary: Webconsole does not show pod count of deploymentconfig with custom clusterrole
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.6.z
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.6.z
Assignee: Sahil Budhwar
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On: 1970274
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-09 11:41 UTC by David Wilson
Modified: 2021-06-29 06:26 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-29 06:26:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Sample config file for the cluster role (2.00 KB, text/plain)
2021-06-09 11:41 UTC, David Wilson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9199 0 None open [release-4.6] Bug 1969878: fix resources fetched by firehose to show the correct Pod donut 2021-06-10 17:44:55 UTC
Red Hat Product Errata RHBA-2021:2498 0 None None None 2021-06-29 06:26:39 UTC

Description David Wilson 2021-06-09 11:41:19 UTC
Created attachment 1789549 [details]
Sample config file for the cluster role

Description of problem:

On OCP 4.6.25, the webconsole does not show the pod count of deploymentconfig when checked by a user with a custom clusterrole. This is not a permission issue as the user will be able to view all other details on deploymentconfig page but the graphical representation with a blue circle with pod count in the center will not appear. It just shows 3 bubbles progressing, but will not show the count.

Issue is observed on OCP 4.6.25 and 4.6.20, but the same clusterrole will work as expected in OCP 4.7.x


Version-Release number of selected component (if applicable): no


How reproducible: Always


Steps to Reproduce:

1. Create a custom clusterole (using the yaml attached) and assign a user to this cluster role.
2. Create a project and create a deployment config in the project.
3. Login through webconsole as the user and check the deploymentconfig in the project. 

Note: It is not a issue with the custom role yaml attached. The issue persists even when clusterrole is created using "oc create clusterrole <name> --resource=projects,namespaces,deploymentconfigs,replicationcontrollers,pods --verb=*"

Actual results:

Pod count not visible in the Administrator view


Expected results:

Pod count should be visible.


Additional info:

The issue is particular to the OCP version as it will show the expected results in OCP 4.7.9.

Comment 6 spathak@redhat.com 2021-06-23 21:02:12 UTC
Verified on build version: 4.6.0-0.nightly-2021-06-19-165544
Browser: Google Chrome 89

Comment 8 errata-xmlrpc 2021-06-29 06:26:19 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 (OpenShift Container Platform 4.6.36 bug fix 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/RHBA-2021:2498


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