Page MenuHomePhabricator

Give Drydock resources and leases a real "destroy" lifecycle phase
ClosedPublic

Authored by epriestley on Sep 23 2015, 5:00 PM.
Tags
None
Referenced Files
F15443133: D14144.id34181.diff
Thu, Mar 27, 2:38 AM
F15437166: D14144.id.diff
Tue, Mar 25, 6:00 PM
F15431929: D14144.diff
Mon, Mar 24, 3:24 PM
F15425735: D14144.id34178.diff
Sun, Mar 23, 5:47 AM
F15395703: D14144.id.diff
Sun, Mar 16, 9:04 AM
Unknown Object (File)
Feb 14 2025, 3:41 AM
Unknown Object (File)
Feb 14 2025, 3:41 AM
Unknown Object (File)
Feb 11 2025, 1:29 PM
Subscribers
None

Details

Summary

Ref T9252. Some leases or resources may need to remove data, tear down VMs, etc., during cleanup. After they are released, queue a "destroy" phase for performing teardown.

Test Plan
  • Used bin/drydock lease ... to create a working copy lease.
  • Used bin/drydock release-lease and bin/drydock release-resource to release the lease and then the working copy and host.
  • Saw working copy and host get destroyed and cleaned up properly.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Give Drydock resources and leases a real "destroy" lifecycle phase.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, hach-que.
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 23 2015, 6:06 PM
This revision was automatically updated to reflect the committed changes.