oncall icon indicating copy to clipboard operation
oncall copied to clipboard

Can't remove user from oncall (user already removed from grafana)

Open danielcb opened this issue 1 year ago • 2 comments

What went wrong?

Grafana OSS and Oncall are both self-hosted in our case.

We tried to remove a user from oncall. The user was removed from Grafana successfully, but still shows up in oncall (Alerts & IRM / OnCall / Users). There is no obvious way to remove the user. As far as I understand the documentation user management is done via Grafana and should sync somehow?

How do we reproduce it?

  1. Setup Grafana and Oncall
  2. Add users to Grafana (in our case via an openid-connect provider)
  3. Remove a user from Grafana
  4. User still shows up in oncall and there is no (obvious) way to remove it there

Grafana OnCall Version

v1.7.0

Product Area

Auth

Grafana OnCall Platform?

Docker

User's Browser?

No response

Anything else to add?

No response

danielcb avatar Jun 14 '24 07:06 danielcb

hey there @danielcb 👋

correct. user management is done in Grafana and users are synced periodically (every 30 minutes) to OnCall.

After 30 minutes you are still seeing the deleted user in OnCall?

joeyorlando avatar Jun 14 '24 16:06 joeyorlando

Hi, sorry for the late reply. Yes, the user is still in OnCall (after weeks, multiple restarts and updates).

danielcb avatar Jun 27 '24 11:06 danielcb

About half a year now, current version, the user is still there. Any hints on where to look or maybe trigger a manual delete/sync?

danielcb avatar Sep 06 '24 07:09 danielcb