disk consumption report incorrect in host-describe and simple-tenant-usage
Bug #1324755 reported by
jichenjc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Undecided
|
jichenjc |
Bug Description
simple-tenant-usage and host use
resource['disk_gb'] += (instance[
to report disk size, however, the eph is maximum value can be allocated to an instance , not its current usage
Changed in nova: | |
assignee: | nobody → jichenjc (jichenjc) |
tags: | added: api |
To post a comment you must log in.
This is by design, in general nova tracks the amount of resources allocated out not the amount being used. This is in part to make scheduling more repeatable. Further more simple-tenant-usage is very much a proof of concept and not something to really be used for anything real.
What would you like to use the actual usage information for? If I remember correctly there are plans in progress to support the model where nova tracks actual usage and uses it for scheduling (as an optional mode).
Overall this is more of a feature and not a bug per se.