nebari-dev / nebari-docs

📖 Documentation for Nebari
https://www.nebari.dev
BSD 3-Clause "New" or "Revised" License
14 stars 29 forks source link

Grafana dashboard does not work when user does not have email stored in keycloak #333

Open costrouc opened 2 years ago

costrouc commented 2 years ago

Describe the bug

Description

When QHub user does not have an email for that given user grafana/monitoring throws an error when visiting the page and single sign on kicks in.

image

Expected behaviour

User should be able to login normally to <domain>/monitoring

Actual behaviour

User is denied entry into grafana

How to reproduce

  1. Create a user in keycloak that does not have an email address with username and password.

Solution

Need to brainstorm proper solutions for this issue.

costrouc commented 2 years ago

The temporary fix is to assign an email within keycloak to the given user. Longer term we would like to think of a permanent solution. Or at least give the user a nicer error message.

costrouc commented 2 years ago

This is a user experience issue. The temporary fix is to login to Keycloak and ensure that the given user has an email address assigned. Moving to a future release to be properly fixed.

trallard commented 1 year ago

has this been resolved or do we need to keep this opened @costrouc ?

iameskild commented 1 year ago

This sounds like a firm requirement from Grafana so perhaps we simply document this limitation (perhaps as an FAQ).

pavithraes commented 4 months ago

We can also make a note in https://www.nebari.dev/docs/how-tos/monitoring