Allow tuning rpc_response_timeout

Sometimes we need to tune the rpc_response_timeout parameter to avoid
frequent error caused by tiemout, and it's useful to provide a native
interface to tune the timeout values.

Change-Id: I4e5c122540ff66a2782e557eb246adffcac16c99
This commit is contained in:
Takashi Kajinami
2021-04-21 23:18:15 +09:00
parent 4c38d13403
commit 4dca2a4834
10 changed files with 60 additions and 3 deletions

View File

@@ -52,6 +52,10 @@ parameters:
type: comma_delimited_list
default: 'noop'
description: Driver or drivers to handle sending notifications.
ManilaRpcResponseTimeout:
default: 60
description: Manila's RPC response timeout, in seconds.
type: number
outputs:
role_data:
@@ -88,6 +92,7 @@ outputs:
# Currently the address family parameters are mutually exclusive
manila::network::neutron::network_plugin_ipv4_enabled:
if: [{get_param: ManilaIPv6}, false, true]
manila::rpc_response_timeout: {get_param: ManilaRpcResponseTimeout}
service_config_settings:
mysql:
manila::db::mysql::password: {get_param: ManilaPassword}