summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorDmitry Tantsur <dtantsur@protonmail.com>2020-05-06 17:02:01 +0200
committerDmitry Tantsur <dtantsur@protonmail.com>2020-05-11 08:33:54 +0000
commit901402d113c6db43b7d0091d8b3e20521c53b2c4 (patch)
tree6a72942a3701095b342be7fdac42da4566661c00 /releasenotes
parentf7844d923f784ed5133303f76e7e88d410b5ef6a (diff)
downloadironic-901402d113c6db43b7d0091d8b3e20521c53b2c4.tar.gz
Add timeout and retries to JSON RPC client
The necessary options are already in keystoneauth, but have empty defaults. This patch changes timeout to 15 and adds 2 retries by default. Change-Id: Idf8cfa54b77be6f5127d2c9d587a427aa0898802 (cherry picked from commit 14524c265b4104bf9cf4eeeae21fbb1eca2cecbc)
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/json-rpc-timeout-ac30eea164b3a294.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/releasenotes/notes/json-rpc-timeout-ac30eea164b3a294.yaml b/releasenotes/notes/json-rpc-timeout-ac30eea164b3a294.yaml
new file mode 100644
index 000000000..97c16cf2d
--- /dev/null
+++ b/releasenotes/notes/json-rpc-timeout-ac30eea164b3a294.yaml
@@ -0,0 +1,7 @@
+---
+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
+ ``[json_rpc]timeout`` and ``[json_rpc]connect_retries`` accordingly.