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

Also available in: Atom PDF