← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1521747] [NEW] nova usage call is not accurate for resized images

 

Public bug reported:

The detailed response from the nova usage call, reports invalid instance
size info if the instance has been resized.  This API is used by
Horizon, which is how we found this.

Steps to reproduce:

1)  Create an instance, say small

2) resize the instance, something like large etc

3) Make this call (adjust to hit a recent date etc):
nova --debug usage --start 2015-12-01 --tenant XYZ

Doing that call, we see the VCPU count reflect the old size for the
instance.   This makes horizon quota and usage calculations display the
wrong info, and prevents users from getting work done.

** 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/1521747

Title:
  nova usage call is not accurate for resized images

Status in OpenStack Compute (nova):
  New

Bug description:
  The detailed response from the nova usage call, reports invalid
  instance size info if the instance has been resized.  This API is used
  by Horizon, which is how we found this.

  Steps to reproduce:

  1)  Create an instance, say small

  2) resize the instance, something like large etc

  3) Make this call (adjust to hit a recent date etc):
  nova --debug usage --start 2015-12-01 --tenant XYZ

  Doing that call, we see the VCPU count reflect the old size for the
  instance.   This makes horizon quota and usage calculations display
  the wrong info, and prevents users from getting work done.

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


Follow ups