yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80553
[Bug 1593155] Re: over_committed_disk_size is wrong for sparse flat files
*** This bug is a duplicate of bug 1764489 ***
https://bugs.launchpad.net/bugs/1764489
** This bug has been marked a duplicate of bug 1764489
Preallocated disks are deducted twice from disk_available_least when using preallocated_images = space
--
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):
In Progress
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
References