Unable to login having uppercase letters in email address in CloudForms 4.2

Solution In Progress - Updated -

Issue

Users are unable to login to CloudForm's 4.2 when they have uppercase letters in there name. We are presented with the following error:

Snippet from evm.log

[----] W, [2017-03-17T10:32:46.844259 #25168:e205b8]  WARN -- : <AuditFailure> MIQ(Authenticator.rescue in block in authorize) userid: [cs\test_user] - Validation failed: Email must be a valid email address
[----] E, [2017-03-17T10:32:46.844575 #25168:e205b8] ERROR -- : [ActiveRecord::RecordInvalid]: Validation failed: Email must be a valid email address  Method:[rescue in run_task]
[----] E, [2017-03-17T10:32:46.844742 #25168:e205b8] ERROR -- : /opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/validations.rb:78:in `raise_validation_error'
/opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/validations.rb:50:in `save!'
/opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/attribute_methods/dirty.rb:30:in `save!'
/opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/transactions.rb:324:in `block in save!'
/opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/transactions.rb:395:in `block in with_transaction_returning_status'
/opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `block in transaction'
/opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/transaction.rb:189:in `within_new_transaction'
/opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction'
/opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/transactions.rb:211:in `transaction'
/opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/transactions.rb:392:in `with_transaction_returning_status'
/opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/transactions.rb:324:in `save!'
/opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/suppressor.rb:45:in `save!'
/var/www/miq/vmdb/app/models/authenticator.rb:144:in `block in authorize'
/var/www/miq/vmdb/app/models/authenticator.rb:254:in `run_task'
/var/www/miq/vmdb/app/models/authenticator.rb:114:in `authorize'
/var/www/miq/vmdb/app/models/authenticator.rb:238:in `authorize_queue'
/var/www/miq/vmdb/app/models/authenticator.rb:64:in `authenticate'
/var/www/miq/vmdb/app/models/user.rb:155:in `authenticate'
/var/www/miq/vmdb/app/services/user_validation_service.rb:99:in `validate_user_kick_off_task'
/var/www/miq/vmdb/app/services/user_validation_service.rb:19:in `validate_user'
/var/www/miq/vmdb/app/controllers/dashboard_controller.rb:625:in `validate_user'
/var/www/miq/vmdb/app/controllers/dashboard_controller.rb:463:in `authenticate'

Environment

  • CloudForms 4.2 (5.7.1)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content