Project

General

Profile

Bug #36190

mgr/dashboard: Improve error message when backend is unreachable

Added by Lenz Grimmer 3 months ago. Updated 2 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
dashboard/general
Target version:
Start date:
09/26/2018
Due date:
% Done:

0%

Source:
Tags:
dashboard, usability
Backport:
mimic
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

When the Mgr Dashboard backend goes down, the Manager Dashboard frontend starts emitting red error messages with the message "0 - Unknown Error", which isn't very helpful.

It would be nice if this error message could be replaced with something more meaningful, e.g. "Error connecting to the Dashboard backend service: <reason>", where <reason> could be some OS level error code like "Connection refused", "No route to host", "Host unknown".

Screenshot from 2018-09-26 12-29-23.png View (9.72 KB) Lenz Grimmer, 09/26/2018 10:31 AM

error_504.gif View (333 KB) Volker Theile, 09/27/2018 06:42 AM


Related issues

Copied to mgr - Backport #36334: mimic: mgr/dashboard: Improve error message when backend is unreachable Need More Info

History

#1 Updated by Lenz Grimmer 3 months ago

  • Description updated (diff)

#2 Updated by Volker Theile 3 months ago

Can not reproduce this, did get a '504 -Gateway Timeout' error wenn i disable the dashboard module. How can i reproduce this?

#3 Updated by Lenz Grimmer 3 months ago

I can easily reproduce it by starting a vstart cluster, opening the dashboard and logging in as "admin" and then stopping the cluster using "stop.sh".

#4 Updated by Volker Theile 3 months ago

  • Status changed from New to Need Review
  • Assignee set to Volker Theile

#5 Updated by Ricardo Marques 3 months ago

  • Status changed from Need Review to Resolved

#6 Updated by Volker Theile 3 months ago

  • Affected Versions v14.0.0 added

#7 Updated by Volker Theile 3 months ago

  • Status changed from Resolved to Pending Backport
  • Backport set to Mimic

#8 Updated by Nathan Cutler 2 months ago

  • Backport changed from Mimic to mimic

#9 Updated by Nathan Cutler 2 months ago

  • Copied to Backport #36334: mimic: mgr/dashboard: Improve error message when backend is unreachable added

Also available in: Atom PDF