We are not able to create new release on existing project, we are getting redis key error( Failed to release <Lock: u'releasecommits:1:XXXXX'> due to error: ResponseError('No lock at key exists at key: l:releasecommits:1:XXXXX',))

Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/sentry/utils/locking/lock.py", line 57, in release self.backend.release(self.key, self.routing_key) File "/usr/local/lib/python2.7/site-packages/sentry/utils/locking/backends/redis.py", line 55, in release delete_lock(client, (self.prefix_key(key),), (self.uuid,)) File "/usr/local/lib/python2.7/site-packages/sentry/utils/redis.py", line 288, in call_script return script[0](keys, args, client) File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 3745, in __call__ return client.evalsha(self.sha, len(keys), *args) File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2829, in evalsha return self.execute_command('EVALSHA', sha, numkeys, *keys_and_args) File "/usr/local/lib/python2.7/site-packages/sentry_sdk/integrations/redis.py", line 101, in sentry_patched_execute_command return old_execute_command(self, name, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 839, in execute_command return self.parse_response(conn, command_name, **options) File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 853, in parse_response response = connection.read_response() File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 718, in read_response raise response ResponseError: No lock at key exists at key: l:releasecommits:1:XXXXX 06:51:00 [WARNING] sentry.utils.locking.lock: Failed to release <Lock: u'releasecommits:1:XXXXX'> due to error: ResponseError('No lock at key exists at key: l:releasecommits:1:XXXXX',)

1 Like