← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1734054] [NEW] logging report UnicodeDecodeError when create vm with non-ascii

 

Public bug reported:

When create a vm with non-ascii name in devstack, logging report
UnicodeDecodeError in nova-compute.log.

Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 861, in emit
    msg = self.format(record)
  File "/usr/local/lib/python2.7/dist-packages/oslo_log/handlers.py", line 161, in format
    return logging.StreamHandler.format(self, record)
  File "/usr/lib/python2.7/logging/__init__.py", line 734, in format
    return fmt.format(record)
  File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 457, in format
    return logging.Formatter.format(self, record)
  File "/usr/lib/python2.7/logging/__init__.py", line 476, in format
    raise e
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 317: ordinal not in range(128)
Logged from file driver.py, line 5061

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1734054

Title:
  logging report UnicodeDecodeError when create vm with non-ascii

Status in OpenStack Compute (nova):
  New

Bug description:
  When create a vm with non-ascii name in devstack, logging report
  UnicodeDecodeError in nova-compute.log.

  Traceback (most recent call last):
    File "/usr/lib/python2.7/logging/__init__.py", line 861, in emit
      msg = self.format(record)
    File "/usr/local/lib/python2.7/dist-packages/oslo_log/handlers.py", line 161, in format
      return logging.StreamHandler.format(self, record)
    File "/usr/lib/python2.7/logging/__init__.py", line 734, in format
      return fmt.format(record)
    File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 457, in format
      return logging.Formatter.format(self, record)
    File "/usr/lib/python2.7/logging/__init__.py", line 476, in format
      raise e
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 317: ordinal not in range(128)
  Logged from file driver.py, line 5061

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1734054/+subscriptions