From: Yehuda Sadeh Date: Tue, 3 Mar 2015 19:03:35 +0000 (-0800) Subject: rgw: update keystone cache with token info X-Git-Tag: v0.94.2~9^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3aef0f2bb6f88bb17c460a3cef0d3503550f716c;p=ceph.git rgw: update keystone cache with token info Fixes: #11125 Backport: hammer, firefly Signed-off-by: Yehuda Sadeh (cherry picked from commit 6616294aa140ceb83cc61c6ab6f9947636f5e67d) --- diff --git a/src/rgw/rgw_swift.cc b/src/rgw/rgw_swift.cc index 737710d10a0c..586821e8db30 100644 --- a/src/rgw/rgw_swift.cc +++ b/src/rgw/rgw_swift.cc @@ -523,6 +523,8 @@ int RGWSwift::validate_keystone_token(RGWRados *store, const string& token, stru if (ret < 0) return ret; + keystone_token_cache->add(token_id, t); + ret = update_user_info(store, info, rgw_user); if (ret < 0) return ret;