Bug 1480377

Summary: [RHEVM]: VM snapshot: delete option is enabled, for Active VM
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Boriso <bodnopoz>
Status: CLOSED ERRATA QA Contact: Aleksei Slaikovskii <aslaikov>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: gblomqui, istein, jfrey, jhardy, mgoldboi, obarenbo, oourfali
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev:snapshot
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1443411 Environment:
Last Closed: 2017-10-24 00:38:34 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:
Bug Depends On: 1443411    
Bug Blocks:    

Comment 2 CFME Bot 2017-08-10 21:21:21 UTC
New commit detected on ManageIQ/manageiq/fine:

commit 83d576ffc2a929d85e99d2d5d7f5817000c2fd58
Author:     Oved Ourfali <oourfali@redhat.com>
AuthorDate: Sun Jul 2 11:09:43 2017 +0300
Commit:     Satoe Imaishi <simaishi@redhat.com>
CommitDate: Thu Aug 10 17:18:27 2017 -0400

    Merge pull request #54 from borod108/bugs/delete_active_snapshot
    Disable delete button for the active snapshot on oVirt
    (cherry picked from commit 9aaf4672f213786d2332f8deea2c5c2bfb3eb95d)

 .../manageiq/providers/redhat/infra_manager/vm/operations/snapshot.rb | 4 ++++
 1 file changed, 4 insertions(+)

Comment 3 CFME Bot 2017-08-10 21:29:03 UTC
New commit detected on ManageIQ/manageiq-ui-classic/fine:

commit 0725049156070280fd0d8929c5bf20138b3f4d7d
Author:     Harpreet Kataria <hkataria@redhat.com>
AuthorDate: Fri Jul 14 11:14:50 2017 -0400
Commit:     Satoe Imaishi <simaishi@redhat.com>
CommitDate: Thu Aug 10 17:24:01 2017 -0400

    Merge pull request #1628 from borod108/bugs/delete_active_snapshot_button
    Disable delete button for the active snapshot on oVirt
    (cherry picked from commit 28117304848cbd2565b35a743c1bfba43e269fde)

 .../button/vm_snapshot_remove_one.rb               | 11 ++++++
 .../application_helper/toolbar/x_vm_center.rb      |  4 +-
 .../buttons/vm_snapshot_remove_one_spec.rb         | 46 ++++++++++++++++++++++
 3 files changed, 59 insertions(+), 2 deletions(-)
 create mode 100644 app/helpers/application_helper/button/vm_snapshot_remove_one.rb
 create mode 100644 spec/helpers/application_helper/buttons/vm_snapshot_remove_one_spec.rb

Comment 4 Ilanit Stein 2017-08-28 11:57:48 UTC
Verified on CFME-

On RHV provider, Delete option is grayed out or Active VM.

Comment 6 errata-xmlrpc 2017-10-24 00:38:34 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.