Bug 1399622 - RHV bad credentials fail on "version 3 of the api is not supported by the provider"
Summary: RHV bad credentials fail on "version 3 of the api is not supported by the pro...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.8.0
Assignee: Boriso
QA Contact: Angelina Vasileva
URL:
Whiteboard: rhev
: 1400928 (view as bug list)
Depends On:
Blocks: 1402084
TreeView+ depends on / blocked
 
Reported: 2016-11-29 12:54 UTC by Ilanit Stein
Modified: 2019-05-20 14:39 UTC (History)
8 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1402084 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:47:23 UTC
Category: ---
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
bad credentials error (97.13 KB, image/png)
2016-11-29 12:56 UTC, Ilanit Stein
no flags Details

Description Ilanit Stein 2016-11-29 12:54:03 UTC
Description of problem:
When adding a RHV-4.0, with bad credentials, validation fail on irrelevant error:
"Credentials validation was not successful: version 3 of the api is not supported by the provider" 

Version-Release number of selected component (if applicable):
CFME-5.7.0.12
RHV-4.0.4.4-0.1.el7ev

How reproducible:
100%

Expected results:
Error should be relevant, like for example: "Wrong credentials" or "Wrong user/password"

Additional info:
When testing it I user: 'bad', and some incorrect password.

Comment 2 Ilanit Stein 2016-11-29 12:56:14 UTC
Created attachment 1225808 [details]
bad credentials error

Comment 4 CFME Bot 2016-12-06 17:14:22 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/b835181f05497aaca467f124ff00968c047979c2

commit b835181f05497aaca467f124ff00968c047979c2
Author:     Adam Grare <agrare>
AuthorDate: Tue Dec 6 10:38:47 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Tue Dec 6 10:48:08 2016 -0500

    Merge pull request #13010 from borod108/bugs/1399622verify_connection
    
    Rebuild api version cache on connection validation
    (cherry picked from commit e7ea3ab8bfbd4dd8b27341d65e6a650f44d4581a)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1399622

 app/models/manageiq/providers/redhat/infra_manager/api_integration.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 5 CFME Bot 2016-12-06 17:16:45 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/bcad38d70ef99396206d4f1e4917509db6424e1e

commit bcad38d70ef99396206d4f1e4917509db6424e1e
Author:     borod108 <bodnopoz>
AuthorDate: Tue Dec 6 11:52:07 2016 +0200
Commit:     borod108 <bodnopoz>
CommitDate: Tue Dec 6 11:52:07 2016 +0200

    Rebuild api version cache on connection validation
    
    When trying to validate credentials rebuild the supported api versions
    cache.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1399622

 app/models/manageiq/providers/redhat/infra_manager/api_integration.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 6 Satoe Imaishi 2016-12-06 17:53:05 UTC
Never mind... PR: https://github.com/ManageIQ/manageiq/pull/13010

Comment 8 Boriso 2016-12-08 19:50:27 UTC
*** Bug 1400928 has been marked as a duplicate of this bug. ***


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