Add api_version for etcd3 coordination URL
Since upgrade of etcd3 (see [1]), the v3aplha endpoint has been deprecated but tooz commit (see [2]) is not yet released. Until then, we should force the api_version=v3 to make sure the coordination between engine is working correctly. Closes-Bug: #2040048 Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com> Change-Id: Ieade7a30a192910fc3870b173017efd481f0b18f
This commit is contained in:
parent
ae0289e029
commit
e343ccb078
@ -109,7 +109,7 @@ function configure_mistral {
|
||||
if [[ ! -z "$MISTRAL_COORDINATION_URL" ]]; then
|
||||
iniset $MISTRAL_CONF_FILE coordination backend_url "$MISTRAL_COORDINATION_URL"
|
||||
elif is_service_enabled etcd3; then
|
||||
iniset $MISTRAL_CONF_FILE coordination backend_url "etcd3+http://${SERVICE_HOST}:$ETCD_PORT"
|
||||
iniset $MISTRAL_CONF_FILE coordination backend_url "etcd3+http://${SERVICE_HOST}:$ETCD_PORT?api_version=v3"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user