Bug 1053709

Summary: Faulty storage allocation check when moving a disk
Product: [Retired] oVirt Reporter: Allon Mureinik <amureini>
Component: ovirt-engine-coreAssignee: Vered Volansky <vered>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: high Docs Contact:
Priority: high    
Version: 3.4CC: acanan, acathrow, amureini, eedri, gickowic, gklein, iheim, jkt, knesenko, lpeer, obasan, Rhev-m-bugs, scohen, vered, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: All   
Whiteboard: storage
Fixed In Version: ovirt-3.4.0-ga Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 960934 Environment:
Last Closed: 2014-03-31 12:29:38 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: 960934    

Comment 1 Elad 2014-03-12 15:22:19 UTC
Allon, can you elaborate on what should be checked here?
Would something like moving a 10G thin disk to a SD that has 9G free space on it do the job?

Comment 2 Allon Mureinik 2014-03-12 16:13:50 UTC
(In reply to Elad from comment #1)
> Allon, can you elaborate on what should be checked here?
> Would something like moving a 10G thin disk to a SD that has 9G free space
> on it do the job?
I'd do something like the following
1. Move a 10GB (1GB actual size) thinly provisioned disk to a domain with 9 free GB - should succeed.
1. Move a 10GB preallocated disk to a domain with 9 free GB - should fail with a CDA.

Comment 3 Elad 2014-03-17 16:14:00 UTC
Tested the following:
1) On a file and block domains with 20 free space: moved a 21G thin-provisioned disk. SUCCEEDED.
2) On a file and block domains with 16G free space: moved a 21G preallocated disk. FAILED. - blocked with a CDA.


Verified on RHEV-3.4 - AV2.1

Comment 4 Sandro Bonazzola 2014-03-31 12:29:38 UTC
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released