Red Hat Bugzilla – Bug 848300
ovirt-engone-backend [Quota]: creating thin provision template should only calculate the current disk space since the images are locked
Last modified: 2016-02-10 15:15:12 EST
Created attachment 604548 [details]
Description of problem:
currently when I create a template from a vm with thin provision disk we calculate the preallocated space of the disk for the quota.
since the template's images are locked and we cannot write to it we should calculate the actual size and not the vsize.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a 30GB quota and a vm with 20GB thin provision disk (actual size should be 1GB)
2. create a template
we are failing on insufficient resources from quota
we should not fail since the template images are locked and we cannot write on them -> hence we should calculate actual size and not vsize for templates.
Additional info: log
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.