since etcd3 3.5 dropped support for v3alpha and v3beta api, replacing
those with v3.
etcd3gw library supports passing api_path (v3alpha by default), but tooz
lacks such possibility and thus can not work with etcd3 3.5.
This patch adds handling of "api_version" in the options to
"ectd3+https" connection URLs (defaults to v3alpha as it is today and
corresponds to etcd3 version shipped in major LTS distros at the
moment).
Reviewed: https:/ /review. opendev. org/c/openstack /tooz/+ /827492 /opendev. org/openstack/ tooz/commit/ b64623daeb9e0f9 4fd5322a1c7e474 03f187e7ed
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b64623daeb9e0f9 4fd5322a1c7e474 03f187e7ed
Author: Pavlo Shchelokovskyy <email address hidden>
Date: Wed Feb 2 15:06:27 2022 +0200
Support etcd3gw api version
since etcd3 3.5 dropped support for v3alpha and v3beta api, replacing
those with v3.
etcd3gw library supports passing api_path (v3alpha by default), but tooz
lacks such possibility and thus can not work with etcd3 3.5.
This patch adds handling of "api_version" in the options to
"ectd3+https" connection URLs (defaults to v3alpha as it is today and
corresponds to etcd3 version shipped in major LTS distros at the
moment).
Closes-Bug: #1983668 8294627a3ce730b 816ded10aed d7e1ac6fed87167 f9974bf8542
Depends-On: I49c480f573a4ba
Change-Id: Ib30c1e003f261c