97096c8e4a
With the removal of the Core, Ram and Disk filters in change I8a0d332877fbb9794700081e7954f2501b7e7c09, there's now only a single caller for the 'estimate_instance_overhead' function. This call results in the 'memory_mb_used', 'local_gb_used', 'vcpus_used', 'free_ram_mb' and 'free_disk_gb' fields of a compute nodes 'ComputeNode' object being modified when calculating usage as part of the resource tracker to include driver-specific overhead. However, these fields are no longer used for for anything except logging and the 'os-hypervisors' API. Since overhead is not reflected in placement (and therefore the scheduler), reporting them as part of the various usage values for both logging and that API is actually a bit of a lie and is likely to cause confusion among users. Remove the whole thing and make our logs and the 'os-hypervisors' API better match what's stored in placement. Change-Id: I033e8269194de54432079cbc970431e3dcea7ce5 Signed-off-by: Stephen Finucane <sfinucan@redhat.com> |
||
---|---|---|
.. | ||
disk | ||
hyperv | ||
image | ||
ironic | ||
libvirt | ||
powervm | ||
vmwareapi | ||
xenapi | ||
zvm | ||
__init__.py | ||
arch.py | ||
block_device.py | ||
configdrive.py | ||
driver.py | ||
event.py | ||
fake.py | ||
firewall.py | ||
hardware.py | ||
imagecache.py | ||
images.py | ||
interfaces.template | ||
netutils.py | ||
osinfo.py | ||
storage_users.py | ||
virtapi.py |