Bug 1272224

Summary: Discovery of vCenter 5.5 fails for some configurations
Product: Red Hat CloudForms Management Engine Reporter: Thom Carlin <tcarlin>
Component: ProvidersAssignee: Adam Grare <agrare>
Status: CLOSED ERRATA QA Contact: Thom Carlin <tcarlin>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: agrare, jfrey, jhardy, mfeifer, obarenbo, psavage
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 13:38:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thom Carlin 2015-10-15 19:35:33 UTC
Description of problem:

Attempted discovery of VSCA 5.5 results in "NOT DISCOVERED"

Version-Release number of selected component (if applicable):

5.4.3.0.20151001120745_d11cf59

How reproducible:

100% for specific configurations

Steps to Reproduce:
1. Infrastructure > Providers
2. Configuration > Discover Infrastructure Provider
3. Discover: VMware vCenter
4. Enter IP range
5. Click Start

Actual results:

Not found
"NOT DISCOVERED" messages in evm.log

Expected results:

Found
"DISCOVERED" messages in evm.log

Additional info:

Manual adding is successful

CloudForms is looking for ports 7444 and 2014.  In this configuration, VMware is actually listening on ports 7444 and 2012.  We believe ports 2012, 2013, and 2014 may be chosen, depending on SSO configuration.

Reproducer environment can be made available

Comment 3 Adam Grare 2015-10-22 12:26:58 UTC
Pull Request https://github.com/ManageIQ/manageiq/pull/5041

Comment 4 CFME Bot 2015-10-22 17:40:50 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/d8d28751029a0a2ec5be9185244ec6be05c2ce82

commit d8d28751029a0a2ec5be9185244ec6be05c2ce82
Author:     Adam Grare <agrare>
AuthorDate: Wed Oct 21 17:01:57 2015 -0400
Commit:     Adam Grare <agrare>
CommitDate: Wed Oct 21 17:01:57 2015 -0400

    Check for all VC SSO ports during discovery
    
    When performing a port scan of a VC for provider discovery not all
    SSO ports were being checked so that depending on configuration
    not all VCs were being detected.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1272224

 gems/pending/discovery/modules/VMwareEsxVcProbe.rb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comment 5 Pete Savage 2015-11-20 14:00:39 UTC
Checked against 3 of our environments and all were discovered

Verified in 5.5.0.11

Comment 7 errata-xmlrpc 2015-12-08 13:38:48 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/RHSA-2015:2551