]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
FOG._wait_for_ready: Tolerate EOFError fog-wfr-eoferror 1863/head
authorZack Cerza <zack@redhat.com>
Fri, 30 Jun 2023 22:11:14 +0000 (16:11 -0600)
committerZack Cerza <zack@redhat.com>
Fri, 30 Jun 2023 23:43:02 +0000 (17:43 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/provision/fog.py

index c30cc760c187ec3d0efa848b899a883725895bd0..8f32969b6a28fb7e7abe57121b182e7a8807036d 100644 (file)
@@ -298,7 +298,10 @@ class FOG(object):
                     try:
                         self.remote.run(args=cmd, timeout=600)
                         break
-                    except ConnectionResetError as e:
+                    except (
+                        ConnectionResetError,
+                        EOFError,
+                    ) as e:
                         log.error(f"{e} on {self.shortname}")
         self.log.info("Node is ready")