]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: update check-host to handle new HostConnectionError exception
authorAdam King <adking@redhat.com>
Fri, 21 Oct 2022 18:41:03 +0000 (14:41 -0400)
committerAdam King <adking@redhat.com>
Fri, 17 Feb 2023 15:45:50 +0000 (10:45 -0500)
commit164ac00b00d5423afafa8612c4e6e3c73f96408c
tree1402c273be46f3a970636d81bca8b87b7bdc0e4d
parent3787501849be5a9ce72c3df2f9ad536e21780684
mgr/cephadm: update check-host to handle new HostConnectionError exception

Otherwise we'll return a message about the host not being found
and to check 'ceph orch host ls' when the actual problem is the
host being offline

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 29bff27ccfcbaac1b008b03354736c35b629e81a)
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/tests/test_ssh.py