Registering host with Red Hat Insights throws logging error UnicodeEncodeError: 'ascii' codec can't encode character '\ufffd' in position 94: ordinal not in range(128)

Solution Verified - Updated -

Issue

  • Insights registration is performed on host being registered with Red Hat Satellite as a part of the post install script which runs the insights registration. It fails with logging error UnicodeEncodeError: 'ascii' codec can't encode character '\ufffd' in position 94: ordinal not in range(128).

Environment

  • Red Hat Satellite 6
  • Red Hat Insights

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