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
[Bug] Cannot import more than 1 dashboard #680
Comments
@gilfrade I created the 2 GrafanaDashboard CRs from you example above, and both import OK They both also render (1 with data, 1 without, but that may be because I don't have the right data) I'm using Grafana version Grafana v7.5.11 (6f8c1d9fe4) Here's my Grafana CR.
|
Hello @david-martin , i tested with your Grafana CR and i still have this issue. Can you test with the operator deployment that i used? I only changed namespace from |
I've put the content into a gist for easier reference https://gist.github.com/david-martin/6a4f07c40ad6bed838a95722c859109a |
@david-martin have you had any time to look in this? |
Alas, no. I haven't thought about what to try from the uploaded resources (and how to go about trying them). |
Facing the same problem over here. |
@NissesSenap I haven't tried again with the latest releases but i will check again. |
@gilfrade i world do just like @david-martin did and simplify the yaml as much as possible. My suggestion is to delete all existing grafana related yaml and especially the CRD. If it does try adding some extra config to your grafana instance and see if you get the issue or not. This should help to pin point where in the config this might become a problem. Please share your findings. |
New k8 cluster and installed operator version 4.4.1. My thinking was maybe there's an issue when reusing the same CR grafana. grafana-deployment logs:
After i never could get multiple dashboards to work again in this cluster. I used namespace named |
Another Test:
I though it could be something related to custom namespace but this new tests did not helped in reaching any conclusion, when fails i see this kind of logs: grafana-deployment
manager
|
@gilfrade have you ever tried running multi namespace support for the dashboards? https://github.com/grafana-operator/grafana-operator/tree/master/deploy/cluster_roles Please do and see if this works better. |
@NissesSenap I will look into that but i dont think it will solve this. In the documentation: |
We have seen instances where multi namespace have been working better due to a previous bug. |
@NissesSenap, @afritzler, dashboards using multi namespace works. In my tests i installed operator, CR grafana and CR datastores in I leave the resources i used to test multi namespaces, at least for dashboards. |
I run into another issue, not sure if this is related. If i install dashboards CR and remove and reinstall again the dashboards are never imported again. In this test i'm using a Logs from controller seem related to this issue.
Grafana logs:
|
I captured traffic on grafana and i see this error to that post:
This POST controller is sending is this:
|
Closing this, as #689 has been merged. Please reopen if the problem still exists. |
Describe the bug
Cannot import more than 1 dashboard. Works if i import 1 dashboard.
Version
v4.1.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Imports two dashoards.
Suspect component/Location where the bug might be occuring
unknown
i tried grafana versions 7.1, 7.5, 8.3 all with the same resultGrafana Logs:
Grafana-Operator logs:
Dashboards:
Grafana deployment:
The text was updated successfully, but these errors were encountered: