gantt/nova/scheduler
Brian Elliott a187d8885e Fix bugs in resource tracker and cleanup
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
2012-09-20 05:11:10 +00:00
..
filters Fix bugs in resource tracker and cleanup 2012-09-20 05:11:10 +00:00
__init__.py Fix OpenStack Capitalization 2012-03-15 16:10:53 -07:00
chance.py Update quota when deleting volume that failed to be scheduled 2012-09-18 17:29:21 -04:00
driver.py Update quota when deleting volume that failed to be scheduled 2012-09-18 17:29:21 -04:00
filter_scheduler.py Fix bugs in resource tracker and cleanup 2012-09-20 05:11:10 +00:00
host_manager.py Fix bugs in resource tracker and cleanup 2012-09-20 05:11:10 +00:00
least_cost.py update compute_fill_first_cost_fn docstring 2012-07-24 15:59:52 -04:00
manager.py Merge "Improve error handling of scheduler" 2012-09-19 13:06:02 +00:00
multi.py Remove scheduler RPC API version 1.x 2012-08-29 20:54:49 +01:00
rpcapi.py Update quota when deleting volume that failed to be scheduled 2012-09-18 17:29:21 -04:00
scheduler_options.py Switch to common logging. 2012-07-02 15:57:09 -05:00
simple.py Update quota when deleting volume that failed to be scheduled 2012-09-18 17:29:21 -04:00