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.
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.