]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: KeyError on dashboard reload 32233/head
authorPatrick Seidensal <pseidensal@suse.com>
Thu, 7 Nov 2019 15:57:26 +0000 (15:57 +0000)
committerTatjana Dehler <tdehler@suse.com>
Wed, 15 Jan 2020 16:13:01 +0000 (17:13 +0100)
commit04cc5982d81ff19eab94b3b526a666ceff8ba0df
tree1fb831c9edae5107bc8dae6b5f9081ce14a800d0
parentfcfc9a1eed8a96200604ff674bf20cb6b9a340a7
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>
(cherry picked from commit 808f0bf5e0adf4abda192758edbccdee3d4113d2)
src/pybind/mgr/dashboard/controllers/summary.py