etcd: if etcd is not working, acquire() raises an exception

Bug #1604906 reported by John Schwarz on 2016-07-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

See [1]: in case self.client.put() raises RequestException, and if watch == None, then the code doesn't break - it will proceed to line 123, where UnboundLocalError is raised from the code.

Reproduction steps: stop etcd, try to acquire lock.


Ben Nemec (bnemec) on 2018-04-03
Changed in python-tooz:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers