vmware-nsx/etc/neutron/plugins
Aaron Rosen 666ea107ac NSX: Correct default timeout params
Previously, req_timeout and http_timeout were set to the same value
which is not correct. req_timeout is the total time limit for a cluster
request and  http_timeout is the time allowed before aborting a request on
an unresponsive controller. Since the default configuration allows 2
retries req_timeout should be double that of http_timeout because of this
this patch goes ahead and removes req_timeout as this should just be
http_timeout * retries.

Because prevouly req_timeout and http_timeout were the same this exposed
a corner case that when the nsx controller returned a 307 we would issue
the request against the redirected controller but in the case where the
session cookie had expire when the request was issued we would get a 401
response back and never retry the request. Now that the default values are
corrected this issue should no longer occur as the next time time we issue
the request we'll fetch a new auth cookie for the redirected controller.

This patch also bumps the timeout values to be higher. We've seen
more and more timeouts occur in our CI system largely because our
cloud is overloaded so increasing the default timeouts will *hopefully*
help reduce test failures.

DocImpact

Closes-bug: 1340969
Closes-bug: 1338846

Change-Id: Id7244cd4d9316931f4f7df1c3b41b3a894f2909a
2014-08-01 15:32:04 -07:00
..
bigswitch Big Switch: Stop watchdog on interval of 0 2014-06-18 14:11:08 -07:00
brocade Remove root_helper config from plugin ini 2013-12-10 02:07:54 +09:00
cisco Add configurable http_timeout parameter for Cisco N1K 2014-07-01 18:25:13 +00:00
embrane Embrane Neutron Plugin 2013-08-25 14:22:38 -07:00
hyperv Remove database section from plugin.ini 2013-11-06 09:17:09 +01:00
ibm Fixes bugs for requests sent to SDN-VE controller 2014-05-26 09:56:37 -04:00
linuxbridge Add enable_security_group option 2014-03-21 00:50:15 +01:00
metaplugin Make help texts more descriptive in Metaplugin 2014-04-22 07:30:53 +09:00
midonet Implement MidoNet Neutron plugin for Havana 2013-09-03 16:39:10 +00:00
ml2 ML2 mechanism driver for SR-IOV capable NIC based switching, Part 2 2014-07-23 10:06:12 +03:00
mlnx Add enable_security_group option 2014-03-21 00:50:15 +01:00
nec Replace HTTPSConnection in NEC plugin 2014-04-03 23:28:19 +09:00
nuage Nuage Networks Plugin 2014-02-28 14:22:42 -08:00
oneconvergence Add enable_security_group to BigSwitch and OneConvergence ini files 2014-03-22 19:13:10 +09:00
openvswitch L2 Model additions to support DVR 2014-07-17 07:53:14 -07:00
plumgrid Add support to dynamically upload drivers in PLUMgrid plugin 2014-05-01 13:36:03 -07:00
ryu Add enable_security_group option 2014-03-21 00:50:15 +01:00
vmware NSX: Correct default timeout params 2014-08-01 15:32:04 -07:00