]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix OSD out count 41953/head
author胡玮文 <huww98@outlook.com>
Mon, 21 Jun 2021 13:31:49 +0000 (21:31 +0800)
committer胡玮文 <huww98@outlook.com>
Sat, 26 Jun 2021 14:10:46 +0000 (22:10 +0800)
commit921b48234777eba1a15c126f964cc47c0932879a
tree46f9f06127925a8236624c5bdaeb2baa2d2a4e92
parent7513b24aa5501812db5cc4277cdbd05d402073dc
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>
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