From: Yehuda Sadeh Date: Tue, 3 Mar 2015 19:03:35 +0000 (-0800) Subject: rgw: update keystone cache with token info X-Git-Tag: v9.0.0~164^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6616294aa140ceb83cc61c6ab6f9947636f5e67d;p=ceph.git rgw: update keystone cache with token info Fixes: #11125 Backport: hammer, firefly Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_swift.cc b/src/rgw/rgw_swift.cc index 831307e23616..76f21eeb16b6 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;