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] GrafanaDashboard is not getting created #740
Comments
I am facing Similar Issue with my grafana-operator V4.3.0 |
@lucamaf and @nemerna how does your grafana yaml look like? In general my greatest tip is to do everything as basic as possible and then add more fancy grafana features after you have seen that the dashboards are getting imported as intended. Grafana example: Dashboard example: https://github.com/grafana-operator/grafana-operator/tree/master/deploy/examples/dashboards If you solve the issue please share what steps you took to make it easier for other people to learn. |
@lucamaf can you share your dashboard CR? |
I have the same problem, I am trying with the exact same examples in the repo (only the namespace is different) but the dashboard is not visible: apiVersion: integreatly.org/v1alpha1
kind: Grafana
metadata:
name: example-grafana
namespace: monitoring
spec:
ingress:
enabled: True
hostname: "grafana.apps.127.0.0.1.nip.io"
path: /
pathType: Prefix
config:
log:
mode: "console"
level: "warn"
security:
admin_user: "root"
admin_password: "secret"
auth:
disable_login_form: False
disable_signout_menu: True
auth.anonymous:
enabled: True
dashboardLabelSelector:
- matchExpressions:
- { key: app, operator: In, values: [grafana] }
---
apiVersion: integreatly.org/v1alpha1
kind: GrafanaDashboard
metadata:
name: simple-dashboard
namespace: monitoring
labels:
app: grafana
spec:
json: >
{
"id": null,
"title": "Simple Dashboard",
"tags": [],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"graphTooltip": 1,
"panels": [],
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"time_options": [],
"refresh_intervals": []
},
"templating": {
"list": []
},
"annotations": {
"list": []
},
"refresh": "5s",
"schemaVersion": 17,
"version": 0,
"links": []
} When I go in the logs, I see this problem:
But also:
Complete logs:
Version is 4.4.1, in a K3D cluster, installed through bitnami helm 2.5.8 |
Similar issue in my case also when running grafana on https enabled. Bug Reference: #642 |
@NissesSenap I tried deploying even the simple one link and not even that one syncs. I'm now on grafana 4.4.1 |
@lucamaf can you try the same thing as described in this comment: #680 (comment) |
that's not possible when you deploy using the community operator on openshift, there is no installation for the operator on the whole cluster |
You can always manually try. It would be good to verify that it's the same issue |
This issue hasn't been updated for a while, marking as stale, please respond within the next 7 days to remove this label |
Describe the bug
Even if I created the object GrafanaDashboard this is not being created inside Grafana
Version
Operator being used 4.3.0
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected to see Grafana dashboard inside Grafana instance
Screenshots
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.
The text was updated successfully, but these errors were encountered: