Project

General

Profile

Actions

Bug #36190

closed

mgr/dashboard: Improve error message when backend is unreachable

Added by Lenz Grimmer over 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
General
Target version:
% Done:

0%

Source:
Tags:
dashboard, usability
Backport:
mimic
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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".


Files

Screenshot from 2018-09-26 12-29-23.png (9.72 KB) Screenshot from 2018-09-26 12-29-23.png Lenz Grimmer, 09/26/2018 10:31 AM
error_504.gif (333 KB) error_504.gif Volker Theile, 09/27/2018 06:42 AM

Related issues 1 (0 open1 closed)

Copied to Dashboard - Backport #36334: mimic: mgr/dashboard: Improve error message when backend is unreachableRejectedActions
Actions #1

Updated by Lenz Grimmer over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Volker Theile over 5 years ago

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

Actions #3

Updated by Lenz Grimmer over 5 years 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".

Actions #4

Updated by Volker Theile over 5 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Volker Theile
Actions #5

Updated by Ricardo Marques over 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions #6

Updated by Volker Theile over 5 years ago

  • Affected Versions v14.0.0 added
Actions #7

Updated by Volker Theile over 5 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to Mimic
Actions #8

Updated by Nathan Cutler over 5 years ago

  • Backport changed from Mimic to mimic
Actions #9

Updated by Nathan Cutler over 5 years ago

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

Updated by Lenz Grimmer about 5 years ago

  • Pull request ID set to 24322
Actions #11

Updated by Nathan Cutler almost 5 years ago

  • Status changed from Pending Backport to Resolved
Actions #12

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 132 to General
Actions

Also available in: Atom PDF