Merge pull request #1240 from apache/DATALAB-2508
[DATALAB-2508] - Possible reason of error "connection reset by peer" fixed
diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py b/infrastructure-provisioning/src/general/lib/os/fab.py
index 0f17f6c..844d0a7 100644
--- a/infrastructure-provisioning/src/general/lib/os/fab.py
+++ b/infrastructure-provisioning/src/general/lib/os/fab.py
@@ -1139,7 +1139,7 @@
attempt = 0
while attempt < 15:
print('connection attempt {}'.format(attempt))
- conn = Connection(host = hostname, user = username, connect_kwargs={'banner_timeout': 60,
+ conn = Connection(host = hostname, user = username, connect_kwargs={'banner_timeout': 200,
'key_filename': keyfile})
conn.config.run.echo = True
try: