Expires comparison raises TypeError in middleware.auth_token
Bug #911197 reported by
Tiantian Gao
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Ziad Sawalha |
Bug Description
The method '_cache_put' set the Expires to float, but when _cache_get get the Expires ,it can't compare a float and a datetime.
-------
if expires <= datetime.now():
TypeError: can't compare datetime.datetime to float
Changed in keystone: | |
status: | New → Confirmed |
status: | Confirmed → New |
summary: |
- Expires compare raise Exception in middleware.auth_token + Expires comparison raises TypeError in middleware.auth_token |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | essex-3 → 2012.1 |
To post a comment you must log in.
Should be addressed by https:/ /review. openstack. org/3185