Cannot use connection_retry and command_retry for KazooDriver

Bug #2148145 reported by Eunkyung Kim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tooz
In Progress
Undecided
Eunkyung Kim

Bug Description

According to the documentation for the kazoo library,
to use the `connection_retry` or `command_retry` parameters of a KazooClient object,
it should be a `kazoo.retry.KazooRetry` object or dict type. [1]

However, there is no logic to parse this parameter in the tooz layer.
And when I tested providing the `connection_retry` and `command_retry` parameter to the Zookeeper coordinator url, those parameters are recognized as a string type and generated a default KazooRetry object.

[1] https://kazoo.readthedocs.io/en/latest/api/client.html

Eunkyung Kim (eunkyung)
Changed in python-tooz:
assignee: nobody → Eunkyung Kim (eunkyung)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tooz (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tooz/+/984292

Changed in python-tooz:
status: New → In Progress
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.