disk consumption report incorrect in host-describe and simple-tenant-usage

Bug #1324755 reported by jichenjc
6
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['root_gb'] +
                                    instance['ephemeral_gb'])

to report disk size, however, the eph is maximum value can be allocated to an instance , not its current usage

Tags: api
jichenjc (jichenjc)
Changed in nova:
assignee: nobody → jichenjc (jichenjc)
tags: added: api
Revision history for this message
Joe Gordon (jogo) wrote :

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.

Changed in nova:
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.