Runner should check spot termination time

RESOLVED WONTFIX

Status

Release Engineering
General Automation
RESOLVED WONTFIX
3 years ago
a year ago

People

(Reporter: rail, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
See https://aws.amazon.com/blogs/aws/new-ec2-spot-instance-termination-notices/?sc_ichannel=em&sc_icountry=global&sc_icampaigntype=launch&sc_icampaign=em_130420040&sc_idetail=em_1040521286&ref_=pe_395030_130420040_8

We could check http://169.254.169.254/latest/meta-data/spot/termination-time and figure out whether the instances is scheduled to be killed. Halting the instance would prevent possible job termination and retries.

Also, it would be great to call "poweroff" after some time out (sleep 5m?) to allow us to login to the instances in case something is wrong.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.