Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1116486

Summary: When importing a VM in RHEVM 3.4 all its disks turn from thin provision to preallocated
Product: Red Hat Enterprise Virtualization Manager Reporter: yangfei <feyang>
Component: ovirt-engine-webadmin-portalAssignee: Tal Nisan <tnisan>
Status: CLOSED ERRATA QA Contact: Ori Gofen <ogofen>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.4.0CC: acanan, adevolder, amureini, cmestreg, dornelas, ecohen, ederevea, feyang, iheim, juwu, mkalinin, pmukhedk, rbalakri, Rhev-m-bugs, scohen, tdosek, tnisan, wdaniel, yeylon, ylavi
Target Milestone: ---Keywords: ZStream
Target Release: 3.5.0Flags: amureini: Triaged+
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: ovirt-engine-3.5.0_rc1.1 Doc Type: Bug Fix
Doc Text:
Since Red Hat Enterprise Virtualization 3.4, mixed domain types in the same data center were allowed. To be able to move or copy a image from a file domain to a block domain, the images were converted to raw+preallocated in the operation and was resource wasteful. With this update, images are converted to cow+sparse instead to be more resource efficient. This feature is also backported to Red Hat Enterprise Virtualization 3.4.2.
Story Points: ---
Clone Of:
: 1130246 1130753 (view as bug list) Environment:
Last Closed: 2015-02-11 18:05:24 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: 1130246, 1130753, 1142923, 1156165    
Attachments:
Description Flags
the latest test time is about 2014-07-16 13:12 none

Description yangfei 2014-07-05 02:39:58 UTC
Description of problem:

The disk from thin provision turns to Preallocated after import the vm on rhevm3.4

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


How reproducible:

1. create a new vm using thin provision disk.
2. export the vm
3. import the vm 
4. the disk shows Preallocated


Steps to Reproduce:
1.
2.
3.

Actual results:
The disk  displayed as Preallocated

Expected results:
The disk should be displayed as thin provision

Additional info:

Comment 1 Allon Mureinik 2014-07-06 07:20:57 UTC
1. Please attach the log to the BZ.
2. What type of storage domain are you importing to?
3. Are you collapsing the disk?

Comment 2 yangfei 2014-07-16 05:21:44 UTC
Created attachment 918312 [details]
the latest test time is about 2014-07-16 13:12

Comment 3 yangfei 2014-07-16 05:23:30 UTC
1. Please attach the log to the BZ.

pls see attachment. It's easy to reproduce.

2. What type of storage domain are you importing to?

iscsi

3. Are you collapsing the disk?

I deleted the initial vm and import.

Comment 6 Sean Cohen 2014-07-30 16:37:57 UTC
*** Bug 1120226 has been marked as a duplicate of this bug. ***

Comment 9 Ori Gofen 2014-08-03 09:26:52 UTC
could might be same bug as BZ #1124469

Comment 10 Allon Mureinik 2014-08-03 09:46:50 UTC
(In reply to Ori from comment #9)
> could might be same bug as BZ #1124469
It isn't.

Comment 11 Tal Nisan 2014-08-04 08:30:38 UTC
*** Bug 1126200 has been marked as a duplicate of this bug. ***

Comment 14 Allon Mureinik 2014-08-17 06:08:34 UTC
Tal, just to make sure - bug 1130246 is in MODIFIED.
IIRC, it was opened just so we have an oVirt BZ to merge upon. Please confirm, and if so move this one to MODIFIED too.

Comment 15 Tal Nisan 2014-08-17 10:54:01 UTC
Indeed, same bug, same fix applies to both, moving to modified

Comment 17 Ori Gofen 2014-09-02 15:48:58 UTC
verified on rc1.1
steps taken:export vm+1 thin provision disk(nfs && iscsi)
then import back to the system as clone.
removed the original vm,and import it back as thin

Comment 19 errata-xmlrpc 2015-02-11 18:05:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0158.html