Red Hat Bugzilla – Bug 846297
ovirt-engine-backend [Quota]: I can define a quota larger than my actual domain size but cannot create a thin provision disk
Last modified: 2016-02-10 15:15:42 EST
Created attachment 602721 [details]
Description of problem:
I can define a 100G quota while my actual domain size is 50G but I cannot create thin provision disks so if I create a disk which is 80G as thin and my quota is 100G I will fail on lnot enough resources error (since the quota calculation on disk space are done as preallocated).
Cannot add Virtual Machine Disk. Quota has no sufficient storage resources.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a 50G domain and put a 100G quota
2. create a vm with thin provision disk which is 80G
we would fail to create the disk with not enough disk space error because we are calculating the disk space as preallocated once we put quota in enforce.
we should either block over extending the quota and work completely as preallocated (only allow extend when we actually add more storage). or we should allow the creation of a thin provision disk.
Additional info: full backend log
This was probably handled in the quota calculation patch (cant reproduce in current downstream). Please retest and reopen if needed.
verified on si17
I was able to create a thinprovision disk on a 50GB storage and a 100GB quota.