Graphs not working - PetaSAN Version 3.1.0 Upgrade
Pages: 1 2
admin
2,930 Posts
October 26, 2022, 3:50 pmQuote from admin on October 26, 2022, 3:50 pmDo 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
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
Last edited on October 26, 2022, 3:53 pm by admin · #11
Pages: 1 2
Graphs not working - PetaSAN Version 3.1.0 Upgrade
admin
2,930 Posts
Quote from admin on October 26, 2022, 3:50 pmDo 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.shwait 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
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