500 error when filtering on non-ASCII 'name' value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Aniketh Girish |
Bug Description
When use curl to test image-show interface with Chinese characters, the service return "500 Internal Server Error",and raise error in the api log .For example,
execute the following command:
curl -g -i -X GET http://
2017-11-21 13:40:42.814 7793 INFO eventlet.
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
return request.
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
return app(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
TypeError: 'dict' object is not callable
2017-11-21 13:40:42.815 7793 INFO eventlet.
Changed in glance: | |
assignee: | nobody → weikeyou (weikeyou) |
Changed in glance: | |
status: | In Progress → Incomplete |
Changed in glance: | |
assignee: | weikeyou (weikeyou) → Aniketh Girish (aniketh01) |
Changed in glance: | |
status: | Incomplete → Invalid |
summary: |
- image-show interface with Chinese characters return 500 Internal Server - Error + 500 error when filtering on non-ASCII 'name' value |
Fix proposed to branch: master /review. openstack. org/528459
Review: https:/