-
Notifications
You must be signed in to change notification settings - Fork 371
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] Dashboards constantly refreshing in operator #1045
Comments
when comparing json the only change grafana notices is the version |
@weisdd seems like we have some fun uid overwrite issue. |
@redminion0 thanks for reporting this issue. Could you provide an example of a dashboard that we can use to verify this? |
@redminion0 have you applied the CRDs from that PR as well? (There's a new status field to store UID) |
Hi @weisdd yes I have applied the CRD's. adding dashboards one at a time
mass adding dashboards
The error doesnt happen if smaller numbers are mass loaded at once. if the operator is left in this state we eventually get a error of: I will attempt to find the number of dashboards that causes the problem |
it seems to happen at around 18 dashboards (although im also thinking it might be size rather than volume) I can easily recreate it by applying all the dashboards from https://github.com/prometheus-operator/kube-prometheus/blob/main/manifests/grafana-dashboardDefinitions.yaml (although i have updated some of the panels (graph to time series etc) |
@redminion0 Great to hear it's reproducible. Could you share it in a form of a step-by-step guide + archive with manifests? (a full set of manifests would be useful for us to have the same resync timers and other settings) |
Alright, I think the repro in the archive should be enough to investigate it further: |
@redminion0 I've prepared a fix in #1051, the test image is here: |
@evgenii-denisov The behaviour you're seeing is not a bug and has nothing to do with the original issue that got fixed in #1051. - The basic example contains |
Describe the bug
A clear and concise description of what the bug is.
When using the v5.0.0-uid for dashboard UID support if multiple dashboards are imported the operator gets stuck in a loop constantly updating all dashboards.
Version
Full semver version of the operator being used e.g. v4.10.0, v5.0.0-rc0
quay.io/weisdd/grafana-operator:v5.0.0-uid (#1027)
To Reproduce
Steps to reproduce the behavior:
load the quay.io/weisdd/grafana-operator:v5.0.0-uid image.
then load in a large number of gzipJSON dashboards (in our case 36)
or
load dashboard one at a time (using the resource) then force the pods to move node
Expected behavior
A clear and concise description of what you expected to happen.
dashboards are not constantly updated
Suspect component/Location where the bug might be occurring
Please provide this if you know where this bug might occur otherwise leave as
unknown
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: