The engine-log-collector fails with the message: "ERROR: UnicodeDecodeError"

Solution Verified - Updated -

Issue

The engine-log-collector fails on the RH(E)V Manager with following message:

engine-log-collector --no-hypervisors
This command will collect system configuration and diagnostic
information from this system.
The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before
being passed to any third party.
No changes will be made to system configuration.
INFO: Gathering oVirt Engine information...
ERROR: Traceback (most recent call last):
ERROR:   File "/usr/sbin/sosreport", line 25, in <module>
ERROR:     main(sys.argv[1:])
ERROR:   File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 1520, in main
ERROR:     sos.execute()
ERROR:   File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 1495, in execute
ERROR:     self.plain_report()
ERROR:   File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 1242, in plain_report
ERROR:     fd.write(str(PlainTextReport(report)))
ERROR:   File "/usr/lib/python2.6/site-packages/sos/reporting.py", line 146, in __str__
ERROR:     return "\n".join(buf)
ERROR: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 26: ordinal not in range(128)
Use the -h option to see usage.

It is possible to collect the sosreport but the LogCollector fails every time.

Environment

  • Red Hat Enterprise Virtualization 3.x
  • 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