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

Bug 1128776

Summary: Can't change a vm disk's storage domain from a file domain to a block domain when creating a template from a vm
Product: [Retired] oVirt Reporter: Idan Shaby <ishaby>
Component: ovirt-engine-coreAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5CC: amureini, bugs, ebenahar, ecohen, gklein, iheim, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard: storage
Fixed In Version: ovirt-engine-3.5.0_rc1.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1131226 (view as bug list) Environment:
Last Closed: 2014-10-17 12:41:07 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: 1073943, 1131226    
Attachments:
Description Flags
Engine log file none

Description Idan Shaby 2014-08-11 14:19:29 UTC
Created attachment 925778 [details]
Engine log file

Description of problem:
When creating a template from a VM, an error is shown if the destination storage domain of a disk is an ISCSI domain.

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

How reproducible:
100%

Steps to Reproduce:
1. Create a VM.
2. Add a file domain disk to the VM.
3. Click on the VM you created -> Make Template.
4. Type a name, set the target of the VM's disk to be an ISCSI storage domain and click OK.

Actual results:
An "Operation Canceled" error is shown with the error message- "Error while executing action New VM Template: Incorrect Volume format".

Expected results:
The operation should succeed.

Additional info:

Comment 1 Elad 2014-08-28 08:38:01 UTC
Creating a template out of a VM that has a disk located on a file domain while specifying a block SD as the destination SD works fine. 

Tested using ovirt-3.5 RC1.1

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