Merge "cinder: Double [DEFAULT]/rpc_response_timeout to 120"

This commit is contained in:
Zuul 2021-01-08 10:35:39 +00:00 committed by Gerrit Code Review
commit e2f574fb90
1 changed files with 5 additions and 0 deletions

View File

@ -236,6 +236,11 @@ function configure_cinder {
iniset $CINDER_CONF key_manager backend cinder.keymgr.conf_key_mgr.ConfKeyManager
iniset $CINDER_CONF key_manager fixed_key $(openssl rand -hex 16)
# Avoid RPC timeouts in slow CI and test environments by doubling the
# default response timeout set by RPC clients. See bug #1873234 for more
# details and example failures.
iniset $CINDER_CONF DEFAULT rpc_response_timeout 120
if is_service_enabled c-vol && [[ -n "$CINDER_ENABLED_BACKENDS" ]]; then
local enabled_backends=""
local default_name=""