Description of problem: CF doesn't notice (or takes longer than I'm willing to wait) VMs suspending with a RHEV provider. Version-Release number of selected component (if applicable): CF: 5.6.0.9-rc2.20160531154046_b4e2f6d RHEV: 3.6.6.2-0.1.el6 How reproducible: Steps to Reproduce: 1. Suspend VM through RHEV UI, or CF automate code 2. Wait for CF to update status 3. Give up and refresh Provider Actual results: CF does not update VM status until full refresh is triggered Expected results: CF sees VM as suspended (Have not tested against other providers)
https://github.com/ManageIQ/manageiq/pull/9736
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/99f0ecefa7142d5a1bf67a2017e8f7a3be9c7319 commit 99f0ecefa7142d5a1bf67a2017e8f7a3be9c7319 Author: Lucy Fu <lufu> AuthorDate: Mon Jul 11 16:44:52 2016 -0400 Commit: Lucy Fu <lufu> CommitDate: Tue Jul 12 14:58:07 2016 -0400 Add event USER_SUSPEND_VM_OK to refresh the VM and update its power state. https://bugzilla.redhat.com/show_bug.cgi?id=1343684 .../Event/EmsEvent/RHEVM.class/user_suspend_vm_ok.yaml | 16 ++++++++++++++++ .../System/Event/EmsEvent/VC.class/vmsuspendedevent.yaml | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 db/fixtures/ae_datastore/ManageIQ/System/Event/EmsEvent/RHEVM.class/user_suspend_vm_ok.yaml
Fixed and verified in 5.7.0.0.20160906172503_12f65cb. Status of a vm is changed in Web UI and automation is able to catch the event.