]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix OSD out count 42153/head
author胡玮文 <huww98@outlook.com>
Mon, 21 Jun 2021 13:31:49 +0000 (21:31 +0800)
committerAvan Thakkar <athakkar@redhat.com>
Fri, 2 Jul 2021 12:34:54 +0000 (18:04 +0530)
commit02400577e01ce36a1e49d57c551548b446fe7ce1
tree80d9398a061647b74c11d45493befbab305646a6
parenteacd9c01d8378b81cfa8e379c2216840b6bd9e6c
mgr/dashboard: fix OSD out count

Think we have 3 OSDs out but up (prepare for re-formatting to change min_alloc_size), and another OSD down but in
(during reboot). The dashboard will display "1 down, 2 out", which is obviously incorrect. It should be "1 down, 3 out"

Fixes: https://tracker.ceph.com/issues/51376
Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit 921b48234777eba1a15c126f964cc47c0932879a)
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/osd-summary.pipe.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/osd-summary.pipe.ts