Skip to content
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

failed to load dashboard via provisioning #65521

Closed
double-yaya opened this issue Mar 29, 2023 · 5 comments
Closed

failed to load dashboard via provisioning #65521

double-yaya opened this issue Mar 29, 2023 · 5 comments
Labels
area/dashboard area/provisioning triage/needs-confirmation used for OSS triage rotation - reported issue needs to be reproduced

Comments

@double-yaya
Copy link

double-yaya commented Mar 29, 2023

What happened:
I provisioned a grafana instance in k8s with prometheus. Datasources work, and stock dashboards work fine, I use additional dashboard provider/provisioner to a new Dashboard folder, json dashboard files are empty in grafana.

dashboardProviders:
  dashboardproviders.yaml:
    apiVersion: 1
    providers:
    - name: 'default'
      orgId: 1
      folder: ''
      type: file
      disableDeletion: false
      allowUiUpdates: true
      editable: true
      updateIntervalSeconds: 10
      options:
        path: /var/lib/grafana/dashboards

[log]
mode = console
logs:

t=2023-03-29T11:53:45+0000 lvl=eror msg="failed to load dashboard from " logger=provisioning.dashboard type=file name=default file=/var/lib/grafana/dashboards/cluster/Resources_Namespace.json error=EOF
t=2023-03-29T11:53:45+0000 lvl=eror msg="failed to load dashboard from " logger=provisioning.dashboard type=file name=default file=/var/lib/grafana/dashboards/cluster/pod-dashboard.json error=EOF
t=2023-03-29T11:53:45+0000 lvl=eror msg="failed to load dashboard from " logger=provisioning.dashboard type=file name=default file=/var/lib/grafana/dashboards/eslog/TI-Log-event-dashboard.json error=EOF
t=2023-03-29T11:53:45+0000 lvl=eror msg="failed to load dashboard from " logger=provisioning.dashboard type=file name=default file=/var/lib/grafana/dashboards/ti-inf/gpu-dcgm.json error=EOF
t=2023-03-29T11:53:45+0000 lvl=eror msg="failed to load dashboard from " logger=provisioning.dashboard type=file name=default file=/var/lib/grafana/dashboards/cluster/Ceph-Cluster.json error=EOF
t=2023-03-29T11:53:45+0000 lvl=eror msg="failed to load dashboard from " logger=provisioning.dashboard type=file name=default file=/var/lib/grafana/dashboards/cluster/prom-dashboard.json error=EOF
t=2023-03-29T11:53:45+0000 lvl=eror msg="failed to load dashboard from " logger=provisioning.dashboard type=file name=default file=/var/lib/grafana/dashboards/eslog/TI-k8s-log-dashboatd.json error=EOF
t=2023-03-29T11:53:45+0000 lvl=eror msg="failed to load dashboard from " logger=provisioning.dashboard type=file name=default file=/var/lib/grafana/dashboards/ti-inf/Mysql-Tables.json error=EOF

What you expected to happen:
auto reload dashboard to grafana ui

Anything else we need to know?:
UI error : Failed to load home dashboard
Environment:

Grafana version:8.3.3
Data source type & version:sqllite3
OS Grafana is installed on:linux
User OS & Browser:Linux + Chrome
Grafana plugins:
Others:

@usmangt usmangt changed the title failed to load dashboard from logger=provisioning.dashboard type=file name=default file=/var/lib/grafana/dashboards/pod-dashboard.json error=EOF failed to load dashboard via provisioning Mar 30, 2023
@tonypowa tonypowa added the triage/needs-confirmation used for OSS triage rotation - reported issue needs to be reproduced label Mar 31, 2023
@tonypowa
Copy link
Contributor

tonypowa commented Apr 3, 2023

thanks for creating this issue @double-yaya

can you double check if the path: is correct? When I did provisioning mine was under /etc/ E.g: /etc/grafana/provisioning/dashboards

@tonypowa tonypowa added area/dashboard needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc and removed triage/needs-confirmation used for OSS triage rotation - reported issue needs to be reproduced labels Apr 3, 2023
@double-yaya
Copy link
Author

provisioning

image

image

@tonypowa
Copy link
Contributor

tonypowa commented Apr 4, 2023

thank you for sharing the details @double-yaya

I will forward this to our dashboard engineering team for review

@tonypowa tonypowa added triage/needs-confirmation used for OSS triage rotation - reported issue needs to be reproduced and removed needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc labels Apr 4, 2023
@decipher27
Copy link

decipher27 commented Apr 10, 2023

Grafana Version: v8.5.15

Why then it's pointing to /tmp ? Also, I don't see any json files under /var/lib/grafana, I did check under /etc/ too..
Am i doing anything wrong here?

I have exec into the Grafana container.
image

@sakjur
Copy link
Contributor

sakjur commented Apr 24, 2023

This seems to be related to Helm. The Helm charts is maintained by a team of maintainers separate from the core Grafana project and issues related to Helm are tracked over in github.com/grafana/helm-charts. It seems like this issue has been reported thrice, with some suggestions for workarounds provided across the issues:

@sakjur sakjur closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard area/provisioning triage/needs-confirmation used for OSS triage rotation - reported issue needs to be reproduced
Projects
None yet
Development

No branches or pull requests

5 participants