[tc-worker-runner] detect instance preemption in GCP
Categories
(Taskcluster :: Workers, enhancement, P4)
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.
Comment 1•6 years ago
|
||
(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...
Reporter | ||
Updated•5 years ago
|
Description
•