StackTrace on 2012.1.4 middleware when storing token in memcache with SWIFT 1.7.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned | ||
Essex |
Invalid
|
Undecided
|
Unassigned | ||
Folsom |
Invalid
|
Undecided
|
Unassigned |
Bug Description
when integrating Keystone 2012.1.4 with SWIFT, and swift-proxy is configured to cache tokens in memcache, we get a response "500 internal server error" from swift because keystone.
"TypeError: %d format: a number is required, not str" in two situations.
#1 when a new token wants to be cached
#2 when an invalid ( non existent or expired ) token is cached
For the #1 & #2 cases, we patched /usr/local/
self.token_
with
self.token_
We think its a big and anoying bug when you need this feature from keystone ( most of serious SWIFT implementations )
Thanks !!
Changed in keystone: | |
status: | New → Invalid |
Already fixed in grizzly
https:/ /github. com/openstack/ python- keystoneclient/ blob/master/ keystoneclient/ middleware/ auth_token. py#L285