Merge lp:~justin-fathomdb/nova/schedule-compute-near-volume into lp:~hudson-openstack/nova/trunk
Status: | Work in progress |
---|---|
Proposed branch: | lp:~justin-fathomdb/nova/schedule-compute-near-volume |
Merge into: | lp:~hudson-openstack/nova/trunk |
Prerequisite: | lp:~justin-fathomdb/nova/constraint-scheduler |
Diff against target: |
700 lines (+437/-30) 9 files modified
nova/db/sqlalchemy/models.py (+3/-0) nova/scheduler/constraint.py (+68/-2) nova/scheduler/constraint_lib.py (+31/-22) nova/scheduler/datastore.py (+32/-1) nova/scheduler/driver.py (+39/-2) nova/scheduler/topology.py (+121/-0) nova/tests/test_constraintlib.py (+2/-1) nova/tests/test_scheduler.py (+52/-2) nova/tests/test_topology.py (+89/-0) |
To merge this branch: | bzr merge lp:~justin-fathomdb/nova/schedule-compute-near-volume |
Related bugs: | |
Related blueprints: |
API extension: /servers/{id}/actions
(Undefined)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ed Leafe | Pending | ||
Sandy Walsh | Pending | ||
Nova Core security contacts | Pending | ||
Review via email: mp+52520@code.launchpad.net |
Description of the change
The first new pluggable scheduler policy: support allocation of machines in a requested 'location'.
The 'location' is like eday's DNS-style zone names. Because that isn't implemented yet, we instead infer the location based on the reversed host DNS name (for now). Also, because we don't know how we're going to pass this information, we instead pass it in the only collection we've got: the metadata.
Unmerged revisions
- 734. By justinsb
-
Pep8ulous
- 733. By justinsb
-
Got tests passing; the problem was how to handle ties (i.e. when the weakest constraint had a draw)
- 732. By justinsb
-
Changed to using the more pythonic __str__ instead of the to_s hack
- 731. By justinsb
-
Merged in tests
- 730. By justinsb
-
Fix misnamed method service_
get_all_ by_topic_ location - 729. By justinsb
-
Fix superclass call
- 728. By justinsb
-
Plug in proximity based scheduler based on metadata
- 727. By justinsb
-
Merged with trunk
- 726. By justinsb
-
Initial implementation of proximity scheduler constraint
- 725. By justinsb
-
Added simple topology mapper
Probably shouldn't pass context as {} in the test case, as it will raise warnings if it actually gets used.