RHV-H upgrade fails with UnicodeDecodeError message

Solution Verified - Updated -

Issue

The RHV-H upgrade fails with following message in the imgbased.log

[DEBUG] (MainThread) Traceback (most recent call last):
  File "/tmp/tmp.A7jXNReRCf/usr/lib/python2.7/site-packages/imgbased/utils.py", line 1548, in run
    self._function(*self._func_args, **self._func_kwargs)
  File "/tmp/tmp.A7jXNReRCf/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 633, in migrate_etc
    log.debug("Changed files: %s" % list(changes))
  File "/tmp/tmp.A7jXNReRCf/usr/lib/python2.7/site-packages/imgbased/utils.py", line 1375, in fix_drift
    for (dirpath, dirnames, filenames) in os.walk(new_path):
  File "/usr/lib64/python2.7/os.py", line 294, in walk
    for x in walk(new_path, topdown, onerror, followlinks):
  File "/usr/lib64/python2.7/os.py", line 284, in walk
    if isdir(join(top, name)):
  File "/usr/lib64/python2.7/posixpath.py", line 80, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1: ordinal not in range(128)

Environment

  • Red Hat Virtualization 4.x

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