Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Graphs not working - PetaSAN Version 3.1.0 Upgrade

Pages: 1 2

Do you have error for both cluster as well as node stats ?

It is strange you see the error since we started all the services responsible for stats on a different node. It could be the stats data itself has an issue that causes the error, we can try reset of data:

# find stats server node:
/opt/petasan/scripts/util/get_cluster_leader.py
# on this node backup old data and create empty data dir:
/opt/petasan/scripts/stats-stop.sh
mv /opt/petasan/config/shared/graphite /opt/petasan/config/shared/graphite_backup
/opt/petasan/scripts/stats-setup.sh
/opt/petasan/scripts/stats-start.sh

wait 1 min and refresh ui, any luck ?

I also see your grafana logs error 502: could be a bad connection to graphite datastore:

log into grafana dashboard
https://ANY_MANAGEMENT_NODE:3000/grafana/
sign in as admin admin
configuration -> data sources
DS 1 should show url: http://localhost:8080
Save and Test
Do you see success in the Test ?

Does this command succeed on stats server node ?
wget http://localhost:8080

Strangely I have been experiencing the same error on version 3.3.0. Have followed all the stops but no luck. Have tried accessing Graphana on https://ANY_MANAGEMENT_NODE:3000/grafana/ and the page doesnt work. Tried with htttp instead of https and I get the following error:

If you're seeing this Grafana has failed to load its application files

1. This could be caused by your reverse proxy settings.

2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath

3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build

4. Sometimes restarting grafana-server can help

Pages: 1 2