Description of problem: in the rendering of the details of a service hosted on vcenter, a ui only worker tries to connect to vcenter. Version-Release number of selected component (if applicable): 5.4.2 How reproducible: Steps to Reproduce: 1.setup an appliance to only run the web_ui worker 2.on that appliance use iptables to block access to the vcenter environment 3. display the details of a catalog item hosted on vcenter Actual results: a connection is established to vcenter on port 443 Expected results: no connection is made Additional info: this connection causes a delay of 60s added to the activerecord part of the rendering and is not logged as an error anywhere.
this also happens if the UI appliance is in a different zone : 1 - connnect a vcenter to your cloudforms environment ; create a catalog item stored on vcenter as well 2 - set up a new appliance with web UI worker only 3 - set up a new zone called "ui" and move the appliance there 4 - disconnect from the appliance & reconnect 5 - block connection to the vcenter environment from the appliance with iptables 6 - access the details of an existing catalog item stored in vcenter result : netstat -anop shows a connection attempt to the vcenter environment. the loading of the details of the catalog item will have caused the connection attempt and will increase loading times by 60 seconds.
Created attachment 1083675 [details] screenshot2.png
There is currently an RFE (Bug 1053277) for adding support for distributed switches. Once this support is added to the DB the provisioning dialog workflow can be updated to use it instead of making direct calls.
Fixed in PR https://github.com/ManageIQ/manageiq/pull/8434
5.6.0.9-rc2.20160531154046_b4e2f6d
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:1348