]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/Mgr.cc: clear daemon health metrics instead of removing down/out osd from daemon...
authorCory Snyder <csnyder@1111systems.com>
Fri, 19 Apr 2024 15:42:00 +0000 (15:42 +0000)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Wed, 10 Jul 2024 13:55:40 +0000 (20:55 +0700)
commitb9c12bc4ec211e8f34563e65d307c37e86ead978
tree74f1c54574f5fa7db9f2225ed37bae2da335ea88
parent9122136bebef94311801796793b3ccd81a4a9765
mgr/Mgr.cc: clear daemon health metrics instead of removing down/out osd from daemon state

Reverts the change from https://github.com/ceph/ceph/pull/53993
and directly clears daemon health metrics for down and out OSDs.
The former approach of removing down/out OSDs from the daemon
state has undesirable consequences for stat output, including
the prometheus exporter.

Fixes: https://tracker.ceph.com/issues/66168
Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 282558cf40274366360bb3b1ec0fa102fbb592a6)
src/mgr/Mgr.cc