proxy-server Error: character mapping must return integer, None or unicode:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Kun Huang |
Bug Description
Hi,
I run tempest on a freshly installed packages in debian wheezy.
And tests around tempurl fail to compute the hmac in the tempurl middleware
(One of test that failed: tempest.
The problem seems due that the HMAC key is 'unicode' instead of 'str'.
Here the error from the proxy-server daemon:
Oct 21 07:26:40 packages-
Traceback (most recent call last):
File "/usr/lib/
resp = self._app_call(env)
File "/usr/lib/
resp = self.app(env, self._start_
File "/usr/lib/
return self.app(env, start_response)
File "/usr/lib/
iterable = self.app(env, my_start_response)
File "/usr/lib/
return self.app(env, start_response)
File "/usr/lib/
return func(self, Request(env))(env, start_response)
File "/usr/lib/
return self.app(env, start_response)
File "/usr/lib/
return self.app(env, start_response)
File "/usr/lib/
return self.app(env, start_response)
File "/usr/lib/
hmac_vals = self._get_
File "/usr/lib/
for key in keys]
File "/usr/lib/
env[
File "/usr/lib/
return HMAC(key, msg, digestmod)
File "/usr/lib/
Regards,
sileht
Changed in swift: | |
assignee: | nobody → Kun Huang (academicgareth) |
Changed in swift: | |
milestone: | none → 1.11.0 |
Changed in swift: | |
status: | Fix Committed → Fix Released |
What's the values you stored in 'temp-url-key' and 'temp-url-key-2' as metadata?