tooz/releasenotes/notes/etcd3gw-api-version-discovery-3e9943c73fae48d4.yaml
Takashi Kajinami f180411f42 etcd3gw: Discover API version automatically
etcd changed API version from v3beta to v3alpha, then v3, and because
of transition available api versions are different according to
the etcd server available.

This change implements the mechanism to detect the current api version
according to the etcd version obtained via the version API. So that
the url without api version works regardless of the etcd server used.

Closes-Bug: #2043810
Depends-on: https://review.opendev.org/c/openstack/etcd3gw/+/901244
Change-Id: Ib81390eb73feafe08d007db1ced4d0ceb3bde212
2023-12-15 09:51:40 +09:00

12 lines
554 B
YAML

---
features:
- |
The ``etcd3gw`` driver now automatically discovers available etcd API
version and determines the api path. The driver detects the appropriate api
path before sending its first request, and the path is reused for its
subsequent requests. Services may need to be restarted after its backend
etcd server is upgraded, so that the new api path is detected.
The detection is skipped if the coordination backend url contains
the ``api_version`` query parameter or the ``ETCD3GW_API_PATH``
environment is set.