[SERVER-53038] Remove "aws_ec2" crash method (host.create ticket 3) Created: 23/Nov/20  Updated: 29/Oct/23  Resolved: 19/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-53040 Use host.create for powercycle in Eve... Closed
Backwards Compatibility: Fully Compatible
Sprint: STM 2021-01-25
Participants:
Story Points: 2

 Description   

Remove the aws_ec2 crash method in powertest.py and all EC2-control logic used by the crash method including the following:

  • is_instance_running(). We assume the instance is always running.
  • all instances of aws_ec2 in code and in strings in powertest.py
  • imports and all usages of the {{aws_ec2]} module
  • buildscripts/aws_ec2.py (yes the entire file)
  • buildscripts/launch_evergreen_ec2_instance.sh
  • Parts of the SetUpEC2Instance class in plugins.py based on the POC, The file may have moved by the time this ticket is worked on.


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

Author:

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

Message: SERVER-53038 Remove old aws_ec2 code now that powercycle uses host.create
Branch: master
https://github.com/mongodb/mongo/commit/8741999164c9fa6e6588452b74ded3126f7dd9f6

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