]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixing UnicodeEncodeError against volume creating function
authorXiao Chen <chenxiao@cn.ibm.com>
Wed, 11 Sep 2013 06:37:16 +0000 (14:37 +0800)
committerXiao Chen <chenxiao@cn.ibm.com>
Wed, 11 Sep 2013 10:37:50 +0000 (18:37 +0800)
commitb3e8cb5b4236c39126d445c7645aed2922ab3991
treeef0fb476576cd32b58597af33e3455906f6f33f5
parent6ae44d99fe1d1a8355ea3e5400be5ba894c82361
Fixing UnicodeEncodeError against volume creating function

When creating a volume with non-English characters and there is
not enough space for it, then an UnicodeEncodeError occurs. So
we need convert any coded exception message to unicode string
for logging.

Fixes bug 1223128

Change-Id: If1d4faad2bcde696f20565deb01226de33caccad
cinder/tests/test_create_volume_flow.py
cinder/volume/flows/create_volume/__init__.py