Open gaetanars opened 5 months ago
I've found the root-cause.
My plugins-provisioning file doesn't contain the stackId: 5
value. After Grafana restarting, the Oncall plugin fails.
After some days the problem is still present. It appears that at every restart the plugin provisioning run and Oncall fail with the same message :
An unknown error occurred when trying to install the plugin. Verify OnCall API URL, http://oncall-engine.grafana.svc:8080, is correct?
Refresh your page and try again, or try removing your plugin configuration and reconfiguring.
My plugin provisioning file :
---
apiVersion: 1
apps:
- type: grafana-oncall-app
jsonData:
orgId: 1
stackId: 5
onCallApiUrl: http://oncall-engine.grafana.svc:8080
Did you found the solution I am trying to configure oncall via provisioning I am getting the same error and in the logs of engine the request response 403, but if i configure the oncall setting the backend url in the configure interface it works
Also getting this issue. The example provisioning file present here is bogus. The frontend seems to make some API calls to get a token when registering the oncall-engine URL (going in secureJsonData), which the backend doesn't do, and so it errors out.
It seems even the main oncall kubernetes chart doesn't do this URL provisioning. Would it be possible to add an official way to enable provisioning for this plugin?
What went wrong?
What happened:
What did you expect to happen:
How do we reproduce it?
Grafana OnCall Version
1.3.91
Product Area
Auth
Grafana OnCall Platform?
Kubernetes
User's Browser?
Brave v1.62.153
Anything else to add?
Thank you for your help