Bug 1905788

Summary: Role name missing on create role binding form
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Management ConsoleAssignee: Cyril <cajieh>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.7CC: aos-bugs, cajieh, jhadvig, jokerman, yanpzhan, yapei
Target Milestone: ---Keywords: UpcomingSprint
Target Release: 4.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Incorrect code Consequence: Role name missing on create role binding form Fix: Yes Result: Role name is present on create role binding form
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-08 13:50:52 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: 1903192    
Bug Blocks:    

Description OpenShift BugZilla Robot 2020-12-09 04:52:33 UTC
+++ This bug was initially created as a clone of Bug #1903192 +++

Created attachment 1735257 [details]
Missing role name

Description of problem:

The role name is not displayed when creating a binding from a role. (See screenshot.)

How reproducible:

Always

Steps to Reproduce:
1. Go to User Management -> Roles
2. Select cluster-admin
3. Click Actions -> Add Role Binding

Actual results:

The resulting form does not show the role name. There is a required Role Name field with no value and no input.

Expected results:

The form should show the role name as a read-only value.

--- Additional comment from jhadvig on 2020-12-02 18:14:27 UTC ---

Was not able to reproduce in versions:
- 4.7.0-0.nightly-2020-11-30-172451
- console master branch from 2020-12-02

Tested both:
- Chrome 87.0.4280.67
- FF 81.0

On which version did you reproduced the issue?

--- Additional comment from spadgett on 2020-12-02 20:30:26 UTC ---

See the environment field in the BZ for version and user agent (Firefox).

--- Additional comment from yanpzhan on 2020-12-03 04:23:56 UTC ---

Could reproduce the bug on OCP 4.7 cluster with version 4.7.0-0.nightly-2020-11-30-172451. There is no input box for required "Role Name" field, and still could create rolebinding/clusterrolebinding, but the rolebinding has a wrong role ref "clusteradminundefined".

Comment 2 Yadan Pei 2021-01-29 06:15:07 UTC
since PR is approved before it is merged, moving to VERIFIED

Comment 5 errata-xmlrpc 2021-02-08 13:50:52 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 (Important: OpenShift Container Platform 4.6.16 security and 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/RHSA-2021:0308