Bug 1005788

Summary: Trying to export a template with 2 disks again after a previously failed export attempt fails because rollback doesn't delete the disk
Product: Red Hat Enterprise Virtualization Manager Reporter: Meital Bourvine <mbourvin>
Component: ovirt-engineAssignee: Maor <mlipchuk>
Status: CLOSED CURRENTRELEASE QA Contact: Meital Bourvine <mbourvin>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: abaron, acanan, acathrow, amureini, dron, eedri, iheim, lpeer, mbourvin, mlipchuk, nlevinki, obasan, Rhev-m-bugs, sgotliv, tnisan, yeylon
Target Milestone: ---Keywords: AutomationBlocker, Regression, Reopened
Target Release: 3.3.0Flags: abaron: Triaged+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: is25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-16 10:56:34 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:
Bug Depends On:    
Bug Blocks: 1038284    

Comment 2 Sergey Gotliv 2013-09-10 15:11:22 UTC
*** Bug 964690 has been marked as a duplicate of this bug. ***

Comment 8 Itamar Heim 2013-10-29 15:26:59 UTC
Description of problem:
Trying to import a template with 2 disks again after a previously failed import attempt fails because rollback doesn't delete the disk. Error:
<detail>[Cannot copy Template. The following disks already exist: vm_281164_Disk1. Please import as a clone.]</detail>

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

How reproducible:
95%

Steps to Reproduce:
1. Create a VM with 2 disks
2. Create a template
3. Start importing the template
4. Wait until the first disk finished importing
5. Restart vdsm (to fail the import)
6. Try to import again

Actual results:
Can't import becasue the first disk wasn't remove during rollback.

Expected results:
Rollback will remove the disk, and importing on the second time will succeed.

Comment 12 Itamar Heim 2014-01-21 22:23:38 UTC
Closing - RHEV 3.3 Released

Comment 13 Itamar Heim 2014-01-21 22:24:40 UTC
Closing - RHEV 3.3 Released

Comment 14 Itamar Heim 2014-01-21 22:28:19 UTC
Closing - RHEV 3.3 Released

Comment 15 Ohad Basan 2014-03-05 13:49:13 UTC
we see this problem again on rhev 3.4

Comment 18 Maor 2014-03-12 17:44:06 UTC
The bug is related to the import process.
and the specific test described in comment16 fails on *export* VM not import.
The test had never ran successfully, and should be fixed instead.

Comment 23 Maor 2014-09-01 13:12:14 UTC
Removing needinfo after Eyal and Sergey's comments