diff --git a/ironic/conf/json_rpc.py b/ironic/conf/json_rpc.py index 1e2f848bb8..e86e4b4862 100644 --- a/ironic/conf/json_rpc.py +++ b/ironic/conf/json_rpc.py @@ -38,8 +38,7 @@ opts = [ def register_opts(conf): conf.register_opts(opts, group='json_rpc') auth.register_auth_opts(conf, 'json_rpc') - conf.set_default('timeout', 15, group='json_rpc') - conf.set_default('connect_retries', 2, group='json_rpc') + conf.set_default('timeout', 120, group='json_rpc') def list_opts(): diff --git a/releasenotes/notes/json-rpc-timeout-ac30eea164b3a294.yaml b/releasenotes/notes/json-rpc-timeout-ac30eea164b3a294.yaml index 97c16cf2df..74be9a31b5 100644 --- a/releasenotes/notes/json-rpc-timeout-ac30eea164b3a294.yaml +++ b/releasenotes/notes/json-rpc-timeout-ac30eea164b3a294.yaml @@ -2,6 +2,6 @@ fixes: - | Fixes the JSON RPC backend potentially hanging on inability to connect - to a conductor. The default timeout is now 15 seconds and 2 retries are - made. These values can be adjusted via the configuration options + to a conductor. The default timeout is now 120 seconds. The timeout and + a number of retries can be adjusted via the configuration options ``[json_rpc]timeout`` and ``[json_rpc]connect_retries`` accordingly.