Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-3549

Dashboard pod shows error about fetching groups

XMLWordPrintable

    • 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

      1. Go To OCP Console > Workload > Pods
      2. open one of the dashboard pods
      3. 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:

      1. Install the live build
      2. Check that there is no Failed to get groups: TypeError: Cannot read property 'includes' of null message in the fresh install.
      3. 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.
      4. Create that group to dismiss the error.
      5. 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.
      6. 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

              lferrnan@redhat.com Lucas Fernandez Aragon
              rhn-support-bdattoma Berto D'Attoma
              Berto D'Attoma Berto D'Attoma
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: