Bug 1949410
Summary: | The referred role doesn't exist if create rolebinding from rolebinding tab of role page | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yanping Zhang <yanpzhan> |
Component: | Management Console | Assignee: | Samuel Padgett <spadgett> |
Status: | CLOSED ERRATA | QA Contact: | Yanping Zhang <yanpzhan> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.8 | CC: | aos-bugs, jokerman, spadgett, yapei |
Target Milestone: | --- | ||
Target Release: | 4.8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | Scrubbed | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previously, when creating a new binding from the role bindings tab of the role page, the web console would prefill the incorrect role name and namespace in the resulting form. This has been fixed.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-07-27 23:00:24 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: | 1950489 |
Description
Yanping Zhang
2021-04-14 08:39:51 UTC
This is a regression from https://github.com/openshift/console/pull/6035 and is present in 4.6 and 4.7. Checked on ocp 4.8 cluster with payload 4.8.0-0.nightly-2021-04-18-101412. Steps to verify: 1.Go to "User Management"->"Roles" page, click into role "cluster-admin". 2.Under "RoleBindings" tab, create rolebinding by click "Create binding". Now the "Role name" is set to "cluster-admin" by default. 3.Check the new rolebinding yaml. The "roleRef:name" is "cluster-admin", and the user is granted "cluster-admin" role correctly. 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.8.2 bug fix and 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-2021:2438 |