From ee5858906d5d903db7b04be665dfa3ede3395134 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Tue, 3 Mar 2015 11:03:35 -0800 Subject: [PATCH] rgw: update keystone cache with token info Fixes: #11125 Backport: hammer, firefly Signed-off-by: Yehuda Sadeh (cherry picked from commit 6616294aa140ceb83cc61c6ab6f9947636f5e67d) --- src/rgw/rgw_swift.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rgw/rgw_swift.cc b/src/rgw/rgw_swift.cc index 737710d10a0c2..586821e8db30b 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; -- 2.39.5