IPA replica installation fails with "'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128)" error.

Solution Verified - Updated -

Issue

  • IPA replica installation fails with ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128) error.
  • During this time, following logs can be seen in ipareplica-install.log file.
  File "/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py", line 471, in get_host_name
    verify_fqdn(hostname, no_host_dns)
  File "/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py", line 148, in verify_fqdn
    raise BadHostError("Invalid hostname '%s', %s" % (host_name, unicode(e)))

2017-04-25T12:01:25Z DEBUG The ipa-replica-install command failed, exception: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128)
2017-04-25T12:01:25Z ERROR 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128)

Environment

  • Red Hat Enterprise Linux 7.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.