Description of problem: 2014-11-25 11:49:39.146 5986 ERROR cinder.api.middleware.fault [req-de4abd16-3854-4280-8218-23aed98b69d3 3e385875be4247afa85941ddcf72b2da 8cb1229bf57d4732911db4a50790c62c - - -] Caught error: Message objects do not support str() because t hey may contain non-ascii characters. Please use unicode() or translate() instead. Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply incoming.message)) File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch return self._do_dispatch(endpoint, method, ctxt, args) File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch result = getattr(endpoint, method)(ctxt, **new_args) File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper return f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 875, in initialize_connection volume) File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper return f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py", line 548, in create_export return self._create_export(context, volume) File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py", line 560, in _create_export self.configuration) File "/usr/lib/python2.7/site-packages/cinder/volume/iscsi.py", line 57, in create_export conf.iscsi_write_cache) File "/usr/lib/python2.7/site-packages/cinder/brick/iscsi/iscsi.py", line 523, in create_iscsi_target LOG.error("%s" % e) File "/usr/lib/python2.7/site-packages/oslo/i18n/_message.py", line 167, in __str__ raise UnicodeError(msg) UnicodeError: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead. Version-Release number of selected component (if applicable): python-cinderclient-1.1.1-1.fc22.noarch openstack-cinder-2014.2-1.fc22.noarch python-cinder-2014.2-1.fc22.noarch How reproducible: always Steps to Reproduce: 1. create instance with name for example " a324113<>P{" or any unicode character 2. create volume (you may also try random chars in name) 3. try to attach the volume Actual results: attachment fails Expected results: it should attach volume to instance Additional info:
This seems to be fixed in Kilo.