Bug 1392979

Summary: [RFE] [RHV] VM Reconfigure: Add a "Delete Backing" option to disk Delete
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Moti Asayag <masayag>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: cpelland, jfrey, jhardy, obarenbo, oourfali, simaishi
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev
Fixed In Version: 5.7.0.10 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1390260 Environment:
Last Closed: 2017-01-04 13:10:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Bug Depends On: 1390260    
Bug Blocks:    

Comment 2 CFME Bot 2016-11-08 17:56:17 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/ee106d23ccf90e4d8dc547e93fac5555df93498f

commit ee106d23ccf90e4d8dc547e93fac5555df93498f
Author:     Adam Grare <agrare>
AuthorDate: Mon Nov 7 08:13:37 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Tue Nov 8 12:49:29 2016 -0500

    Merge pull request #12388 from masayag/support_delete_backing_in_reconfigure_vm_disks
    
    Support delete backing in reconfigure vm disks
    (cherry picked from commit 0154ef6508db6915ec5f4eb727d802bcb5dda58e)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1392979

 app/models/manageiq/providers/redhat/infra_manager.rb               | 4 +++-
 .../manageiq/providers/redhat/infra_manager/vm/reconfigure.rb       | 6 +-----
 app/views/vm_common/_reconfigure.html.haml                          | 6 +++---
 .../manageiq/providers/redhat/infra_manager/vm/reconfigure_spec.rb  | 3 ++-
 4 files changed, 9 insertions(+), 10 deletions(-)

Comment 3 Ilanit Stein 2016-11-14 08:27:59 UTC
Verified on CFME-5.7.0.10 & RHV-4.0.4

Remove disk of an up/down VM.
"Delete Backing" = ON => Disk was detached from the VM.
"Delete Backing" = OFF => Disk was removed from the storage domain.

Comment 4 Ilanit Stein 2016-11-16 09:30:16 UTC
Correction to comment 3:

Remove disk of an up/down VM.
"Delete Backing" = OFF => Disk was detached from the VM.
"Delete Backing" = ON => Disk was removed from the storage domain.

Default is set to "Delete Backing" = OFF.

Comment 6 errata-xmlrpc 2017-01-04 13:10:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0012.html