nova usage call is not accurate for resized images
Bug #1521747 reported by
Eric Peterson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
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 post a comment you must log in.
What version of nova? Kilo?