]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: don't mark daemons created/removed in the last minute as stray
authorAdam King <adking@redhat.com>
Wed, 17 Apr 2024 13:36:13 +0000 (09:36 -0400)
committerAdam King <adking@redhat.com>
Fri, 10 May 2024 15:43:03 +0000 (11:43 -0400)
commitd43c351912c96fd44eb5377b06b0717ce0628f4c
tree579bd0595dc4014c996fd8d7052bcbec08bda633
parentf72fecff68e1d400c4568684327c900485c20d6a
mgr/cephadm: don't mark daemons created/removed in the last minute as stray

There is sometimes a slight delay between when the core
mgr knows a daemon has been created/removed and when cephadm knows
it as been created/removed. This can cause stray daemon warnings
to pop up for a few seconds at a time. This patch tries
to avoid that by not marking daemons as stray that it
knows it just created/removed in the past minute.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 2f31a481ffc7cf6322b957f52bbfaa6ebbd96da2)
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py