Public bug reported:
The libvirt driver creates flat disks as sparse by default. However, it
always returns over_committed_disk_size=0 for flat disks in
_get_instance_disk_info(). This incorrect data ends up being reported to
the scheduler in the libvirt driver's get_available_resource() via
_get_disk_over_committed_size_total().
_get_instance_disk_info() should use allocated blocks, not file size,
when calculating over_commited_disk_size for flat disks.
** Affects: nova
Importance: Undecided
Status: New
** Tags: libvirt low-hanging-fruit
--
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/1593155
Title:
over_committed_disk_size is wrong for sparse flat files
Status in OpenStack Compute (nova):
New
Bug description:
The libvirt driver creates flat disks as sparse by default. However,
it always returns over_committed_disk_size=0 for flat disks in
_get_instance_disk_info(). This incorrect data ends up being reported
to the scheduler in the libvirt driver's get_available_resource() via
_get_disk_over_committed_size_total().
_get_instance_disk_info() should use allocated blocks, not file size,
when calculating over_commited_disk_size for flat disks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1593155/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp