Actions
Bug #43080
closedmgr/dashboard: exception on summary endpoint: "KeyError: 'dashboard'"
% Done:
0%
Source:
Q/A
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Reproduced in Nautilus (14.2.4). This usually happens during dashboard restart (disable-enable cycle). It could/should be easily avoided by catching the exception:
{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "traceback": "Traceback (most recent call last): File "/lib/python3.6/site-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/lib/python3.6/site-packages/cherrypy/lib/encoding.py", line 220, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/lib/python3.6/site-packages/cherrypy/_cptools.py", line 237, in wrap return self.newhandler(innerfunc, *args, **kwargs) File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 88, in dashboard_exception_handler return handler(*args, **kwargs) File "/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 60, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 649, in inner ret = func(*args, **kwargs) File "/usr/share/ceph/mgr/dashboard/controllers/summary.py", line 79, in __call__ 'mgr_host': self._get_host(), File "/usr/share/ceph/mgr/dashboard/controllers/summary.py", line 68, in _get_host return services['dashboard'] KeyError: 'dashboard' ", "version": "8.9.1"}
Updated by Patrick Seidensal over 4 years ago
- Is duplicate of Bug #42684: mgr/dashboard: KeyError on dashboard reload added
Updated by Patrick Seidensal over 4 years ago
- Status changed from New to Won't Fix
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 132 to General
Actions