Red Hat Bugzilla – Bug 1272166
in the rendering of the details of a service hosted on vcenter, a ui only worker tries to connect to vcenter
Last modified: 2016-06-29 11:00:44 EDT
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):
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
a connection is established to vcenter on port 443
no connection is made
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
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]
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
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.