Bug 1480377 - [RHEVM]: VM snapshot: delete option is enabled, for Active VM
[RHEVM]: VM snapshot: delete option is enabled, for Active VM
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.8.0
Unspecified Unspecified
medium Severity medium
: GA
: 5.8.2
Assigned To: Boriso
Aleksei Slaikovskii
rhev:snapshot
: ZStream
Depends On: 1443411
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-10 17:12 EDT by Satoe Imaishi
Modified: 2017-10-23 20:38 EDT (History)
7 users (show)

See Also:
Fixed In Version: 5.8.2.0
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1443411
Environment:
Last Closed: 2017-10-23 20:38:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM


Attachments (Terms of Use)

  None (edit)
Comment 2 CFME Bot 2017-08-10 17:21:21 EDT
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/83d576ffc2a929d85e99d2d5d7f5817000c2fd58

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)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1480377

 .../manageiq/providers/redhat/infra_manager/vm/operations/snapshot.rb | 4 ++++
 1 file changed, 4 insertions(+)
Comment 3 CFME Bot 2017-08-10 17:29:03 EDT
New commit detected on ManageIQ/manageiq-ui-classic/fine:
https://github.com/ManageIQ/manageiq-ui-classic/commit/0725049156070280fd0d8929c5bf20138b3f4d7d

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)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1480377

 .../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 07:57:48 EDT
Verified on CFME-5.8.2.0.20170824192913_b09a5f8/RHV-4.1.6-0.1.el7

On RHV provider, Delete option is grayed out or Active VM.
Comment 6 errata-xmlrpc 2017-10-23 20:38:34 EDT
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://access.redhat.com/errata/RHSA-2017:3005

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