]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: KeyError on dashboard reload 31469/head
authorPatrick Seidensal <pseidensal@suse.com>
Thu, 7 Nov 2019 15:57:26 +0000 (15:57 +0000)
committerPatrick Seidensal <pseidensal@suse.com>
Mon, 11 Nov 2019 14:07:58 +0000 (15:07 +0100)
commit808f0bf5e0adf4abda192758edbccdee3d4113d2
treeb6d03a9903e24f995e339a9d46d0c41c5ec6178f
parent147b576be4331342024b0881a398ca9ba0af52da
mgr/dashboard: KeyError on dashboard reload

When reloading the dashboard using `ceph mgr module disable/enable
dashbaord`, the error is thrown shortly after the dashboard module has
been reactivated, because `dashboard` is not yet available in
`services`. A second attempt works.

Fixes: https://tracker.ceph.com/issues/42684
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
src/pybind/mgr/dashboard/controllers/summary.py