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 12, 6:44 AM
Unknown Object (File)
Wed, Dec 11, 5:11 PM
Unknown Object (File)
Thu, Nov 28, 9:23 PM
Unknown Object (File)
Thu, Nov 28, 8:45 PM
Unknown Object (File)
Thu, Nov 28, 1:48 AM
Unknown Object (File)
Nov 19 2024, 2:14 PM
Unknown Object (File)
Oct 20 2024, 12:49 PM
Unknown Object (File)
Oct 15 2024, 3:13 PM
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