queue list with detailed=true fails with redis storage backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
New
|
Undecided
|
Unassigned |
Bug Description
The following exception occurs for the zaqar server when a client issues a v1 queues list API with detailed=true option set :
Traceback (most recent call last):
File "/usr/lib/
self.result = application(
File "/usr/local/
responder(req, resp, **params) # pragma: no cover
File "/usr/local/
responder(req, resp, **kwargs)
File "/usr/local/
responder(req, resp, **kwargs)
File "/usr/local/
responder(req, resp, **kwargs)
File "/usr/local/
responder(req, resp, **kwargs)
File "/usr/local/
responder(req, resp, **kwargs)
File "/opt/stack/
resp.body = utils.to_
File "/opt/stack/
return json.dumps(obj, ensure_ascii=False)
File "/usr/lib/
sort_
File "/usr/lib/
return ''.join(chunks)
UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 1: ordinal not in range(128)
135.185.84.169 - - [04/Sep/2015 19:38:36] "GET /v1/queues?
Hi Ronald, thanks for reporting this. I just tried to query /queues? detailed= True with redis server and it works fine on my local. So could you let me know if it works with detailed=False or mongodb driver on your env? Thanks.