Bug 1041437

Summary: [RFE][nova]: Use compute driver usage stats as an option
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: low    
Version: unspecifiedCC: markmc, ndipanov, sgordon, yeylon
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/use-driver-usage-stats
Whiteboard: upstream_milestone_none upstream_status_needs-code-review upstream_definition_drafting
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:37:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 16:07:44 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/use-driver-usage-stats.

Description:

Currently nova-compute uses a resource tracker to track resource consumption. The resource tracker ignores usage stats reported by the driver and calculates resource consumption with an audit process, using information from the database. The driver already reports usage stats, but the values are ignored, which makes the audit process a redundant computation, with unnecessary queries to the database. Since the task is periodic, it has a compounding effect on performance. This blueprint will provide the option in nova.conf to use usage stats directly from the driver to report available resources, instead of  the auditing. As a side effect the available resources will reflect a more accurate stats in certain cases (i.e. existing/turned off VMs on a hypervisor before the installation of nova-compute).

Specification URL (additional information):

None