Volume created with Chinese name will raise an decode exception, the callchain is as follows:
2017-07-11 08:52:13.917 13034 DEBUG eventlet.wsgi.server [-] (13034) accepted ('192.168.100.174', 55662) server /usr/lib/python2.7/site-packages/eventlet/wsgi.py:826
2017-07-11 08:52:13.925 13034 INFO cinder.api.openstack.wsgi [req-1ffa8cd3-abfc-4e87-9fd6-8a3d14a6524a - - - - -] POST http://192.168.100.176:8776/v2/ca4f223b71eb4568b97efed4beadd940/volumes
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault [req-1ffa8cd3-abfc-4e87-9fd6-8a3d14a6524a - - - - -] Caught error: <type 'exceptions.UnicodeDecodeError'> 'ascii' codec can't decode byte 0xe6 in position 96: ordinal not in range(128)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault Traceback (most recent call last):
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/cinder/api/middleware/fault.py", line 79, in __call__
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault return req.get_response(self.application)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault application, catch_exc_info=False)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault app_iter = application(self.environ, start_response)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault return resp(environ, start_response)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault resp = self.call_func(req, *args, **self.kwargs)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault return self.func(req, *args, **kwargs)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/osprofiler/web.py", line 108, in __call__
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault return request.get_response(self.application)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault application, catch_exc_info=False)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault app_iter = application(self.environ, start_response)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault resp = self.call_func(req, *args, **self.kwargs)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault return self.func(req, *args, **kwargs)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 467, in __call__
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault response = req.get_response(self._app)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault application, catch_exc_info=False)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault app_iter = application(self.environ, start_response)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault return resp(environ, start_response)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault return resp(environ, start_response)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/routes/middleware.py", line 131, in __call__
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault response = self.app(environ, start_response)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault return resp(environ, start_response)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault resp = self.call_func(req, *args, **self.kwargs)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault return self.func(req, *args, **kwargs)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/cinder/api/openstack/wsgi.py", line 1061, in __call__
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault content_type, body, accept)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/site-packages/cinder/api/openstack/wsgi.py", line 1087, in _process_stack
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault 'body': six.text_type(body),
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 96: ordinal not in range(128)
2017-07-11 08:52:13.927 13034 ERROR cinder.api.middleware.fault
2017-07-11 08:52:13.929 13034 INFO cinder.api.middleware.fault [req-1ffa8cd3-abfc-4e87-9fd6-8a3d14a6524a - - - - -] http://192.168.100.176:8776/v2/ca4f223b71eb4568b97efed4beadd940/volumes returned with HTTP 500
2017-07-11 08:52:13.931 13034 INFO eventlet.wsgi.server [req-1ffa8cd3-abfc-4e87-9fd6-8a3d14a6524a - - - - -] 192.168.100.174 "POST /v2/ca4f223b71eb4568b97efed4beadd940/volumes HTTP/1.1" status: 500 len: 458 time: 0.0117280
Please provide the actual input used to generate the above trace.
cinder. tests.tempest. api.test_ volume_ unicode. CinderUnicodeTe st is supposed to catch this error. We need to understand why it's not.