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.
Reviewed: https:/ /review. openstack. org/46012 github. com/openstack/ cinder/ commit/ b3e8cb5b4236c39 126d445c7645aed 2922ab3991
Committed: http://
Submitter: Jenkins
Branch: master
commit b3e8cb5b4236c39 126d445c7645aed 2922ab3991
Author: Xiao Chen <email address hidden>
Date: Wed Sep 11 14:37:16 2013 +0800
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: If1d4faad2bcde6 96f20565deb0122 6de33caccad