Page MenuHomePhabricator

Implement cost estimation for resources in Drydock

Authored by hach-que on Aug 31 2014, 12:03 PM.
Referenced Files
Unknown Object (File)
Fri, Dec 1, 8:39 PM
Unknown Object (File)
Thu, Nov 30, 1:48 AM
Unknown Object (File)
Wed, Nov 22, 6:33 PM
Unknown Object (File)
Wed, Nov 15, 6:56 PM
Unknown Object (File)
Nov 5 2023, 2:14 AM
Unknown Object (File)
Oct 25 2023, 9:57 AM
Unknown Object (File)
Sep 16 2023, 4:02 PM
Unknown Object (File)
Sep 6 2023, 8:31 PM


Group Reviewers
Blessed Reviewers
Maniphest Tasks
T2015: Implement Drydock

Ref T2015. This implements a cost estimation mechanism for allocation of resources in Drydock. This is intended to help the allocator determine the cheapest resource it can allocate of a given type, based on the lifetime estimation provided on the lease.

For the purposes of testing, this implements test blueprints for two providers other than Amazon EC2. Although the number of permutations is currently limited (because host resources are only filtered based on platform), this will have a more significant impact when Harbormaster builds can request specific attributes on host resources (such as the host having a particular program or being in a particular region).

Test Plan

Tested using bin/drydock cost and by allocating resources.

Diff Detail

rP Phabricator
Lint Passed
Tests Passed
Build Status
Buildable 2405
Build 2409: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Implement cost estimation for resources in Drydock.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.

This hasn't ever been used in a production environment, and is probably way too dependent on future things.