-
Bug
-
Resolution: Done
-
Major
-
4.12.z
-
None
Description of problem:
When users are trying to DuplicateClusterRoleBinding and Edit ClusterRoleBinding subject in RHOCP web console , getting below error : " Error Loading : Name parameter invalid: "system%3Acontroller%3A<name-of-role-ref>": may not contain '%' "
Version-Release number of selected component (if applicable):
Tested in OCP 4.12.18
How reproducible:
Always
Steps to Reproduce:
1. Open OpenShift web console 2. Select project : Openshift 3. Under User management -> Click Rolebindings 4. Look for any RoleBinding having Role Ref with format `system:<name>` 5. At the end of that line, click on 3 dots where below options will be available : - Duplicate ClusterRoleBinding - Edit ClusterroleBinding subject 6. Select/click on any of the option
Actual results:
After selecting Duplicate ClusterRoleBinding or Edit ClusterroleBinding subject, getting below error : Error Loading : Name parameter invalid: "system%3AXXX": may not contain '%'
Expected results:
After selecting Duplicate ClusterRoleBinding or Edit ClusterroleBinding subject, the correct/expected web page must be open.
Additional info:
When Duplicate or Edit RoleBinding `registry-registry-role` with Role Ref `system:registry` , it is working as expected. When Duplicate or Edit RoleBinding `system:sdn-readers` with Role Ref `system:sdn-reader` , getting below error : Error Loading : Name parameter invalid: "system%3Asdn-readers": may not contain '%' Duplicate ClusterRoleBinding or Edit ClusterRoleBindingBut subject working for few RoleBindings only (having Role ref system:<name>). Screenshots are attached here : https://drive.google.com/drive/folders/1QHpdensG2gKx0tSv1zkF7Qiyert6eaSg?usp=sharing