-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:2
-
Sprint:SD Sprint #6
-
Epic Link:
The following was observed in an A-CORD error report:
ERROR:root:Exception calling application: 'xosadmin@opencord.org:XXXJgqhzks5kBIbxN8Qd' Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/grpc/_server.py", line 364, in _call_behavior return behavior(argument, context), True File "/opt/xos/coreapi/apihelper.py", line 24, in wrapper return function(*args, **kwargs) File "/opt/xos/coreapi/xos_grpc_api.py", line 3912, in FilterControllerUser user=self.authenticate(context) File "/opt/xos/coreapi/apihelper.py", line 361, in authenticate user = cached_authenticator.authenticate(username=username, password=password) File "/opt/xos/coreapi/apihelper.py", line 73, in authenticate self.trim() File "/opt/xos/coreapi/apihelper.py", line 95, in trim del self.cached_creds[k] KeyError: 'xosadmin@opencord.org:XXXJgqhzks5kBIbxN8Qd'
I was unable to reproduce this issue. It may be due to a race of two clients trying to authenticate at the same time.