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

Bug 885002

Summary: RHEVM GUI: Failure to remove VMs without detaching from pool
Product: Red Hat Enterprise Virtualization Manager Reporter: Hirofumi Kojima <hkojima>
Component: ovirt-engine-webadmin-portalAssignee: Libor Spevak <lspevak>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, ecohen, iheim, lspevak, michal.skrivanek, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-30 10:49:22 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 Hirofumi Kojima 2012-12-07 09:06:23 UTC
Description of problem:


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

Steps to Reproduce:
1. Create a template from existing virtual machine.

2. Create a virtual machine pool by using template.

3. Remove a virtual machine without detaching from pool.
  
Actual results:
Wait indefinitely for deleting a virtual machine.

Expected results:
Display error message(example: Please detach a VM from pool,...)
or
Disable Remove button until completing to detach.
or
e.t.c....

Additional info:

Comment 1 Simon Grinberg 2012-12-27 17:20:22 UTC
(In reply to comment #0)
> Display error message(example: Please detach a VM from pool,...)

That was the case in previous releases so marking as a regression. 

Alternately I would be happy if instead it will be possible to just delete the VM without removal from the pool, but this is an RFE that discussion has started on bug 569322 but never matured.

Comment 3 Libor Spevak 2013-01-30 10:49:22 UTC
The confirmation dialog was already added in this patch:

 webadmin: Allow remove of a VM without removing its disks
    
    When removing a VM, give the user the option to delete the VM itself
    while leaving the disks as floating disks in the system
    Only applicable when:
    1. The disks have no snapshots
    2. The VM is not based on template
    
    Change-Id: Iba531f7a87295564e20bd99763d185f78e483a44
    Bug-Url: https://bugzilla.redhat.com/881024
    Signed-off-by: Tal Nisan <tnisan>

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