RHV-H upgrade fails with UnicodeEncodeError message

Solution Verified - Updated -

Issue

RHV-H upgrade fails with following error message in imgbase log

2019-02-05 17:57:15,912 [DEBUG] (MainThread) Traceback (most recent call last):
  File "/tmp/tmp.2OVJIs5u2h/usr/lib/python2.7/site-packages/imgbased/utils.py", line 1541, in run
    self._function(*self._args, **self._kwargs)
  File "/tmp/tmp.2OVJIs5u2h/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 552, in migrate_etc
    old_fs.path("/") + "/usr/share/factory/etc/")
  File "/tmp/tmp.2OVJIs5u2h/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 496, in changed_and_new
    for f in dc.left_only])
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 0: ordinal not in range(128)

2019-02-05 17:57:15,912 [DEBUG] (MainThread) Traceback (most recent call last):
  File "/tmp/tmp.2OVJIs5u2h/usr/lib/python2.7/site-packages/imgbased/utils.py", line 1564, in thread_group_handler
    t.join_with_exceptions()
  File "/tmp/tmp.2OVJIs5u2h/usr/lib/python2.7/site-packages/imgbased/utils.py", line 1556, in join_with_exceptions
    raise exc[1]
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 0: ordinal not in range(128)

Environment

  • Red Hat Virtualization 4.x

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