[SERVER-53040] Use host.create for powercycle in Evergreen (host.create ticket 2) Created: 23/Nov/20  Updated: 29/Oct/23  Resolved: 12/Jan/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Vlad Rachev (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-53041 Forward mongo ports through SSH tunne... Closed
is depended on by SERVER-53038 Remove "aws_ec2" crash method (host.c... Closed
is depended on by SERVER-53044 Remove all inline powercycle expansio... Closed
Backwards Compatibility: Fully Compatible
Sprint: STM 2021-01-11, STM 2021-01-25
Participants:
Story Points: 2

 Description   

Use host.create for powercycle on Windows and Ubuntu. Evergreen will handle starting and stopping the host, using the code from the POC in evergreen.yml here.

Notes:

  • We need to pass in a dummy instance_id field to the generated YAML here, otherwise the remaining powercycle remote operations in evergreen.yml will not work, as we rely on the existance of the instance_id expansion to indicate a powercycle task.
  • There is no need to remove unused code yet; that will be done in SERVER-53038. The EC2 module in powertest.py will not be used as we do not provide an instance_id.
  • There's no need to run the Windows task yet as it will still be failing


 Comments   
Comment by Githook User [ 11/Jan/21 ]

Author:

{'name': 'vrachev', 'email': 'vlad.rachev@mongodb.com', 'username': 'vrachev'}

Message: SERVER-53040 Use host.create for powercycle in Evergreen
Branch: master
https://github.com/mongodb/mongo/commit/32245a8606d74f72e87294eb75ce710245b06df9

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