Backport #23171
closedcore dump : recursive lock of RGWKeystoneTokenCache
Description
When enabling Keystone auth in ceph.conf as below and performing vstart.sh the following core
occurs during rgw start.
recursive lock of RGWKeystoneTokenCache (56)
ceph version 10.2.9 (2ee413f77150c0f375ff6f10edd6c8f9c7d060d0)
1: (RGWKeystoneTokenCache::find(std::string const&, KeystoneToken&)+0x2a) [0x7fd62f8d0a1a]
2: (RGWKeystoneTokenCache::find_admin(KeystoneToken&)+0x2b) [0x7fd62f8d0cfb]
3: (RGWSwift::get_keystone_admin_token(CephContext*, std::string&)+0x10f) [0x7fd62fa6f3cf]
4: (RGWSwift::check_revoked()+0x229) [0x7fd62fa73479]
5: (RGWSwift::KeystoneRevokeThread::entry()+0x23c) [0x7fd62fa746dc]
6: (()+0x7e25) [0x7fd62ef00e25]
7: (clone()+0x6d) [0x7fd62e50c34d]
ceph.conf:
rgw keystone url = https://keystone:35357
rgw s3 auth use keystone = true
rgw keystone verify ssl = true
nss db path = /root/src-git/nss
rgw keystone admin user = admin
rgw keystone admin password = secret
rgw keystone api version = 3
rgw keystone admin project = service
rgw keystone admin domain = default
rgw keystone revocation interval = 900
rgw keystone token cache size = 10000
Was fixed in Luminous with this PR:
https://github.com/ceph/ceph/pull/10562