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 fails to load after Grafana pod restart, requires manual API call #5491

Open
therealdwright opened this issue Mar 7, 2025 · 0 comments

Comments

@therealdwright
Copy link

What happened?

What happened?
After restarting an ephemeral Grafana pod (either using the Helm chart or an external Grafana instance), the Grafana OnCall plugin does not automatically reconnect. Instead, the OnCall page displays the following error message:

"Plugin not connected. Looks like OnCall plugin hasn't been connected yet or has been misconfigured. Retry or contact your administrator."

To fix this issue, we must manually run the following API command inside the Grafana container

curl 'http://admin:[email protected]/grafana/api/plugins/grafana-oncall-app/resources/plugin/install' -X 'POST'

Without this manual intervention, the plugin remains in a broken state.

What did you expect to happen?

The Grafana OnCall plugin should automatically reconnect and function normally after a pod restart without requiring a manual API request.

Did this work before?

Unknown. We encountered the issue while deploying Grafana v11.5.2 with Grafana OnCall v1.15.2 on Kubernetes v1.30.9-eks-8cce635.

How do we reproduce it?

How do we reproduce it?

  • Deploy Grafana v11.5.2 with Grafana OnCall v1.15.2 on Kubernetes v1.30.9-eks-8cce635.
  • Restart the Grafana pod (via Helm upgrade, pod deletion, or another method).
  • Navigate to the Grafana OnCall plugin page.
  • Observe the "Plugin not connected" error.
  • Run the following command inside the Grafana pod:
curl 'http://admin:[email protected]/grafana/api/plugins/grafana-oncall-app/resources/plugin/install' -X 'POST'

Refresh the Grafana OnCall page; the plugin now loads correctly.

I've also raised #5490 but this feels like it could be more of a grafana bug.

Is the bug inside a dashboard panel?

No response

Environment (with versions)?

Environment (with versions)?

  • Grafana: v11.5.2
  • OS: Kubernetes (EKS) v1.30.9-eks-8cce635
  • Browser: Google Chrome v112.0.5615.137,

Grafana platform?

None

Datasource(s)?

No response

@therealdwright therealdwright changed the title Product Area: Short description of bug OnCall: Plugin fails to load after Grafana pod restart, requires manual API call Mar 7, 2025
@tolzhabayev tolzhabayev transferred this issue from grafana/grafana Mar 7, 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