Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnCall plugin on Grafana with OrgID != 1 crashed with externalServiceAccounts enabled #5430

Open
m4r1u2 opened this issue Jan 30, 2025 · 0 comments

Comments

@m4r1u2
Copy link
Contributor

m4r1u2 commented Jan 30, 2025

What went wrong?

What happened:

  • enable = externalServiceAccounts
logger=serviceauth.extsvcaccounts traceID=c208fa2045c89771996830998541ff7f t=2025-01-30T13:47:53.001150859+01:00 level=info msg="Generate new service account token" service=grafana-oncall-app orgID=1
logger=serviceauth.extsvcaccounts traceID=c208fa2045c89771996830998541ff7f t=2025-01-30T13:47:53.015789057+01:00 level=error msg="Could not get the external svc token" service=grafana-oncall-app saID=399 error="[serviceaccounts.ErrNotFound] service account with id 399 not found"
logger=plugins.external.registration traceID=c208fa2045c89771996830998541ff7f t=2025-01-30T13:47:53.018309825+01:00 level=error msg="Could not register an external service. Initialization skipped" pluginId=grafana-oncall-app error="[serviceaccounts.ErrNotFound] service account with id 399 not found"
logger=plugins.initialization t=2025-01-30T13:47:53.018388544+01:00 level=error msg="Could not initialize plugin" pluginId=grafana-oncall-app error="[serviceaccounts.ErrNotFound] service account with id 399 not found"

What did you expect to happen:

Startup and recreate serviceaccount in Org 4

How do we reproduce it?

  1. Grafana Ent with Org ID = 4 (only)
  2. Grafana Oncall with v1.14.1
  3. Enable externalServiceAccounts and restart Grafana

Grafana OnCall Version

oncall v1.14.1, grafana v11.2.2

Product Area

Auth, API

Grafana OnCall Platform?

Kubernetes

User's Browser?

No response

Anything else to add?

No response

@m4r1u2 m4r1u2 added the bug Something isn't working label Jan 30, 2025
@m4r1u2 m4r1u2 changed the title OnCall plygins on Grafana with OrgID != 1 crashed with externalServiceAccounts enabled OnCall plugin on Grafana with OrgID != 1 crashed with externalServiceAccounts enabled Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant