Description of problem: When trying to revert snapshot, for a RHV "UP" VM, It fails on: [Error] [HTTP response code is 409.] As such operation is not supported on RHV side, please disable the revert snapshot option, for RHV "UP" VM. Version-Release number of selected component (if applicable): CFME 5.7.0.0.20160906172503_12f65cb RHV-4.0.4.2-0.1.el7ev Additional info: There might be other VM statuses, where the revert snapshot is not supported in RHV. Disable snapshot revert on CF side, should fit all these VM statuses.
On VMware provider, revert snapshot operation from CF side succeed, for "UP" VM.
https://github.com/ManageIQ/manageiq/pull/11711
New commit detected on ManageIQ/manageiq/euwe: https://github.com/ManageIQ/manageiq/commit/c42ce7ad69d17d703051f40a1115fb95fd212007 commit c42ce7ad69d17d703051f40a1115fb95fd212007 Author: Greg Blomquist <blomquisg> AuthorDate: Thu Oct 13 08:17:16 2016 -0400 Commit: Oleg Barenboim <chessbyte> CommitDate: Thu Oct 13 17:34:33 2016 -0400 Merge pull request #11711 from borod108/bugs/1375544revert_depend_on_vm_state Disable revert snapshot when VM is not down (cherry picked from commit 2f1b2179eb40564221f011c80116d5b7c1e91b61) https://bugzilla.redhat.com/show_bug.cgi?id=1375544 .../providers/redhat/infra_manager/vm/operations/snapshot.rb | 9 +++++++++ spec/helpers/application_helper/toolbar_builder_spec.rb | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-)
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/be6b1f4c294dc0ace8179851d7005912444df415 commit be6b1f4c294dc0ace8179851d7005912444df415 Author: borod108 <bodnopoz> AuthorDate: Thu Sep 22 16:00:10 2016 +0300 Commit: borod108 <bodnopoz> CommitDate: Thu Oct 13 06:05:23 2016 +0300 Disable revert snapshot when VM is not down https://bugzilla.redhat.com/show_bug.cgi?id=1375544 .../providers/redhat/infra_manager/vm/operations/snapshot.rb | 9 +++++++++ spec/helpers/application_helper/toolbar_builder_spec.rb | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-)
https://github.com/ManageIQ/manageiq/pull/12119
Verified on CFME-5.8.0.8/RHV-4.0.7 revert button is disabled, for a down VM snapshots.