Bug 806886

Summary: [ovirt] [engine-core] force remove pool using wrong query and doesn't remove templates attached
Product: [Retired] oVirt Reporter: Haim <hateya>
Component: ovirt-engine-coreAssignee: mkublin <mkublin>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, amureini, bazulay, dron, dyasny, iheim, mgoldboi, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.3.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 818091 (view as bug list) Environment:
Last Closed: 2012-06-10 13:15:17 UTC Type: ---
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: 818091    
Attachments:
Description Flags
engine log. none

Description Haim 2012-03-26 12:42:57 UTC
Created attachment 572748 [details]
engine log.

Description of problem:

- pool with 1 domain
- 2 templates
- host
- domain is in problematic state 

Force remove data-base: templates remain, all other objects are deleted 

try remove cluster: 2012-03-26 13:46:09,838 WARN  [org.ovirt.engine.core.bll.RemoveVdsGroupCommand] (http--0.0.0.0-8080-2) CanDoAction of action RemoveVdsGroup failed. Reasons:VAR__TYPE__CLUSTER,VAR__ACTION__REMOVE,VMT_CANNOT_REMOVE_VDS_GROUP_VMTS_DETECTED
,VDS_GROUP_CANNOT_REMOVE_HAS_VM_POOLS

Comment 1 Dafna Ron 2012-05-01 08:45:34 UTC
destroy of domain will also not remove the templates under the domain. 
we can however remove them manually after the destroy.

Comment 2 mkublin 2012-06-10 13:15:17 UTC
I don't understand why bug was closed, so closing my as duplicate

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