Project

General

Profile

Bug #42684

mgr/dashboard: KeyError on dashboard reload

Added by Patrick Seidensal over 4 years ago. Updated almost 3 years ago.

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

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/cherrypy/_cprequest.py", line 638, in respond
    self._do_respond(path_info)
  File "/usr/lib64/python3.7/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond
    response.body = self.handler()
  File "/usr/lib64/python3.7/site-packages/cherrypy/lib/encoding.py", line 219, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib64/python3.7/site-packages/cherrypy/_cptools.py", line 230, in wrap
    return self.newhandler(innerfunc, *args, **kwargs)
  File "/ceph/src/pybind/mgr/dashboard/services/exception.py", line 88, in dashboard_exception_handler
    return handler(*args, **kwargs)
  File "/usr/lib64/python3.7/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/ceph/src/pybind/mgr/dashboard/controllers/__init__.py", line 657, in inner
    ret = func(*args, **kwargs)
  File "/ceph/src/pybind/mgr/dashboard/controllers/summary.py", line 87, in __call__
    'mgr_host': self._get_host(),
  File "/ceph/src/pybind/mgr/dashboard/controllers/summary.py", line 69, in _get_host
    return services['dashboard']
KeyError: 'dashboard'

Related issues

Duplicated by Dashboard - Bug #43080: mgr/dashboard: exception on summary endpoint: "KeyError: 'dashboard'" Won't Fix
Copied to Dashboard - Backport #43159: nautilus: mgr/dashboard: KeyError on dashboard reload Resolved

History

#1 Updated by Patrick Seidensal over 4 years ago

  • Pull request ID set to 31469

#2 Updated by Patrick Seidensal over 4 years ago

  • Status changed from In Progress to Fix Under Review

#3 Updated by Kefu Chai over 4 years ago

  • Status changed from Fix Under Review to Resolved

#4 Updated by Patrick Seidensal about 4 years ago

  • Duplicated by Bug #43080: mgr/dashboard: exception on summary endpoint: "KeyError: 'dashboard'" added

#5 Updated by Patrick Seidensal about 4 years ago

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

#6 Updated by Nathan Cutler about 4 years ago

  • Copied to Backport #43159: nautilus: mgr/dashboard: KeyError on dashboard reload added

#7 Updated by Tatjana Dehler about 4 years ago

  • Status changed from Pending Backport to Resolved

#8 Updated by Ernesto Puerta almost 3 years ago

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

Also available in: Atom PDF