]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Mon, 22 Apr 2024 20:14:57 +0000 (16:14 -0400)
commit2f31a481ffc7cf6322b957f52bbfaa6ebbd96da2
tree445cbb61a95d68d8fc04811aa1da5abf09c7f9a8
parent56e81df3aeb98b717efe2ab0537a8c60249f95f7
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>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py