]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: don't attempt daemon actions for daemons on offline hosts
authorAdam King <kingamk3@gmail.com>
Sun, 15 Jan 2023 21:30:53 +0000 (16:30 -0500)
committerAdam King <adking@redhat.com>
Mon, 13 Mar 2023 21:20:34 +0000 (17:20 -0400)
commit79333c0390905771d4c6891192520a172ee7e00e
treed21064d04e04e18701c1d56b8d72395f886cb5d7
parentf29cb790e6e4755adccc150932bac1fe3e1706e7
mgr/cephadm: don't attempt daemon actions for daemons on offline hosts

They'll just fail anyway, and it will waste time waiting
for the connection to timeout. We have other places in
the serve loop that will check if the host is back
online.

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