Bug 1129684

Summary: Could not import a VM from export domain with raw sparse disks to a block storage domain
Product: [Retired] oVirt Reporter: Tal Nisan <tnisan>
Component: ovirt-engine-coreAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Ori Gofen <ogofen>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5CC: acanan, amureini, ecohen, gklein, iheim, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-3.5.0_rc1.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1130761 (view as bug list) Environment:
Last Closed: 2014-10-17 12:33:49 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: 1130761, 1130765    

Description Tal Nisan 2014-08-13 13:10:28 UTC
Description of problem:
When trying to import a VM that contains a raw sparse disk(s) to a block domain via webadmin the operation fails

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


How reproducible:
100%

Steps to Reproduce:
1. Create a VM with a single thin provision disk on an NFS domain
2. Export the VM to an export domain
3. Import the VM while selecting a block domain as the target domain for disk in the disks sub tab

Actual results:
Operation fails with an error:
Vm1:
Cannot import VM. Disk configuration (RAW Sparse) is incompatible with the storage domain type.

Expected results:
VM will be imported correctly to the domain

Additional info:

Comment 1 Ori Gofen 2014-09-02 16:05:26 UTC
verified on rc1.1
** note **
the imported vm contains a cow sparse disk that is actually a preallocated disk

Comment 2 Sandro Bonazzola 2014-10-17 12:33:49 UTC
oVirt 3.5 has been released and should include the fix for this issue.