Bug 1461860

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 ERRATA QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: bodnopoz, cpelland, gblomqui, gtanzill, istein, jfrey, jhardy, juan.hernandez, mhild, obarenbo, oourfali, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev
Fixed In Version: 5.8.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1448065 Environment:
Last Closed: 2017-08-02 17:31:22 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 CFME Bot 2017-06-15 13:11:01 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/10effaeaf66ad8697dba892339ac93c57ba2ff6f

commit 10effaeaf66ad8697dba892339ac93c57ba2ff6f
Author:     Brandon Dunne <brandondunne>
AuthorDate: Wed May 17 07:47:42 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Jun 15 09:06:29 2017 -0400

    Merge pull request #15099 from jhernand/reduce_default_ovirt_open_timeout
    
    Reduce the default oVirt open timeout to 1 minute
    (cherry picked from commit 7e05340118a44de6614de1ebbfdff272daf2b45a)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1461860

 config/settings.yml | 2 ++
 1 file changed, 2 insertions(+)

Comment 4 Ilanit Stein 2017-06-28 14:31:31 UTC
Verified on CFME-5.8.1/RHV-4.1.3

When adding a RHV provider using a bad hostname (wrong FQDN), 
the following error immediately appear in the UI:
"Credential validation was not successful: Failed to open TCP connection to bla.blab:443 (getaddrinfo: Name or service not known)"

Comment 6 errata-xmlrpc 2017-08-02 17:31:22 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-2017:1758