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
Unknown Object (File)
Fri, Mar 15, 12:07 AM
Unknown Object (File)
Mon, Mar 4, 6:14 PM
Unknown Object (File)
Mon, Mar 4, 6:14 PM
Unknown Object (File)
Jan 26 2024, 12:46 AM
Unknown Object (File)
Jan 23 2024, 4:27 PM
Unknown Object (File)
Jan 9 2024, 9:17 AM
Unknown Object (File)
Jan 2 2024, 8:29 AM
Unknown Object (File)
Dec 27 2023, 7:02 AM
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.