Bug 1324601

Summary: [RFE] Provide a checkbox to also delete all VMs in a pool when deleting a pool. Also provide an API for this.
Product: Red Hat Enterprise Virtualization Manager Reporter: Greg Scott <gscott>
Component: RFEsAssignee: Scott Herold <sherold>
Status: CLOSED DUPLICATE QA Contact: Gil Klein <gklein>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.6.3CC: gklein, gscott, lsurette, mgoldboi, michal.skrivanek, rbalakri, srevivo, ykaul
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-01 06:39:20 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 Greg Scott 2016-04-06 18:10:05 UTC
Description of problem:
Currently, when removing a VM pool, I first need to remove all the VMs in that pool in a separate operation.  In an environment with 1000+ VMs in several pools, this operation is tedious and prone to errors.  Instead, when I delete a pool, the RHEVM GUI should have a checkbox to also delete all VMs in that pool, so it happens with one user operation backed by a bunch of automation taking care of details.  This capability should also be in all APIs and shell operations, so I can delete a VM pool under program control with the option to also delete all VMs in that pool.

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

How reproducible:
At will

Steps to Reproduce:
1. Delete a VM pool and note no option to also delete the VMs in that pool.
2.
3.

Actual results:
I have to find all the relevant VMs and delete them first, then delete the VM pool. This is true both in the RHEVM GUI and in the APIs

Expected results:
I need the option to delete the pool and its VMs in one operation, both from the GUI and API.

Additional info:

Comment 2 Michal Skrivanek 2016-06-28 12:53:28 UTC
what's missing in 4.0?

Comment 3 Michal Skrivanek 2016-07-01 06:39:20 UTC
feel free to reopen if you find some gaps in the functionality. leaving needinfo on you

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

Comment 4 Michal Skrivanek 2016-07-08 13:56:30 UTC
*** Bug 1353748 has been marked as a duplicate of this bug. ***

Comment 5 Greg Scott 2016-07-26 15:31:31 UTC
I had a talk with my customer about this and they like the new behavior around pool deletion starting with 3.6.  I'll clear the needsinfo flag.

- Greg