Comment 4 for bug 1604255

Revision history for this message
Michael Dovgal (mdovgal) wrote : Re: Create volume with cyrillic characters in name is failed

After reproducing this bug in MOS environment I've got such a traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
    return fmt.format(record)
  File "/usr/lib/python2.7/dist-packages/oslo_log/formatters.py", line 267, in format
    return logging.Formatter.format(self, record)
  File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
    msg = msg % self.args
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 263: ordinal not in range(128)
Logged from file logging.py, line 178
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
    return fmt.format(record)
  File "/usr/lib/python2.7/dist-packages/oslo_log/formatters.py", line 267, in format
    return logging.Formatter.format(self, record)
  File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
    msg = msg % self.args
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 351: ordinal not in range(128)
Logged from file notifier.py, line 214

we have bug with similar traceback here
https://bugs.launchpad.net/oslo.db/+bug/1430399

For me this bug seems to have connected to oslo libraries.

Now in upstream there is the only problem with deleting volumes by name with such a symbols. Discussion is here.
https://bugs.launchpad.net/cinder/+bug/1518141
https://bugs.launchpad.net/cinder/+bug/1518141/comments/8