Bug 1332665

Summary: Continuous queuing of EMS Refresh for VMWare Provider
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: ProvidersAssignee: Adam Grare <agrare>
Status: CLOSED ERRATA QA Contact: Alex Newman <anewman>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.4.0CC: agrare, cpelland, fdewaley, jfrey, jhardy, obarenbo, ssainkar
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.4.1 Doc Type: Bug Fix
Doc Text:
Previously, on several providers EMS refreshes happened continuously which appeared to break or slow provisioning. If a VimBroker connection was opened for an EMS that is not in the server's zone, the VimBrokerWorker terminated the connection. When the VimBroker terminated the connection, it fired off a MiqVimRemoved event. The VimBrokerWorker was responding to this event by automatically re-connecting to that EMS. Instead it should check the list of EMSs it is supposed to be connected to before re-connecting. This patch implements this change which has now resolved the issue.
Story Points: ---
Clone Of: 1332317 Environment:
Last Closed: 2016-05-31 13:43:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1332317    
Bug Blocks:    

Comment 2 CFME Bot 2016-05-12 15:07:27 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=627166698ccd653f7a5afbb29ee416f8140cc117

commit 627166698ccd653f7a5afbb29ee416f8140cc117
Merge: 59b1c2b 8b98f85
Author:     Greg Blomquist <gblomqui>
AuthorDate: Thu May 12 11:06:09 2016 -0400
Commit:     Greg Blomquist <gblomqui>
CommitDate: Thu May 12 11:06:09 2016 -0400

    Merge branch 'bz_1332665_vim_broker_constant_reconnect' into '5.5.z'
    
    Bz 1332665 vim broker constant reconnect
    
    Clean cherry-pick of upstream https://github.com/ManageIQ/manageiq/pull/8551
    https://bugzilla.redhat.com/show_bug.cgi?id=1332665
    cc @gblomqui
    
    See merge request !930

 app/models/miq_vim_broker_worker/runner.rb       |  5 ++++
 spec/models/miq_vim_broker_worker/runner_spec.rb | 31 ++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

Comment 7 Alex Newman 2016-05-25 19:48:41 UTC
5.5.4.2.20160517154712_629f93b

Comment 9 errata-xmlrpc 2016-05-31 13:43:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1101