← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1519001] Re: Resource tracker double counts vcpus_used

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1519001

Title:
  Resource tracker double counts vcpus_used

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  The resource tracker is double counting the number of vcpu used.

  It is believe this behavior was introduce in:
  https://review.openstack.org/#/c/240159/

  That patch moved the vcpu accounting from the extensible resource
  tracker plugin into the main resource tracker code.

  This behavior is at present openstack/nova master commit
  4fb0da175d62084900e68c710f3cc0f916db64e0

  To reproduce:

  * Set up devstack (e.g. simple single machine setup)
  * boot an instance
  * initially 'nova hypervisor-show devstack' will show the correct vcpu used count
  * wait for compute manager periodic task to run, updating the available resources
  * now 'nova hypervisor-show devstack' will show double the number of used vcpu count

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1519001/+subscriptions


References