Type errors when using Keystone middleware
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
New
|
Undecided
|
Unassigned | ||
swift (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When configuring swift-proxy to use keystone middleware, I get the following traceback:
# curl -k -v -H 'X-Auth-Token: 2017744172225' https:/
...snip...
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain
< Content-Length: 957
< Date: Thu, 22 Dec 2011 23:25:05 GMT
< Connection: close
Traceback (most recent call last):
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
return self.app(env, start_response)
File "/usr/lib/
return self.app(env, start_response)
File "/usr/lib/
claims = self._verify_
File "/usr/lib/
cached_claims = self._cache_
File "/usr/lib/
if expires > datetime.now():
TypeError: can't compare datetime.datetime to float
* Closing connection #0
Using datetime.