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

Bug 1088902

Summary: Template removal fails when a disk is pointing to this template without appropriate error message.
Product: Red Hat Enterprise Virtualization Manager Reporter: Roman Hodain <rhodain>
Component: ovirt-engine-webadmin-portalAssignee: Roy Golan <rgolan>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, ecohen, iheim, michal.skrivanek, ofrenkel, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: All   
OS: All   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-30 07:21:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Hodain 2014-04-17 11:58:46 UTC
Description of problem:
    The it the following error message in the event logs if there is a disk
which is pointing to this template and it not attached to any VM:

	Failed to initiate removal of Template <template name>

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

How reproducible:
	100%

Steps to Reproduce:
	1. Create a new template
	2. Create a VM based on this template
	3. detach the disk from the New VM
	4. Remove the VM
	5. Remove the template

Actual results:
	Error message in the event log

Expected results:
	Dialog should be dispayed and inform that there is a disk pointing to
this template. It housl be similar popup which is displaied when a VM is
pointing to the template.

Comment 3 Roy Golan 2014-06-30 07:21:57 UTC
been handled by Bug 953492. A can do action will occur saying the template
can not be deletedd because a disk exist (the disk name and ID is printed)

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