Bug 848300 - ovirt-engone-backend [Quota]: creating thin provision template should only calculate the current disk space since the images are locked
Summary: ovirt-engone-backend [Quota]: creating thin provision template should only ca...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: unspecified
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
: ---
Assignee: Doron Fediuck
QA Contact: Dafna Ron
URL:
Whiteboard: sla
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-15 08:28 UTC by Dafna Ron
Modified: 2016-02-10 20:15 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-25 07:25:07 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log (46.99 KB, application/x-xz)
2012-08-15 08:28 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2012-08-15 08:28:33 UTC
Created attachment 604548 [details]
log

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):

si13.3

How reproducible:

100%

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
3.
  
Actual results:

we are failing on insufficient resources from quota

Expected results:

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

Comment 1 Itamar Heim 2013-02-25 07:25:07 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.