Unable to update datasource #2259
Replies: 3 comments
-
|
Are you by any chance in the middle of migrating away from a file provisioned datasource? Datasources provisioned through files cannot be edited via the UI or the API unless they are provisioned with Alternatively, provisioning a deletion config for the datasource will allow the operator to create the datasource through the API from scratch. |
Beta Was this translation helpful? Give feedback.
-
|
yea , now i get to the root of this. and then when we moved to grafana operator , we use same database. Probably with grafana deployment using same old database( which have datasources provisioned) is considering these datasources as provisioned ones. even though with operator we provided datasources as crds. @Baarsgaard does this makes sense ? |
Beta Was this translation helpful? Give feedback.
-
|
You have three ways of solving it.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Operator fails to update existing datasource. tempo data source was created via GrafanaDataSource CRD. When now i try to update url in datasource , it gives error :
Version
v5.20.0
To Reproduce
Steps to reproduce the behavior:
Expected behavior
datasource to be updated automatically.
Suspect component/Location where the bug might be occurring
Please provide this if you know where this bug might occur otherwise leave as
unknownScreenshots
If applicable, add screenshots to help explain your problem.
Runtime (please complete the following information):
Additional context
Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions