Bug 2025903

Summary: [UI] RoleBindings tab doesn't show correct rolebindings
Product: OpenShift Container Platform Reporter: Anna Savina <asavina>
Component: Management ConsoleAssignee: Cyril <cajieh>
Status: CLOSED ERRATA QA Contact: Xiyun Zhao <xiyuzhao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: akanekar, aos-bugs, prabinov, xiyuzhao, yapei
Target Milestone: ---   
Target Release: 4.10.0   
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-03-12 04:39:01 UTC Type: Bug
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:    
Bug Blocks: 2034636    
Attachments:
Description Flags
screenshot none

Description Anna Savina 2021-11-23 11:00:17 UTC
Created attachment 1843140 [details]
screenshot

Description of problem:
RoleBindings tab doesn't show correct rolebindings

----------------------------

Version-Release number of selected component (if applicable):
Cluster version is 4.10.0-0.nightly-2021-11-21-005535

----------------------------

How reproducible:
100%

----------------------------

Steps to Reproduce:
1. Login web-console as admin user
2. Go User Management -> RoleBindings
3. Create RoleBinding for demouser1
4. Go Users -> demouser1 -> RoleBindings

----------------------------

Actual results:
No RoleBindings found

----------------------------

Expected results:
List of created RoleBindings

----------------------------


Additional info:

Comment 2 Anna Savina 2021-12-06 07:56:31 UTC
RoleBindings tab doesn't show correct rolebindings for user-group too:

Steps to Reproduce:
1. Login web-console as admin user
2. Go User Management -> Groups
3. Create Group, eg. example
4. Go to Management -> Groups -> example -> RoleBinding
3. Create RoleBinding
4. Go to Management -> Groups -> example -> RoleBinding

----------------------------

Actual results:
No RoleBindings found

----------------------------

Expected results:
List of created RoleBindings

----------------------------

Comment 3 Cyril 2021-12-07 13:23:21 UTC
asavina Please can you  test in the latest Cluster Version. The Role Binding is found for User and Group when I tried it on my local machine. See attached:

Comment 5 Cyril 2021-12-07 13:48:11 UTC
*** Bug 2022175 has been marked as a duplicate of this bug. ***

Comment 8 Anna Savina 2021-12-08 06:26:54 UTC
cajieh

Cluster version is 4.10.0-0.nightly-2021-12-06-201335
setup: disconnected-ipv4-ipv6_provisioning

Still "No RoleBindings found"

Comment 10 Xiyun Zhao 2021-12-21 14:47:24 UTC
This bug has been verified on payload 4.10.0-0.nightly-2021-12-20-231053

Verification Steps:
1. Login web-console as admin user
2. Go User Management -> Groups
3. Create Group, eg. example
4. Go to Management -> Groups -> example -> RoleBinding
5. Create RoleBinding
6. Go to Management -> Groups -> example -> RoleBinding
7. Login web-console as normal user eg. testuser-0
8. Re-login web-console as testuser-0
9. Go User Management -> Users -> User's details page
10. Create RoleBinding

Result:
All created Rolebingding is listed on page correctly

Comment 15 errata-xmlrpc 2022-03-12 04:39:01 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.10.3 security 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-2022:0056