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
This commit is contained in:
Morgan Jones 2016-08-22 14:36:44 -04:00
parent 4504d518b3
commit 8311ac938c
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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,