Bug 1099083

Summary: Need warning message for moving sparse disk from file to block as it will become preallocated
Product: Red Hat Enterprise Virtualization Manager Reporter: Aharon Canan <acanan>
Component: ovirt-engineAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: amureini, eedri, gklein, iheim, lpeer, rbalakri, Rhev-m-bugs, scohen, sherold, tnisan, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 3.5.0Flags: scohen: needinfo+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-engine-3.5.0_beta Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1102784 (view as bug list) Environment:
Last Closed: 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: 1102784, 1142923, 1156165    

Description Aharon Canan 2014-05-19 12:56:28 UTC
Description of problem:
when moving raw sparse (thin) disk from file domain to block domain it becomes pre-allocated instead of remaining thin.
We should add warning message about it.

Version-Release number of selected component (if applicable):
av9

How reproducible:
100%

Steps to Reproduce:
1. create thin disk on file
2. move it to block domain
3.

Actual results:
no warning message appears saying the disk will become pre-allocated

Expected results:
need warning

Additional info:

Comment 1 Allon Mureinik 2014-05-19 14:42:23 UTC
Text for the warning:

"You are attempting to move a disk from a domain of type ${srcType} to a domain of type ${dstType}. This will cause the disk to become preallocated, and it may consume considerably more space on the target domain."

Comment 7 Kevin Alon Goldblatt 2014-06-19 12:12:44 UTC
I ran the same scenario with 3.5 and no message was generated informing the user that the thin volume would become preallocated when moving it to the new block storage domain. Upon investigation found that the fix was not included in Alpha2. Will be included in the next version

Comment 8 Allon Mureinik 2014-06-19 12:19:53 UTC
Yup. Fixes were merged, but after the alpha2 build.
Moving to MODIFIED until another build is released.

Comment 9 Kevin Alon Goldblatt 2014-07-06 13:18:34 UTC
I moved a thin disk to a block device using 3.5 beta. A message is now displayed indicating that the disk will become preallocated during the move. Moving to 
Verified

Comment 10 Allon Mureinik 2015-02-16 19:12:16 UTC
RHEV-M 3.5.0 has been released, closing this bug.

Comment 11 Allon Mureinik 2015-02-16 19:12:17 UTC
RHEV-M 3.5.0 has been released, closing this bug.