Description of problem: The fix for fix for bug 1480654 caused a regression in authentication which prevents logins when the authentication mode is configured for "Amazon" Version-Release number of selected component (if applicable): How reproducible: Configure an appliance for authentication mode of "Amazon" Attempt to login with valid user credentials from the Amazon account. Steps to Reproduce: 1. Configure an appliance for authentication mode of "Amazon" 2. Attempt to login with valid user credentials from the Amazon account. Actual results: Login fails. The username entered in the login screen for the amazon account is all uppercase but in the audit.log will list the username in all lowercase, e.g.: Authentication failed for userid <all lowercase userid> Expected results: The user should be able to be logged in when authentication mode is amazon Additional info:
Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition. If it's something like a tracker bug where it doesn't matter, please set it to Low/Low.
https://github.com/ManageIQ/manageiq-providers-amazon/pull/296
New commit detected on ManageIQ/manageiq-providers-amazon/master: https://github.com/ManageIQ/manageiq-providers-amazon/commit/3a2408b4cee5e32b22dc67a1db6c96aac912c318 commit 3a2408b4cee5e32b22dc67a1db6c96aac912c318 Author: Joe VLcek <jvlcek> AuthorDate: Fri Sep 8 10:57:29 2017 -0400 Commit: Joe VLcek <jvlcek> CommitDate: Fri Sep 8 13:25:01 2017 -0400 Do not downcase the amazon IAM username https://bugzilla.redhat.com/show_bug.cgi?id=1489596 app/models/authenticator/amazon.rb | 4 ++++ spec/models/authenticator/amazon_spec.rb | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-)
https://github.com/ManageIQ/manageiq/pull/15959
New commit detected on ManageIQ/manageiq/fine: https://github.com/ManageIQ/manageiq/commit/31cc021924c6388b85723dfb4a7d7ec0d3c8716a commit 31cc021924c6388b85723dfb4a7d7ec0d3c8716a Author: Joe VLcek <jvlcek> AuthorDate: Fri Sep 8 14:44:34 2017 -0400 Commit: Joe VLcek <jvlcek> CommitDate: Fri Sep 8 14:44:34 2017 -0400 [FINE] Do not downcase the amazon IAM username (manually picked from https://github.com/ManageIQ/manageiq-providers-amazon/commit/3a2408b4cee5e32b22dc67a1db6c96aac912c318) The code has been refactored on the master branch. It has been moved to the https://github.com/ManageIQ/manageiq-providers-amazon repository. The master PR for this change is: https://github.com/ManageIQ/manageiq-providers-amazon/pull/296 This commit addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1489596 app/models/authenticator/amazon.rb | 4 ++++ spec/models/authenticator/amazon_spec.rb | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-)
Verified in 5.9.0.14. I am able to log in as Amazon user after changing authentication to Amazon in CFME.