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

Bug 896002

Summary: [RESTAPI] When last vm is detached from vmpool, then vmpool itself should be deleted.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ondra Machacek <omachace>
Component: ovirt-engine-restapiAssignee: Michael Pasternak <mpastern>
Status: CLOSED WONTFIX QA Contact: Elena <edolinin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, bazulay, dyasny, iheim, mpastern, oramraz, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-16 13:48:30 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:
Attachments:
Description Flags
engine.log none

Description Ondra Machacek 2013-01-16 13:09:42 UTC
Description of problem:
When are all vms from vmpool detached vmpool should be deleted.

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

How reproducible:
always

Steps to Reproduce:
1. Create vmpool.
2. Detach all vms from vmpool.
  
Actual results:
Vmpool still exists with 0 vms.

Expected results:
Vmpool should be removed.

Additional info:

Comment 1 Ondra Machacek 2013-01-16 13:10:28 UTC
Created attachment 679567 [details]
engine.log

Comment 2 Michael Pasternak 2013-01-16 13:48:30 UTC
this is UI feature, but it doesn't work for RESTful api, - resources should be
removed explicitly (also i'm not sure we would like to taking this decision from the developers).