Bug 1390260 - [RFE] [RHV] VM Reconfigure: Add a "Delete Backing" option to disk Delete
Summary: [RFE] [RHV] VM Reconfigure: Add a "Delete Backing" option to disk Delete
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: 5.8.0
Assignee: Moti Asayag
QA Contact: Ilanit Stein
URL:
Whiteboard: rhev
Depends On:
Blocks: 1392979
TreeView+ depends on / blocked
 
Reported: 2016-10-31 15:06 UTC by Ilanit Stein
Modified: 2017-06-12 17:39 UTC (History)
6 users (show)

Fixed In Version: 5.8.0.0
Doc Type: Enhancement
Doc Text:
Previously, there was no option in CloudForms to permanently remove a virtual machine disk from a Red Hat Virtualization provider. The *Delete Backing* option has been added to the *Reconfigure Virtual Machine* screen to specify whether a to delete a disk from the Red Hat Virtualization data store completely, or to detach it from the virtual machine but keep the disk on the data store.
Clone Of:
: 1392979 (view as bug list)
Environment:
Last Closed: 2017-06-12 17:39:01 UTC
Category: ---
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
VMWare delete disk screeshot (143.31 KB, image/png)
2016-10-31 15:07 UTC, Ilanit Stein
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1093655 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1093655

Description Ilanit Stein 2016-10-31 15:06:39 UTC
Description of problem:
On CFME, for RHV, VM Reconfigure->Disk delete action, 
removes the disk from VM (disk detached),
and there is a missing option to remove the disk permanently.
Please add a "Delete Backing" option,
same as exist for VMWare (screen shot attached).

Version-Release number of selected component (if applicable):
CFME-5.7.0.6 Alpha3

Comment 1 Ilanit Stein 2016-10-31 15:07:59 UTC
Created attachment 1215844 [details]
VMWare delete disk screeshot

Comment 2 Ilanit Stein 2016-11-02 13:09:23 UTC
Adding doc text, and this new CFME/RHV UI flag should be documented.
Also same flag exist for CFME/VMWare, and should be documented as well.

Comment 3 Moti Asayag 2016-11-03 18:20:25 UTC
https://github.com/ManageIQ/manageiq/pull/12388

Comment 5 Ilanit Stein 2017-05-04 10:10:07 UTC
Verified on CFME-5.8.0.13/RHV-4.1.1.8:

For a down VM with 2 disks:
Delete 1 disk with Delete Backing: Off => This disk was detached 
Delete 1 disk with Delete Backing: On => This disk was removed

For an up VM with 2 disks:
Delete 1 disk with Delete Backing: Off => This disk was detached 
Delete 1 disk with Delete Backing: On => Operation failed, as expected - when VM is down, it is not possible to remove the disk in a single REST API operation.


Note You need to log in before you can comment on or make changes to this bug.