-
Bug
-
Resolution: Done
-
Normal
-
RHODS_1.8.0_GA
-
3
-
False
-
None
-
False
-
-
Yes
-
-
-
-
-
-
v1.13.0-5
-
No
-
No
-
Yes
-
None
-
RHODS 1.12, RHODS 1.13
-
Low
Description of problem:
Dashboard pods are reporting these lines of error in their logs:
Failed to get groups: TypeError: Cannot read property 'includes' of null
four clusters out of four I've checked report the same line of error.
Prerequisites (if any, like setup, operators/versions):
RHODS installed
Steps to Reproduce
- Go To OCP Console > Workload > Pods
- open one of the dashboard pods
- check the logs (rhods-dashboard container)
Actual results:
Failed to get groups: TypeError: Cannot read property 'includes' of null
Expected results:
No errors
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
RHODS v1.8.0-14
Workaround:
Live build:
quay.io/lferrnan/rhods-operator-live-catalog:1.12.1-admin-group
Testing instructions:
- Install the live build
- Check that there is no Failed to get groups: TypeError: Cannot read property 'includes' of null message in the fresh install.
- If the group is not created, a new desriptive error would trigger to indicate wich group should you create. Error: Failed to retrieve Group dedicated-admins, might not exist.
- Create that group to dismiss the error.
- Check that if you remove groups-config ConfigMap you will have a descriptive error. Error: Failed to retrieve ConfigMap groups-config, might be malformed or doesn't exist.
- If you add it again, and in the second configmap (usually rhods-groups-config) you change the admin_groups field to 'system:authenticated' you will have a descriptive error. Error: It is not allowed to set "system:authenticated" or an empty string as admin group