[Bug] Prometheus datasource is not imported until the controller-manager is restarted #652
Labels
bug
Something isn't working
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Describe the bug
Prometheus datasource is not imported until the controller-manager is restarted.
Version
Grafana operator version is
4.1.0
and Openshift is4.9
.To Reproduce
Install the operator in the
opendatahub
namespace (or any other) using the following Subscription and OperatorGroup:Wait until the operator is installed:
Create a
Grafana
instance and aGrafanaDatasource
object with the following information:Wait some time (I waited more than 5 min) and list the available datasources to check that it is not being imported:
If I go the GUI it says
There are no data sources defined yet
so it is not an API specific related issue.The
operator
logs does not show anything relevant:Workaround
Restart the controller-manager:
Wait until the new version is deployed:
Verify the datasource is successfully imported:
Expected behavior
The datasource should be automatically imported without restarting the operator manually.
The text was updated successfully, but these errors were encountered: