a187d8885e
Fixes bugs in resource tracker: * Handle disk oversubscription * Handle suspended/powered off instances The usage model is changed to the old style that is based on actual instance usage on a compute host. (Not the current point in time of the hypervisor's reported host stats) There is now a 'limits' filter property that can be passed from the scheduler to the compute node to indicate that oversubscription of resources is desired: The 'limits' filter property is a dict with the following possible keys: * memory_mb - Specifies the memory ceiling for the compute node. * disk_gb - Specifies the disk space ceiling for the compute node. * vcpu - Specifies the max number of vcpus for the compute node. There is also some general cleanup and additional unit tests in an attempt to simplify down this function. bug 1048842 bug 1052157 Change-Id: I6ee851b8c03234a78a64d9f5c494dfc7059cdda4 |
||
---|---|---|
.. | ||
__init__.py | ||
fakes.py | ||
test_chance_scheduler.py | ||
test_filter_scheduler.py | ||
test_host_filters.py | ||
test_host_manager.py | ||
test_least_cost.py | ||
test_multi_scheduler.py | ||
test_rpcapi.py | ||
test_scheduler_options.py | ||
test_scheduler.py |