Bug 1903192 - Role name missing on create role binding form
Summary: Role name missing on create role binding form
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Cyril
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks: 1905788
TreeView+ depends on / blocked
 
Reported: 2020-12-01 15:42 UTC by Samuel Padgett
Modified: 2021-02-24 15:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Incorrect code Consequence: Unable to create role binding Fix: Yes Result: Working as expected.
Clone Of:
Environment:
Version: 4.7.0-0.nightly-2020-11-30-172451 Cluster ID: 3503146a-c61e-4798-9194-785c94a999e8 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:82.0) Gecko/20100101 Firefox/82.0
Last Closed: 2021-02-24 15:37:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Missing role name (791.68 KB, image/png)
2020-12-01 15:42 UTC, Samuel Padgett
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:37:38 UTC

Description Samuel Padgett 2020-12-01 15:42:28 UTC
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.

Comment 1 Jakub Hadvig 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?

Comment 2 Samuel Padgett 2020-12-02 20:30:26 UTC
See the environment field in the BZ for version and user agent (Firefox).

Comment 3 Yanping Zhang 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 5 Peter Kreuser 2020-12-09 17:12:01 UTC
Just to note, I had seen this same issue and had begun opening a bugzilla when I then saw this one already existed. I saw this issue on version 4.7.0-0.nightly-2020-12-09-093341

Comment 6 Yanping Zhang 2020-12-14 08:04:30 UTC
Checked on 4.7 cluster with payload 4.7.0-0.nightly-2020-12-13-202314.
1. Go to User Management -> Roles
2. Select cluster-admin
3. Click Actions -> Add Role Binding, now the "Role Name" field is set as "cluster-admin", after click "Create", check in the rolebinding yaml, the role ref is correctly set as "cluster-admin".
The bug is fixed.

Comment 9 errata-xmlrpc 2021-02-24 15:37:08 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.7.0 security, bug fix, and enhancement 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-2020:5633


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