]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
FOG._wait_for_ready(): Catch ConnectionErrors 1874/head
authorZack Cerza <zack@redhat.com>
Thu, 27 Jul 2023 17:42:46 +0000 (11:42 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 27 Jul 2023 17:42:46 +0000 (11:42 -0600)
Instead of just ConnectionResetErrors, which inherit from
ConnectionError

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/provision/fog.py

index 8f32969b6a28fb7e7abe57121b182e7a8807036d..6194fc8e864395bf2c408230d326f76ed9e2cc14 100644 (file)
@@ -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}")