Page MenuHomePhabricator

When `bin/drydock lease` is interrupted, release leases
ClosedPublic

Authored by epriestley on Feb 13 2018, 12:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 26, 5:26 AM
Unknown Object (File)
Wed, Dec 25, 8:30 PM
Unknown Object (File)
Mon, Dec 23, 12:01 AM
Unknown Object (File)
Thu, Dec 12, 6:44 AM
Unknown Object (File)
Wed, Dec 11, 5:11 PM
Unknown Object (File)
Nov 28 2024, 9:23 PM
Unknown Object (File)
Nov 28 2024, 8:45 PM
Unknown Object (File)
Nov 28 2024, 1:48 AM
Subscribers
Restricted Owners Package

Details

Summary

Depends on D19072. Ref T13073. Currently, you can leave leases stranded by using ^C to interrupt the script. Handle signals and release leases on destruction if they haven't activated yet.

Also, print out more useful information before and after activation.

Test Plan

Mashed ^C while runnning bin/drydock lease ... --trace, saw the lease release.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable