Bug 1588038

Summary: RHV Snapshots: Reverting to "Active VM" throws "Cannot preview Active VM snapshot" in evm.log
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Boriso <bodnopoz>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, gblomqui, hkataria, istein, jfrey, jhardy, lavenel, masayag, mgoldboi, mperina, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1552732 Environment:
Last Closed: 2018-07-12 13:15:53 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: 1552732    
Bug Blocks:    

Comment 2 CFME Bot 2018-06-06 14:09:05 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-ovirt/commit/eace0377a0f90a1e2cb03ef1625a81b70603b5bd
commit eace0377a0f90a1e2cb03ef1625a81b70603b5bd
Author:     Moti Asayag <masayag>
AuthorDate: Tue Apr 10 04:07:41 2018 -0400
Commit:     Moti Asayag <masayag>
CommitDate: Tue Apr 10 04:07:41 2018 -0400

    Merge pull request #230 from borod108/bugs/snapshot_active

    Properly fetch snapshot current state
    (cherry picked from commit 6f2a100280e060d477a775d10d2cf3427c2477b4)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1588038

 app/models/manageiq/providers/redhat/infra_manager/refresh/parse/strategies/vm_inventory.rb | 9 +-
 app/models/manageiq/providers/redhat/inventory/parser/infra_manager.rb | 6 +-
 spec/models/manageiq/providers/redhat/infra_manager/refresh/refresher_4_async_graph_spec.rb | 5 +-
 spec/models/manageiq/providers/redhat/infra_manager/refresh/refresher_4_async_spec.rb | 6 +-
 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/ovirt_sdk_refresh_recording.yml | 4 +-
 5 files changed, 15 insertions(+), 15 deletions(-)

Comment 3 Ilanit Stein 2018-06-07 08:43:46 UTC
Verified on CFME-5.9.3.1/RHV-4.2.3.5,

Followed steps 1-5 in the bug description:

1. Have RHV 4.1 added to cfme and a VM on it running.
2. Create a snapshot for that VM.
3. Shut down the VM. This has to be done in order to revert to a snapshot with RHV 4.1
4. Revert to the snapshot created in step 2
5. Try to revert to "Active VM" - This action is not allowed. The revert icon is disabled, and shows a help tool: "Revert is not allowed for a snapshot that is the active one".

Comment 5 errata-xmlrpc 2018-07-12 13:15:53 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://access.redhat.com/errata/RHSA-2018:2184