]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: stop running "true" before every command
authorAdam King <adking@redhat.com>
Fri, 6 Sep 2024 13:04:37 +0000 (09:04 -0400)
committerAdam King <adking@redhat.com>
Tue, 10 Sep 2024 13:43:29 +0000 (09:43 -0400)
commit950d5ef187d5cf4ec7e5176bb698d231f32ad3d4
tree0b8f5d910939caa1485fd0e71058a13e20ea0db7
parentce17a76f2f571e6f19f95b8dcb264dc6c251a99d
mgr/cephadm: stop running "true" before every command

It turns out this is completely unnecessary. With the keepalive
settings on the connection, we no longer need to run an
additional command with a timeout on it to quickly detect a
host is offline

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