Description of problem: VMware Add Provider can validate VMRC Console credentials successfully for non-existing User which means if a user does not actually exists on the VMware, or you enter wrong password for existing user and click validate, the validation is successful. And you can save the provider. See screenshot1. Once you did that, if you try to access VMRC Console you will see the error shown in screenshot2. Version-Release number of selected component (if applicable): 5.9.2.4.20180501195858_35dc609 How reproducible: 100% Steps to Reproduce: 1.Add VMware Provider, in that, use incorrect credentials under VMRC Console Tab 2.Try to access VMRC console 3. Actual results: See screenshots attached Expected results: Should throw error when you add wrong credentials and not validate fictional users. Additional info: This does not happen if you edit the provider. Validation fails in the Edit Provider form for exact same creds that you validated before. Believe its regression, haven't tested which version it broke at exactly though.
Created attachment 1430188 [details] Screenshot1
Created attachment 1430192 [details] Screenshot2
Re-opening this after talking with Brad in IRC.
https://github.com/ManageIQ/manageiq-ui-classic/pull/3913
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/1b10a16009657f1a04ec854a55d6d4e070d7e5d9 commit 1b10a16009657f1a04ec854a55d6d4e070d7e5d9 Author: Aparna Karve <akarve> AuthorDate: Tue May 8 14:50:08 2018 -0400 Commit: Aparna Karve <akarve> CommitDate: Tue May 8 14:50:08 2018 -0400 While validating creds on the queue, pass the creds based on the tab https://bugzilla.redhat.com/show_bug.cgi?id=1574000 app/controllers/mixins/ems_common_angular.rb | 17 +- 1 file changed, 13 insertions(+), 4 deletions(-)
Verified with 5.10.0.8.