Bug 1053750

Summary: Faulty storage allocation checks when importing a disk from glance
Product: [Retired] oVirt Reporter: Allon Mureinik <amureini>
Component: ovirt-engine-coreAssignee: Vered Volansky <vered>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.4CC: acanan, amureini, bugs, dfediuck, eedri, gklein, lpeer, nlevinki, rbalakri, Rhev-m-bugs, scohen, srevivo, vered, yeylon
Target Milestone: m1   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: All   
Whiteboard: storage
Fixed In Version: ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1053746
: 1178012 (view as bug list) Environment:
Last Closed: 2015-11-04 13:55:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1178012    

Description Allon Mureinik 2014-01-15 17:30:26 UTC
+++ This bug was initially created as a clone of Bug #1053746 +++

+++ This bug was initially created as a clone of Bug #1053733 +++

+++ This bug was initially created as a clone of Bug #960934 +++

The storage requirements for the imported disk:

      | File Domain                             | Block Domain
 -----|-----------------------------------------|-------------
 qcow | preallocated : 1.1 * disk capacity      |1.1 * min(used ,capacity) 
      | sparse: 1.1 * min(used ,capacity)       |
 -----|-----------------------------------------|-------------
 raw  | preallocated: disk capacity             |disk capacity
      | sparse: min(used,capacity)

Comment 1 Sandro Bonazzola 2015-01-15 14:15:22 UTC
This is an automated message: 
This bug should be fixed in oVirt 3.5.1 RC1, moving to QA

Comment 2 Aharon Canan 2015-01-19 07:14:57 UTC
Downstream bug verification failed.

Comment 3 Elad 2015-04-26 12:47:24 UTC
An attempt to import an image from Glance repository to a storage domain that does not have enough free space is block on CanDoAction

Verified using ovirt 3.6.0-1
ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764.el6.noarch

Comment 4 Sandro Bonazzola 2015-11-04 13:55:37 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.