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.
Created attachment 1220291 [details] revert_disabled
This seems it was fixed in the latest version.
I have only tested this on master.
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?
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.
Verified on CFME-5.7.0.13, based on comments 8, 9.
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
Verified on CFME-5.8.0.8/RHV-4.0.7. Moving between a down VM snapshots, remain the revert button active.