Bug 1296227 - Provide better error message when adding infrastructure provider
Summary: Provide better error message when adding infrastructure provider
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: cfme-future
Assignee: Oved Ourfali
QA Contact: Shveta
URL:
Whiteboard: infra:provider
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-06 16:15 UTC by Jeff Warnica
Modified: 2017-08-21 13:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-21 13:04:42 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Warnica 2016-01-06 16:15:36 UTC
Description of problem:

When attempting to validate/add a new infrastructure provider, and the host name is incorrect, it displays the misleading message "Credential validation was not successful: Login failed due to a bad username or password."

evm.log actually helps:  
...... ERROR -- : <RHEVM> Ovirt::Service#resource_get: class = SocketError, message=getaddrinfo: Name or service not known, URI=.....

Suggest that UI relays truthful/helpful error message.

Comment 2 Greg Blomquist 2016-02-19 20:27:07 UTC
Oved, can you take a look at this?  I'm guessing that the error message that's logged to evm.log is getting lost before it hits the UI.  It would be nice to be able to carry that message forward to the UI.

Comment 3 Chris Pelland 2017-08-21 13:04:42 UTC
This bug has been open for more than a year and is assigned to an older release of CloudForms. 

If you would like to keep this Bugzilla open and if the issue is still present in the latest version of the product, please file a new Bugzilla which will be added and assigned to the latest release of CloudForms.


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