On Thu, Mar 05, 2015 at 11:10:58PM +0100, 'Helga Velroyen' via ganeti-devel
wrote:
Currently, gnt-cluster renew-crypto is not very robust. It
fails completely as soon as one node does not create new
crypto tokens fast enough. To give the RPC more time,
increase the timeout.
Signed-off-by: Helga Velroyen <[email protected]>
---
lib/rpc_defs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/rpc_defs.py b/lib/rpc_defs.py
index 80855bd..200c97c 100644
--- a/lib/rpc_defs.py
+++ b/lib/rpc_defs.py
@@ -514,7 +514,7 @@ _NODE_CALLS = [
("ovs_name", None, "Name of the OpenvSwitch to create"),
("ovs_link", None, "Link of the OpenvSwitch to the outside"),
], None, None, "This will create and setup the OpenvSwitch"),
- ("node_crypto_tokens", SINGLE, None, constants.RPC_TMO_NORMAL, [
+ ("node_crypto_tokens", SINGLE, None, constants.RPC_TMO_SLOW, [
("token_request", None,
"List of tuples of requested crypto token types, actions"),
], None, None, "Handle crypto tokens of the node."),
--
2.2.0.rc0.207.ga3a616c
LGTM