Automatic datasource activation upon creation fails, requiring manual "Save & Test" for plugin connection #30245
Labels
grafana-operator
tech-issues
The user has a technical issue about an application
triage
Triage is needed
Name and Version
bitnami/grafana-operator-4.7.4
What architecture are you using?
None
What steps will reproduce the bug?
1- Deploy Grafana with Grafana Operator version 5.14.0-debian-12-r0.
2- Create a datasource resource in Kubernetes.
3- Observe the initial error "Query error: An error occurred within the plugin" when accessing the datasource in the Grafana UI.
4- Manually click "Save & Test" in the UI to establish the connection.
Are you using any custom parameters or values?
What is the expected behavior?
Ideally, the Grafana Operator should automatically connect and validate each datasource upon creation, removing the need for manual intervention. This would significantly improve workflow efficiency, especially when deploying multiple datasources.
What do you see instead?
Query error: An error occurred within the plugin
Additional information
When creating datasources in Grafana via Kubernetes resources, each datasource appears correctly in the Grafana UI. However, accessing the datasource shows the following error message:
"Query error: An error occurred within the plugin"
Despite this initial error, the datasource successfully connects after manually clicking the "Save & Test" button in the UI. This process is problematic, especially when creating multiple datasources, as it requires manually opening each one and pressing "Save & Test" to establish the connection.
The text was updated successfully, but these errors were encountered: