]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: raise a better error on connection error during upgrade
authorAdam King <adking@redhat.com>
Fri, 21 Oct 2022 17:12:53 +0000 (13:12 -0400)
committerAdam King <adking@redhat.com>
Fri, 21 Oct 2022 19:09:39 +0000 (15:09 -0400)
commit225cd2d84b9753b985113998f7f3e969794884ed
tree616739e24a5716f0292d94d2922cd036b0f19614
parentbdd8008d246e1c1dc662e3492a3230c2e8c465dc
mgr/cephadm: raise a better error on connection error during upgrade

Right now failures to connect to a host during the upgrade result
in a "failed due to an unexpected exception" error. We can do a bit
better than that.

Fixes: https://tracker.ceph.com/issues/57891
Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/upgrade.py