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 does not work with grafana 11.3 #5301

Closed
kvaster opened this issue Nov 26, 2024 · 3 comments
Closed

Oncall plugin does not work with grafana 11.3 #5301

kvaster opened this issue Nov 26, 2024 · 3 comments
Labels
bug Something isn't working part:helm/kubernetes/docker

Comments

@kvaster
Copy link

kvaster commented Nov 26, 2024

What went wrong?

Installed: grafana 11.3, grafana oncall plugin 1.13.4.

Grafana oncall plugin doesn't work with grafana >= 11.3.

I'm using victoria-metrics helm chart in kubernetes with default helm chart for grafana. Grafana helm chart version 8.5.9 uses grafana 11.3.0 and grafana helm chart 8.5.8 uses 11.2.2.

Plugin works Ok with 11.2.2 and with 11.3.0 it just can't get user permissions. Log attached.

logger=context userId=35 orgId=1 uname=sa-1-sa-autogen-oncall t=2024-11-26T21:58:48.609217772Z level=info msg="Request Completed" method=GET path=/api/access-control/users/2/permissions status=404 remote_addr=10.244.1.23 time_ms=4 duration=4.474313ms size=24 referer= handler=notfound status_source=server
logger=plugin.grafana-oncall-app t=2024-11-26T21:58:48.609643524Z level=error msg="Error getting user" error="failed to parse JSON response: json: cannot unmarshal object into Go value of type []plugin.OnCallPermission body={\"message\":\"Not found\"}\n"

How do we reproduce it?

Install grafana 11.3.0 and oncall plugin 1.13.4 -> oncall plugin can't connect to grafana.
Install grafana 11.2.2 and oncall plugin 1.13.4 -> oncall plugin can connect to grafana.

Grafana OnCall Version

1.13.4 and earlier

Product Area

Helm/Kubernetes/Docker

Grafana OnCall Platform?

Kubernetes

User's Browser?

Chrome 113

Anything else to add?

No response

@YgorCastor
Copy link

+1 Same issue here.

@bpedersen2
Copy link

See #5100

@kvaster
Copy link
Author

kvaster commented Nov 27, 2024

@bpedersen2, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working part:helm/kubernetes/docker
Projects
None yet
Development

No branches or pull requests

4 participants