Bug 1375850

Summary: Create snapshot has memory checkbox, even though VM is Down.
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: ProvidersAssignee: Boriso <bodnopoz>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: cpelland, jfrey, jhardy, obarenbo, oourfali
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev:vsphere
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1403981 (view as bug list) Environment:
Last Closed: 2017-06-12 16:18:54 UTC Type: Bug
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:    
Bug Blocks: 1403981    

Description Ilanit Stein 2016-09-14 05:31:19 UTC
Description of problem:

When creating snapshot from a RHV/VMware VM, the memory check box appear, in case the VM is not running. 
Please remove this check box in that case.

Version-Release number of selected component (if applicable):
VMware 5.5.0
CFME 5.7.0

Comment 3 CFME Bot 2016-12-08 11:36:09 UTC
New commit detected on ManageIQ/manageiq/master:

commit de813a1cc7cb6af0cba4ee95576a36e74c3f12cf
Author:     borod108 <bodnopoz>
AuthorDate: Wed Nov 16 15:42:27 2016 +0200
Commit:     borod108 <bodnopoz>
CommitDate: Mon Nov 21 16:23:11 2016 +0200

    Memory checkbox will not show when VM is not up
    When creating a snapshot there is not reason to show
    the option to save runtime memory if the VM is down.

 app/controllers/vm_common.rb                                        | 6 ++++++
 .../providers/redhat/infra_manager/vm/operations/snapshot.rb        | 4 ++++
 app/views/vm_common/_snap.html.haml                                 | 2 +-
 3 files changed, 11 insertions(+), 1 deletion(-)

Comment 5 Ilanit Stein 2017-04-04 12:36:46 UTC
Verified on CFME-

For a down VM, add snapshot: memory check box do not exist.