Authenticating IPA users in Satellite WEB-UI fails with Error "Failed to create external User 'test-user': E-Mail is invalid"

Solution Verified - Updated -

Issue

  • Authentication of IPA users on the Red Hat Satellite server fails with an invalid email error

  • The following error can be observed in the /var/log/foreman/production.log file on the Red Hat Satellite server.

    2024-02-28T12:20:14 [I|app|dfad3e84]   Parameters: {"login"=>{"login"=>"test-user", "password"=>"[FILTERED]"}, "authenticity_token"=>"i0qj92VIWvUPhiqJNUqt7q5c6pihmv3ZgUqLcILbEbHiYznjfT8AosYejsdME0l16ZODD+KJT6Lc+bZqiW7FKQ=="}
    2024-02-28T12:20:14 [W|app|dfad3e84] Email address is invalid
    2024-02-28T12:20:14 [I|app|dfad3e84] Backtrace for 'Email address is invalid' error (Mail::Field::IncompleteParseError): Mail::AddressList can not parse |(null)|: Only able to parse up to "(null)"
    2024-02-28T12:20:14 [I|app|dfad3e84] Failed to create external User 'test-user': E-Mail is invalid
    2024-02-28T12:20:14 [I|app|dfad3e84] invalid user
    2024-02-28T12:20:14 [W|app|dfad3e84] Failed login attempt from 192.XX.XX.XXX with username 'test-user'
    2024-02-28T12:20:14 [I|app|dfad3e84] Redirected to https://satellite.example.com/users/login
    

Environment

  • Red Hat Satellite 6

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