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.
Created attachment 1225808 [details] bad credentials error
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(+)
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(+)
Never mind... PR: https://github.com/ManageIQ/manageiq/pull/13010
*** Bug 1400928 has been marked as a duplicate of this bug. ***