]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: properly handle a missing rbd-mirror service status 31907/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 27 Nov 2019 17:03:21 +0000 (12:03 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 27 Nov 2019 17:06:44 +0000 (12:06 -0500)
commit499d749e3f96ef9af0fa2381a47efc2a745eff45
tree8b44b6e524101a35e02c8403d964748c6103a969
parent7534737030b3b51e00f9ffc519574bcb10f6c950
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>
src/pybind/mgr/dashboard/controllers/rbd_mirroring.py