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.
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?
See the environment field in the BZ for version and user agent (Firefox).
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".
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
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.
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