Bug 1394666 - VM Snapshot 'revert' becomes disabled just by moving from the active VM and getting back to it.
Summary: VM Snapshot 'revert' becomes disabled just by moving from the active VM and g...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.8.0
Assignee: Boriso
QA Contact: Ilanit Stein
URL:
Whiteboard: rhev
Depends On:
Blocks: 1402501
TreeView+ depends on / blocked
 
Reported: 2016-11-14 07:51 UTC by Ilanit Stein
Modified: 2017-06-12 16:50 UTC (History)
8 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1402501 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:50:45 UTC
Category: ---
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
revert_disabled (90.67 KB, image/png)
2016-11-14 07:51 UTC, Ilanit Stein
no flags Details

Description Ilanit Stein 2016-11-14 07:51:24 UTC
Description of problem:
ON CFME, for a RHV down VM, when entering the Snapshots window,
the active VM is marked.
if moving to another snapshot of the VM (other than the active), and then coming back to the Active VM, the 'revert' option is disabled.
In order to run 'revert' snapshot, need to reenter the snapshots window, and press 'revert'.

When the revert becomes disabled, standing on the revert button display:
"revert is allowed only when VM is down. Current state is unknown"
(screen shot "revert_disabled" attached)
   
Version-Release number of selected component (if applicable):
CFME-5.7.0.10
RHV-4.0.4

How reproducible:
100%

Actual results:
VM status becomes "unknown" by the action of moving to a snapshot, other than the Active VM snapshot.

Expected results:
VM status should not be affected at all by moving to a snapshot other then the Activ VM snapshot

Additional info:
* The VM that had it's revert snapshot disabled, by this bug flow,
was seen in status Down on CFME UI, and also was refreshed.

* This bug might be related to a recent change: Bug 1388152 - [RHV 4.0] Provider snapshot revert should be disabled for a running VM.

Comment 1 Ilanit Stein 2016-11-14 07:51:58 UTC
Created attachment 1220291 [details]
revert_disabled

Comment 2 Boriso 2016-11-21 14:12:59 UTC
This seems it was fixed in the latest version.

Comment 6 Boriso 2016-11-30 11:44:11 UTC
I have only tested this on master.

Comment 8 Ilanit Stein 2016-12-04 15:41:35 UTC
Tested on CFME-5.7.0.13.

Previously there was a problem that revert became disabled, once moving from marking Active VM, to another snapshot.

Now, on CFME-5.7.0.13, I see that revert is enabled for all the VM snapshots tree
For example, I have a VM called test_2.
In snapshot window, marking each of these: test_2->snap1->Active VM (Active) , still show revert as enabled.

revert is not actually relevant for all. only to snap1, shouldn't the revert be enabled only for snap1?

Comment 9 Boriso 2016-12-05 08:30:13 UTC
Hi, so although related, this is a different issue addressed addressed at:
https://bugzilla.redhat.com/show_bug.cgi?id=1396068
and solved (but not merged yet) here: https://github.com/ManageIQ/manageiq/pull/12768

The Active Vm should not be revertible to, but the rest are ok to revert to.

Comment 10 Ilanit Stein 2016-12-06 12:23:49 UTC
Verified on CFME-5.7.0.13, based on comments 8, 9.

Comment 14 Ilanit Stein 2016-12-08 07:53:15 UTC
Moving this bug back to verified, 
as problem do not exist on CFME-5.7.0.13/CFME-5.7.0.14 & RHV-4.0.5

Comment 16 Ilanit Stein 2017-04-04 12:48:10 UTC
Verified on CFME-5.8.0.8/RHV-4.0.7.

Moving between a down VM snapshots, remain the revert button active.


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