Missing handler for logging in coordinator

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

Bug Description

We are using tooz for in-house tool and etcd for backend. We also enable heartbeat for group coordinator. The source code is similar to [1]

When the connection between worker and etcd is interrupted. The tooz coordinator tries to reconnect by using tenacity library [2].

We get the error: No handlers could be found for logger "tooz.coordination"

Reason: LOG in [3] does not have handler

[1] - https://github.com/openstack/tooz/blob/master/examples/group_membership.py
[2] - https://github.com/openstack/tooz/blob/master/tooz/coordination.py#L184
[3] - https://github.com/openstack/tooz/blob/master/tooz/coordination.py#L37

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.