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

Bug 1209892

Summary: Bulk deletion of templates sometimes fails
Product: [Retired] oVirt Reporter: jniederm
Component: ovirt-engine-webadminAssignee: jniederm
Status: CLOSED DUPLICATE QA Contact: Nisim Simsolo <nsimsolo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6CC: amureini, bugs, ecohen, gklein, istein, lsurette, mgoldboi, michal.skrivanek, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-01 07:16:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jniederm 2015-04-08 12:28:00 UTC
Description of problem:
There are dependencies among template versions so it is necessary so sort templates to delete and remove them from the latest version to oldest version.

Version-Release number of selected component (if applicable):
3.6 master, commit 4ba3589

How reproducible:
most of the time, the more templates in version chain, the more probable

Steps to Reproduce:
1. Create at least five versions of some template
2. Select all template versions and click remove, confirm

Actual results:
Some (older) templates was not removed, Operation Canceled dialog with text:

Error while executing action:

<templatename>:

    Cannot delete Base Template that has Template Versions, please first remove all Template Versions for this Template: t-vm1,t-vm1,t-vm1.

Expected results:
all versions are deleted

Comment 1 Michal Skrivanek 2015-09-01 07:16:26 UTC
will be solved as part of another RFE

*** This bug has been marked as a duplicate of bug 1194989 ***