Bug 1272166 - in the rendering of the details of a service hosted on vcenter, a ui only worker tries to connect to vcenter
in the rendering of the details of a service hosted on vcenter, a ui only wor...
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Provisioning (Show other bugs)
All All
high Severity high
: GA
: 5.6.0
Assigned To: Greg McCullough
Alex Newman
Depends On:
Blocks: 1290174
  Show dependency treegraph
Reported: 2015-10-15 11:38 EDT by Felix Dewaleyne
Modified: 2016-06-29 11:00 EDT (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1290174 (view as bug list)
Last Closed: 2016-06-29 11:00:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1993783 None None None Never

  None (edit)
Description Felix Dewaleyne 2015-10-15 11:38:59 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):

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.
Comment 2 Felix Dewaleyne 2015-10-16 10:03:10 EDT
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.
Comment 4 Felix Dewaleyne 2015-10-16 10:04 EDT
Created attachment 1083675 [details]
Comment 8 Greg McCullough 2015-10-19 14:50:12 EDT
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.
Comment 9 Greg McCullough 2016-05-12 11:30:25 EDT
Fixed in PR https://github.com/ManageIQ/manageiq/pull/8434
Comment 10 Alex Newman 2016-06-09 15:20:51 EDT
Comment 12 errata-xmlrpc 2016-06-29 11:00:44 EDT
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.


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