Bug 1343684 - CF does not notice RHEV VMs being suspended
Summary: CF does not notice RHEV VMs being suspended
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Control
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: Lucy Fu
QA Contact: Dmitry Misharov
URL:
Whiteboard: control
Depends On:
Blocks: 1350449
TreeView+ depends on / blocked
 
Reported: 2016-06-07 16:46 UTC by Jeff Warnica
Modified: 2017-01-12 04:39 UTC (History)
5 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1350449 (view as bug list)
Environment:
Last Closed: 2017-01-11 19:52:09 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 977489 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 977489

Description Jeff Warnica 2016-06-07 16:46:17 UTC
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)

Comment 5 CFME Bot 2016-07-12 20:14:02 UTC
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

Comment 6 Dmitry Misharov 2016-09-09 13:45:20 UTC
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.


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