f180411f42
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
12 lines
554 B
YAML
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.
|