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
F14417869: D14144.diff
Wed, Dec 25, 2:49 AM
Unknown Object (File)
Wed, Dec 18, 7:35 AM
Unknown Object (File)
Tue, Dec 17, 6:13 AM
Unknown Object (File)
Mon, Dec 16, 7:46 PM
Unknown Object (File)
Fri, Dec 13, 9:52 AM
Unknown Object (File)
Fri, Dec 6, 1:49 AM
Unknown Object (File)
Thu, Nov 28, 1:22 AM
Unknown Object (File)
Tue, Nov 26, 6:24 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.