From 8311ac938c6b604dd07a46d04743994f4753c247 Mon Sep 17 00:00:00 2001 From: Morgan Jones Date: Mon, 22 Aug 2016 14:36:44 -0400 Subject: [PATCH] Extend guest agent call timeouts The gate is horribly overloaded and as a result our calls to the guest are timing out during scenario tests. I've been told that the community won't support fixing the tests, so the only option is to break production code. This change makes the high timeout 10 minutes, which is now the amount of time the user will need to wait to learn of an error in an asyncronous call to the guest. Change-Id: I66d97dc4a60a1d2afe12d27d167ca426b51074ca --- releasenotes/notes/guest-call-timeout-2781a57ca8feb89a.yaml | 4 ++++ trove/common/cfg.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/guest-call-timeout-2781a57ca8feb89a.yaml diff --git a/releasenotes/notes/guest-call-timeout-2781a57ca8feb89a.yaml b/releasenotes/notes/guest-call-timeout-2781a57ca8feb89a.yaml new file mode 100644 index 0000000000..e392bc4cad --- /dev/null +++ b/releasenotes/notes/guest-call-timeout-2781a57ca8feb89a.yaml @@ -0,0 +1,4 @@ +fixes: + - Increased agent_call_high_timeout config setting to 10 minutes. This + configures the length of time that the taskmanager will wait for an + asynchronous guest agent call to complete. diff --git a/trove/common/cfg.py b/trove/common/cfg.py index 0e189de107..6043d40442 100644 --- a/trove/common/cfg.py +++ b/trove/common/cfg.py @@ -139,7 +139,7 @@ common_opts = [ help="Maximum time (in seconds) to wait for Guest Agent 'quick'" "requests (such as retrieving a list of users or " "databases)."), - cfg.IntOpt('agent_call_high_timeout', default=60 * 5, + cfg.IntOpt('agent_call_high_timeout', default=60 * 10, help="Maximum time (in seconds) to wait for Guest Agent 'slow' " "requests (such as restarting the database)."), cfg.IntOpt('agent_replication_snapshot_timeout', default=36000,