Bug 2072839

Summary: RoleBidings are not getting updated for ClusterRole in OpenShift Web Console
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Salvatore Colangelo <scolange>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: aos-bugs, jhadvig, yanpzhan
Target Milestone: ---   
Target Release: 4.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-25 19:51:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2071599    
Bug Blocks: 2076690    

Description OpenShift BugZilla Robot 2022-04-07 05:19:01 UTC
+++ This bug was initially created as a clone of Bug #2071599 +++

Created attachment 1870648 [details]
Rolebinding for clusterrole is not getting displayed

Description of problem:
Rolebindings are not getting updated for ClusterRole `system:image-builder` iOpenShift web console.

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

How reproducible:
Always

Steps to Reproduce:
Scenario I :
1. Go to Administrator console
2. Under User Management, select Roles
3. Select `system:image-builder` , go to Rolebindings 
`User Management -> Roles -> system:image-builder -> RoleBindings`

Scenario II :
1. Create a project.
2. Create a user.
3. Assign clusterrole `system:image-builder` to the user.
4. Under User Management, select Roles
5. Select `system:image-builder` , go to Rolebindings
`User Management -> Roles -> system:image-builder -> RoleBindings`

Actual results:
For ClusterRole `system:image-builder`, RoleBindings are not getting displayed under RoleBindings tab in OpenShift web console.

Expected results:
Rolebindings for ClusterRole `system:image-builder` should get displayed under RoleBindings tab in OpenShift web console.

Additional info:
This is not working in OCP 4.9.17, 4.9.23, 4.9.25, 4.10.3
Screenshot is attached.

Comment 1 Salvatore Colangelo 2022-04-08 11:57:19 UTC
Hi 

Steps to Reproduce:
Scenario I :
1. Go to Administrator console
2. Under User Management, select Roles
3. Select `system:image-builder` , go to Rolebindings 
`User Management -> Roles -> system:image-builder -> RoleBindings`


VERIFIED!!

Wainting for second scenario

Comment 2 Salvatore Colangelo 2022-04-15 16:04:44 UTC
HI 

  Scenario II :
1. Create a project.
2. Create a user.
3. Assign clusterrole `system:image-builder` to the user.
4. Under User Management, select Roles
5. Select `system:image-builder` , go to Rolebindings
`User Management -> Roles -> system:image-builder -> RoleBindings`

Verified!

Comment 5 errata-xmlrpc 2022-04-25 19:51:43 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.10.11 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-2022:1431