[SERVER-60554] Reduce ConnectionAttempts in ssh connection options in powercycle Created: 08/Oct/21  Updated: 29/Oct/23  Resolved: 08/Oct/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 5.2.0, 5.0.4, 5.1.0-rc1

Type: Bug Priority: Major - P3
Reporter: Mikhail Shchatko Assignee: Mikhail Shchatko
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.1, v5.0
Sprint: STM 2021-10-18
Participants:
Linked BF Score: 24
Story Points: 0

 Description   

Currently with ssh options set to `ConnectTimeout=30` and `ConnectionAttempts=10` on Ubuntu for some reason it takes 20 minutes for ssh command to fail with connection timeout error. After setting `ConnectionAttempts=3` this time reduces to 5 minutes.



 Comments   
Comment by Githook User [ 08/Oct/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-60554 Reduce ConnectionAttempts in ssh connection options in powercycle

(cherry picked from commit 507652f425f3acc69e5f49e102a1aafce74c520a)
Branch: v5.1
https://github.com/mongodb/mongo/commit/43b248781fb83b2896d3695cb0769713b06c7963

Comment by Githook User [ 08/Oct/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-60554 Reduce ConnectionAttempts in ssh connection options in powercycle

(cherry picked from commit 507652f425f3acc69e5f49e102a1aafce74c520a)
Branch: v5.0
https://github.com/mongodb/mongo/commit/fb355fd7d2679ca3b86364cabdb1aea9925bb79a

Comment by Githook User [ 08/Oct/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-60554 Reduce ConnectionAttempts in ssh connection options in powercycle
Branch: master
https://github.com/mongodb/mongo/commit/507652f425f3acc69e5f49e102a1aafce74c520a

Generated at Thu Feb 08 05:50:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.