]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: properly handle a missing rbd-mirror service status 32133/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 27 Nov 2019 17:03:21 +0000 (12:03 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 9 Dec 2019 17:00:55 +0000 (12:00 -0500)
commit6c404da6943dd7bebb7b2fa9f9cc1269c905314e
tree3e78b6030516dd44e43d61bc48ab67d0da1b6656
parent3166cd86bf636075c9c218498d7754202930a2e7
mgr/dashboard: properly handle a missing rbd-mirror service status

This was resulting in 500 errors in the dashboard due to the missing
status being handled like a dict.

Fixes: https://tracker.ceph.com/issues/43029
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 499d749e3f96ef9af0fa2381a47efc2a745eff45)
src/pybind/mgr/dashboard/controllers/rbd_mirroring.py