Bug 1375551

Summary: [RHV] Disable snapshot dialog for RHEVM-3.6 and bellow.
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, jocarter, obarenbo, oourfali, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1391659 (view as bug list) Environment:
Last Closed: 2017-06-12 16:16:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1391659    
Attachments:
Description Flags
evm.log none

Description Ilanit Stein 2016-09-13 12:00:21 UTC
Created attachment 1200474 [details]
evm.log

Description of problem:
It is possible to create a snapshot from a VM on RHEVM-3.6 ("+") button is enabled, however the snapshot is not indeed created.
The API request do not reach the RHEVM side.
In the task window, this 'create_snapshot' task, is marked with Task completed successfully.
evm.log contain errors. (Attached).

As snapshot functionality is not supported, it should be disabled for RHEVM-3.6 and bellow.

Version-Release number of selected component (if applicable):
RHEVM-3.6 and bellow
CFME 5.7.0.0.20160906172503_12f65cb

Comment 4 CFME Bot 2016-11-02 21:46:14 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/769d0a46ac4b4ec5d8aee104190b7ee0cd79a841

commit 769d0a46ac4b4ec5d8aee104190b7ee0cd79a841
Author:     borod108 <bodnopoz>
AuthorDate: Thu Sep 22 08:36:55 2016 +0300
Commit:     borod108 <bodnopoz>
CommitDate: Fri Oct 28 15:12:32 2016 +0300

    Disable snapshots on oVirt for APIs below v4
    
    oVirt provider will have supports_snapshot? true only for those
    instances that have API version 4.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1375551

 .../redhat/infra_manager/vm/operations/snapshot.rb    | 18 ++++++++++++++----
 .../application_helper/toolbar_builder_spec.rb        |  5 ++---
 .../redhat/infra_manager/operations/snapshot_spec.rb  | 19 +++++++++++++++++++
 3 files changed, 35 insertions(+), 7 deletions(-)

Comment 6 Oved Ourfali 2016-11-11 07:25:07 UTC
*** Bug 1389084 has been marked as a duplicate of this bug. ***

Comment 7 CFME Bot 2016-11-11 18:06:08 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/a1fe85a746b009e5f91163b936f884ee95e0c243

commit a1fe85a746b009e5f91163b936f884ee95e0c243
Author:     borod108 <bodnopoz>
AuthorDate: Thu Sep 22 08:36:55 2016 +0300
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Fri Nov 11 13:04:34 2016 -0500

    Disable snapshots on oVirt for APIs below v4
    
    oVirt provider will have supports_snapshot? true only for those
    instances that have API version 4.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1375551

 spec/helpers/application_helper/toolbar_builder_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 8 Ilanit Stein 2017-04-04 12:32:22 UTC
Verified on CFME-5.8.0.8/RHV-3.6.8

Pressing Snapshot icon do not open Snapshots dialog, as expected.