[SERVER-32228] Powercycle - handle remote host restarts Created: 08/Dec/17  Updated: 30/Oct/23  Resolved: 21/Dec/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.6.3, 3.7.1

Type: Task Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Duplicate
is duplicated by SERVER-32229 Powercycle - handle remote host restarts Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6
Sprint: TIG 2018-1-1
Participants:

 Description   

For power cycle events, it would be proper if the host is unreachable to do the folowing:

  • Check the status of the instance
  • If the instance is stopped, attempt to start it
  • If the start fails then mark this as a system failure

This could be done in evergreen.yml in the post and timeout phases. For the powertest.py script, it can also retry to start if it detects a stopped instance, however it would be more difficult to mark this as system failure, unless a dedicated exit code is used,



 Comments   
Comment by Githook User [ 02/Feb/18 ]

Author:

{'email': 'jonathan@mongodb.com', 'name': 'Jonathan Abrahams', 'username': 'hptabster'}

Message: SERVER-32228 Remove extraneous crash_options for powercycle_WT task

(cherry picked from commit b82d22183aac3443188becfe84329374e475b5dc)
Branch: v3.6
https://github.com/mongodb/mongo/commit/c8fbba8852070f3776cd0208ea56f05824ce561e

Comment by Githook User [ 02/Feb/18 ]

Author:

{'email': 'jonathan@mongodb.com', 'name': 'Jonathan Abrahams', 'username': 'hptabster'}

Message: SERVER-32228 Powercycle - handle remote host restarts

(cherry picked from commit 260cc0cb463537cf9f1f479a8c38e74ffd807407)
Branch: v3.6
https://github.com/mongodb/mongo/commit/77667587cfe0712875e7d05e6f3329b94a948a2d

Comment by Githook User [ 21/Dec/17 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-32228 Remove extraneous crash_options for powercycle_WT task
Branch: master
https://github.com/mongodb/mongo/commit/b82d22183aac3443188becfe84329374e475b5dc

Comment by Githook User [ 21/Dec/17 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-32228 Powercycle - handle remote host restarts
Branch: master
https://github.com/mongodb/mongo/commit/260cc0cb463537cf9f1f479a8c38e74ffd807407

Generated at Thu Feb 08 04:29:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.