Lock acquire fails for etcd3gw driver

Bug #1956557 reported by Khushboo Bhatia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tooz
New
Undecided
Unassigned

Bug Description

All drivers with @_retry.retry(stop_max_delay=blocking) wrapper on lock acquire fails with below traceback

  File "/home/ubuntu/st2/virtualenv/lib/python3.8/site-packages/tooz/locking.py", line 50, in __enter__
    acquired = self.acquire(*args, **kwargs)
  File "/home/ubuntu/st2/virtualenv/lib/python3.8/site-packages/tooz/drivers/etcd3gw.py", line 42, in wrapper
    return func(*args, **kwargs)
  File "/home/ubuntu/st2/virtualenv/lib/python3.8/site-packages/tooz/drivers/etcd3gw.py", line 122, in acquire
    return _acquire()
  File "/home/ubuntu/st2/virtualenv/lib/python3.8/site-packages/tenacity/__init__.py", line 325, in wrapped_f
    return self(f, *args, **kw)
  File "/home/ubuntu/st2/virtualenv/lib/python3.8/site-packages/tenacity/__init__.py", line 405, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/ubuntu/st2/virtualenv/lib/python3.8/site-packages/tenacity/__init__.py", line 349, in iter
    if not (is_explicit_retry or self.retry(retry_state=retry_state)):
TypeError: <lambda>() got an unexpected keyword argument 'retry_state'

Revision history for this message
Khushboo Bhatia (bkhushboo) wrote :

Worked after downgrading tenacity.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.