tooz doesn't configure api_path for etcd3gw driver
Bug #1983668 reported by
Manojkatari
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tooz |
Fix Released
|
Undecided
|
Manojkatari | ||
tripleo |
Fix Released
|
High
|
Manojkatari |
Bug Description
etcd3gw driver supports configuring api_path which is the endpoint to communicate with etcd.
As the default api_path(/v3alpha) in etcd3gw driver is not supported by latest etcd versions(eg: 3.4.x), it results in errors like [1] in cinder_volume container.
So, tooz should configure correct api_path needed for the corresponding etcd version.
ref: https:/
[1] ERROR oslo_service.
Changed in python-tooz: | |
assignee: | nobody → Manojkatari (mkatari) |
Changed in python-tooz: | |
status: | New → In Progress |
Changed in tripleo: | |
status: | New → Triaged |
assignee: | nobody → Manojkatari (mkatari) |
importance: | Undecided → High |
status: | Triaged → In Progress |
To post a comment you must log in.
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