]> git-server-git.apps.pok.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>
Fri, 10 Mar 2023 13:58:54 +0000 (08:58 -0500)
commitce8682fac192a9b7cd846125ffd75b545e89f661
tree50eb31785bbbc2693213b507ee9b38d41c6679c3
parent879c7fb7ac07ccfd504c79c83af3bbd5293df9d5
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