Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions package/cloudshell/cm/customscript/customscript_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ def _connect(self, executor, cancel_sampler, timeout_minutes):
# 10064 EHOSTDOWN Host is down
# 10065 EHOSTUNREACH Host is unreachable
# 500 Bad http response (winrm)
# 110 ERROR_SSH_CONNECTION_LOST Connection was lost by some reason
# 113 EHOSTUNREACH No route to host (winrm - OpenStack)
# 111 ERROR_SSH_APPLICATION_CLOSED User on the other side of connection closed application that led to disconnection
valid_errnos = [10060, 10061, 10064, 10065, 500, 111, 110]
# 110 ERROR_SSH_CONNECTION_LOST Connection was lost by some reason
valid_errnos = [10060, 10061, 10064, 10065, 500, 113, 111, 110]
interval_seconds = 10
start_time = time.time()
while True:
Expand Down