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.80.10~12^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9b3396516c00ef931bab2d4aa6288ad974ec579d;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 46c45bd9dfe..1b724ed9812 100644 --- a/src/rgw/rgw_swift.cc +++ b/src/rgw/rgw_swift.cc @@ -520,6 +520,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;