← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1519001] [NEW] Resource tracker double counts vcpus_used

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups