]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix OSD out count 42154/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:47:01 +0000 (18:17 +0530)
commited460c75f9a47f2494be309b8ae0cf59c16d6f0d
treeaa55db89e92f71ac0ab1866b146cb16c7afc597a
parent31fde1563058c927bc1c550a9f54ec82536ba1cc
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