etcd: if etcd is not working, acquire() raises an exception
Bug #1604906 reported by
John Schwarz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tooz |
Confirmed
|
Medium
|
Unassigned |
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.
Changed in python-tooz: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
Traceback: http:// paste.openstack .org/show/ 538889/