From: Zack Cerza Date: Thu, 27 Jul 2023 17:42:46 +0000 (-0600) Subject: FOG._wait_for_ready(): Catch ConnectionErrors X-Git-Tag: 1.2.0~85^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=287403d23005346f860390af47519007df02b859;p=teuthology.git FOG._wait_for_ready(): Catch ConnectionErrors Instead of just ConnectionResetErrors, which inherit from ConnectionError Signed-off-by: Zack Cerza --- diff --git a/teuthology/provision/fog.py b/teuthology/provision/fog.py index 8f32969b6..6194fc8e8 100644 --- a/teuthology/provision/fog.py +++ b/teuthology/provision/fog.py @@ -299,7 +299,7 @@ class FOG(object): self.remote.run(args=cmd, timeout=600) break except ( - ConnectionResetError, + ConnectionError, EOFError, ) as e: log.error(f"{e} on {self.shortname}")