Bug 1510206

Summary: Add RHV provider using a bad hostname do not fail the validation in UI.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Radim Hrazdil <rhrazdil>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: bodnopoz, gblomqui, gtanzill, istein, jfrey, jhardy, juan.hernandez, mhild, obarenbo, rhrazdil, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev
Fixed In Version: 5.9.0.7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1448065 Environment:
Last Closed: 2018-03-06 14:59:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Bug Depends On: 1448065    
Bug Blocks:    

Comment 2 Greg Blomquist 2017-11-16 23:22:36 UTC
Gaprindashvili backport details:

$ git log -1
commit 94fa442b7a6754735d525a0fff0c8c01df55eb10
Author: Moti Asayag <masayag>
Date:   Sun Nov 5 19:44:52 2017 +0200

    Merge pull request #126 from jhernand/honour_open_timeout_when_using_v4
    
    Honour `open_timeout` when using V4
    (cherry picked from commit ff05e3dcf169d42ac45940a4cb42cb28b752321c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1510206

Comment 3 Radim Hrazdil 2017-11-27 15:15:50 UTC
Verified that when trying to add RHV with fake/wrong FQDN, CFME responds with relevant error message: "Failed to open TCP connection to aslkdnsalfhaslfh.com:443 (getaddrinfo: Name or service not known)".

Version 5.9.0.10.

Comment 4 CFME Bot 2017-11-29 20:45:19 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili:
https://github.com/ManageIQ/manageiq-providers-ovirt/commit/94fa442b7a6754735d525a0fff0c8c01df55eb10

commit 94fa442b7a6754735d525a0fff0c8c01df55eb10
Author:     Moti Asayag <masayag>
AuthorDate: Sun Nov 5 19:44:52 2017 +0200
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Nov 6 18:15:37 2017 -0500

    Merge pull request #126 from jhernand/honour_open_timeout_when_using_v4
    
    Honour `open_timeout` when using V4
    (cherry picked from commit ff05e3dcf169d42ac45940a4cb42cb28b752321c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1510206

 .../redhat/infra_manager/api_integration.rb        | 23 +++++++++++-----------
 manageiq-providers-ovirt.gemspec                   |  2 +-
 2 files changed, 13 insertions(+), 12 deletions(-)