Bug 1931515

Summary: Can't create cluster role binding from UI when a project is selected
Product: OpenShift Container Platform Reporter: Robb Hamilton <rhamilto>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: high Docs Contact:
Priority: high    
Version: 4.7CC: aos-bugs, jhadvig, jokerman, openshift-bugzilla-robot, yanpzhan, yapei
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The fix for https://bugzilla.redhat.com/show_bug.cgi?id=1871996 to make the create RoleBinding links consistent resulted in the inability to select binding type when a namespace is selected. Consequence: Users who have an active namespace cannot create a cluster role binding without changing the active namespace to All namespaces. Fix: Revert part of the changes for https://bugzilla.redhat.com/show_bug.cgi?id=1871996 so that users can create a cluster role binding regardless of active namespace. Result: Users can create a cluster role binding regardless of active namespace.
Story Points: ---
Clone Of: 1929198 Environment:
Last Closed: 2021-03-30 17:03:12 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: 1929198    
Bug Blocks:    

Comment 1 Robb Hamilton 2021-02-24 15:45:51 UTC
Waiting on 4.7.z stream fix to merge.

Comment 4 Yanping Zhang 2021-03-22 09:29:25 UTC
Checked on ocp 4.6 cluster with payload 4.6.0-0.nightly-2021-03-21-131139.
1. Log into the cluster as kubeadmin
2. Select a project from the project list so that you have an active namespace
3. Open User Management -> RoleBindings
4. Click "Create binding", now there are radio buttons for choosing namespace rolebinding and clusterrolebinding, and could create rolebinding/clusterrolebinding successfully.
The bug is fixed.

Comment 6 errata-xmlrpc 2021-03-30 17:03:12 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.23 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:0952