summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorBrian Elliott <brian.elliott@rackspace.com>2012-09-14 15:17:07 +0000
committerChris Behrens <cbehrens@codestud.com>2012-09-20 05:11:10 +0000
commit8e851409f3a8a345ec954a880c81232fbf9e27b4 (patch)
treef0291a5faff47c4d2eea261d52e85e77c3a560e4 /nova/openstack
parent64a45f03c180a485f72be54a1b42f23b7a752699 (diff)
downloadnova-8e851409f3a8a345ec954a880c81232fbf9e27b4.tar.gz
nova-8e851409f3a8a345ec954a880c81232fbf9e27b4.tar.xz
nova-8e851409f3a8a345ec954a880c81232fbf9e27b4.zip
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
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions