Merge "Remove redundant free_vcpus logging in _report_hypervisor_resource_view"

This commit is contained in:
Jenkins 2017-07-31 14:32:09 +00:00 committed by Gerrit Code Review
commit 44abd630a4

View File

@ -727,10 +727,8 @@ class ResourceTracker(object):
vcpus = resources['vcpus']
if vcpus:
free_vcpus = vcpus - resources['vcpus_used']
LOG.debug("Hypervisor: free VCPUs: %s", free_vcpus)
else:
free_vcpus = 'unknown'
LOG.debug("Hypervisor: VCPU information unavailable")
pci_devices = resources.get('pci_passthrough_devices')