Skip to content

Commit

Permalink
Merge pull request #1867 from ceph/keyscan-timout
Browse files Browse the repository at this point in the history
  • Loading branch information
zmc authored Jul 14, 2023
2 parents aa6a80e + 03e13c3 commit ff9991b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion teuthology/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,8 @@ def ssh_keyscan(hostnames, _raise=True):
for hostname in hostnames:
with safe_while(
sleep=1,
tries=5 if _raise else 1,
tries=15 if _raise else 1,
increment=1,
_raise=_raise,
action="ssh_keyscan " + hostname,
) as proceed:
Expand Down

0 comments on commit ff9991b

Please sign in to comment.