2.8: Grafana Dashboard not working anymore
weisker
2 Posts
December 6, 2021, 7:03 pmQuote from weisker on December 6, 2021, 7:03 pmHi,
from one day to the other, the grafana embedded in the dashboard isn't working anymore. Rest seems to be just fine.
Instead of grafana, it shows the petasan login page. If I login, I get the whole PetaSAN website displayed in that grafana area, including the login page again. Happens on all 3 management nodes.
If I try to open the node log for my first management node, it's full of these entries:
ValueError: time data '2021-12-05 01:38:21' does not match format '%Y-%m-%d %H:%M:%S.%f'
(data_string, format))
File "/usr/lib/python3.6/_strptime.py", line 362, in _strptime
tt, fraction = _strptime(data_string, format)
File "/usr/lib/python3.6/_strptime.py", line 565, in _strptime_datetime
if datetime.utcnow()> datetime.strptime(_exp,"%Y-%m-%d %H:%M:%S.%f"):
File "/usr/lib/python3/dist-packages/PetaSAN/core/security/session.py", line 129, in open_session
return self.session_interface.open_session(self, request)
File "/usr/lib/python3/dist-packages/flask/app.py", line 912, in open_session
self.session = self.app.open_session(self.request)
File "/usr/lib/python3/dist-packages/flask/ctx.py", line 332, in push
ctx.push()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1978, in wsgi_app
return self.wsgi_app(environ, start_response)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1997, in __call__
application_iter = app(environ, start_response)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 258, in execute
execute(self.server.app)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 270, in run_wsgi
Traceback (most recent call last)
Anyone any clues?
Best regards,
Andreas
Hi,
from one day to the other, the grafana embedded in the dashboard isn't working anymore. Rest seems to be just fine.
Instead of grafana, it shows the petasan login page. If I login, I get the whole PetaSAN website displayed in that grafana area, including the login page again. Happens on all 3 management nodes.
If I try to open the node log for my first management node, it's full of these entries:
ValueError: time data '2021-12-05 01:38:21' does not match format '%Y-%m-%d %H:%M:%S.%f'
(data_string, format))
File "/usr/lib/python3.6/_strptime.py", line 362, in _strptime
tt, fraction = _strptime(data_string, format)
File "/usr/lib/python3.6/_strptime.py", line 565, in _strptime_datetime
if datetime.utcnow()> datetime.strptime(_exp,"%Y-%m-%d %H:%M:%S.%f"):
File "/usr/lib/python3/dist-packages/PetaSAN/core/security/session.py", line 129, in open_session
return self.session_interface.open_session(self, request)
File "/usr/lib/python3/dist-packages/flask/app.py", line 912, in open_session
self.session = self.app.open_session(self.request)
File "/usr/lib/python3/dist-packages/flask/ctx.py", line 332, in push
ctx.push()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1978, in wsgi_app
return self.wsgi_app(environ, start_response)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1997, in __call__
application_iter = app(environ, start_response)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 258, in execute
execute(self.server.app)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 270, in run_wsgi
Traceback (most recent call last)
Anyone any clues?
Best regards,
Andreas
admin
2,930 Posts
December 7, 2021, 11:06 amQuote from admin on December 7, 2021, 11:06 ami will pass this error log to our developers.
in the mean time, can you try to access the UI from another management node and see if this helps? Another thing to try, if you can reboot a node, type rebooting the statistics collection server, you can identify the current server via
/opt/petasan/scripts/util/get_cluster_leader.py
then reboot the indicated node
i will pass this error log to our developers.
in the mean time, can you try to access the UI from another management node and see if this helps? Another thing to try, if you can reboot a node, type rebooting the statistics collection server, you can identify the current server via
/opt/petasan/scripts/util/get_cluster_leader.py
then reboot the indicated node
Last edited on December 7, 2021, 11:07 am by admin · #2
weisker
2 Posts
December 7, 2021, 2:10 pmQuote from weisker on December 7, 2021, 2:10 pmIt won't make any difference to which management node I connect.
I can try rebooting the node, but I'm always a bit anxious on doing it during main work hours, so I'm going to do it later this evening.
It won't make any difference to which management node I connect.
I can try rebooting the node, but I'm always a bit anxious on doing it during main work hours, so I'm going to do it later this evening.
2.8: Grafana Dashboard not working anymore
weisker
2 Posts
Quote from weisker on December 6, 2021, 7:03 pmHi,
from one day to the other, the grafana embedded in the dashboard isn't working anymore. Rest seems to be just fine.
Instead of grafana, it shows the petasan login page. If I login, I get the whole PetaSAN website displayed in that grafana area, including the login page again. Happens on all 3 management nodes.If I try to open the node log for my first management node, it's full of these entries:
ValueError: time data '2021-12-05 01:38:21' does not match format '%Y-%m-%d %H:%M:%S.%f'
(data_string, format))
File "/usr/lib/python3.6/_strptime.py", line 362, in _strptime
tt, fraction = _strptime(data_string, format)
File "/usr/lib/python3.6/_strptime.py", line 565, in _strptime_datetime
if datetime.utcnow()> datetime.strptime(_exp,"%Y-%m-%d %H:%M:%S.%f"):
File "/usr/lib/python3/dist-packages/PetaSAN/core/security/session.py", line 129, in open_session
return self.session_interface.open_session(self, request)
File "/usr/lib/python3/dist-packages/flask/app.py", line 912, in open_session
self.session = self.app.open_session(self.request)
File "/usr/lib/python3/dist-packages/flask/ctx.py", line 332, in push
ctx.push()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1978, in wsgi_app
return self.wsgi_app(environ, start_response)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1997, in __call__
application_iter = app(environ, start_response)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 258, in execute
execute(self.server.app)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 270, in run_wsgi
Traceback (most recent call last)Anyone any clues?
Best regards,
Andreas
Hi,
from one day to the other, the grafana embedded in the dashboard isn't working anymore. Rest seems to be just fine.
Instead of grafana, it shows the petasan login page. If I login, I get the whole PetaSAN website displayed in that grafana area, including the login page again. Happens on all 3 management nodes.
If I try to open the node log for my first management node, it's full of these entries:
ValueError: time data '2021-12-05 01:38:21' does not match format '%Y-%m-%d %H:%M:%S.%f'
(data_string, format))
File "/usr/lib/python3.6/_strptime.py", line 362, in _strptime
tt, fraction = _strptime(data_string, format)
File "/usr/lib/python3.6/_strptime.py", line 565, in _strptime_datetime
if datetime.utcnow()> datetime.strptime(_exp,"%Y-%m-%d %H:%M:%S.%f"):
File "/usr/lib/python3/dist-packages/PetaSAN/core/security/session.py", line 129, in open_session
return self.session_interface.open_session(self, request)
File "/usr/lib/python3/dist-packages/flask/app.py", line 912, in open_session
self.session = self.app.open_session(self.request)
File "/usr/lib/python3/dist-packages/flask/ctx.py", line 332, in push
ctx.push()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1978, in wsgi_app
return self.wsgi_app(environ, start_response)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1997, in __call__
application_iter = app(environ, start_response)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 258, in execute
execute(self.server.app)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 270, in run_wsgi
Traceback (most recent call last)
Anyone any clues?
Best regards,
Andreas
admin
2,930 Posts
Quote from admin on December 7, 2021, 11:06 ami will pass this error log to our developers.
in the mean time, can you try to access the UI from another management node and see if this helps? Another thing to try, if you can reboot a node, type rebooting the statistics collection server, you can identify the current server via
/opt/petasan/scripts/util/get_cluster_leader.py
then reboot the indicated node
i will pass this error log to our developers.
in the mean time, can you try to access the UI from another management node and see if this helps? Another thing to try, if you can reboot a node, type rebooting the statistics collection server, you can identify the current server via
/opt/petasan/scripts/util/get_cluster_leader.py
then reboot the indicated node
weisker
2 Posts
Quote from weisker on December 7, 2021, 2:10 pmIt won't make any difference to which management node I connect.
I can try rebooting the node, but I'm always a bit anxious on doing it during main work hours, so I'm going to do it later this evening.
It won't make any difference to which management node I connect.
I can try rebooting the node, but I'm always a bit anxious on doing it during main work hours, so I'm going to do it later this evening.