Open Bug 1566227 Opened 6 years ago Updated 5 years ago

[tc-worker-runner] detect instance preemption in GCP

Categories

(Taskcluster :: Workers, enhancement, P4)

enhancement

Tracking

(Not tracked)

People

(Reporter: dustin, Unassigned)

Details

Per https://cloud.google.com/compute/docs/instances/preemptible this comes in the form of an ACPI interrupt, meaning the OS starts shutting down. So we'll need to either figure out how to intercept that interrupt (across operating systems) or hook into the OSs' shutdown processes.

In the interim, we'll just let pre-emption kill the instance, which has a similar effect but leaves "claim-expired" errors on the runs.

(In reply to Dustin J. Mitchell [:dustin] (he/him) from comment #0)

Per https://cloud.google.com/compute/docs/instances/preemptible this comes in the form of an ACPI interrupt, meaning the OS starts shutting down. So we'll need to either figure out how to intercept that interrupt (across operating systems) or hook into the OSs' shutdown processes.

It looks like there may be some guidance here on intercepting the shutdown...

Priority: -- → P4
You need to log in before you can comment on or make changes to this bug.