Merge "Change default local ovs connection timeout" into stable/rocky

This commit is contained in:
Zuul 2019-04-15 20:55:34 +00:00 committed by Gerrit Code Review
commit b398bd450c
2 changed files with 9 additions and 2 deletions

View File

@ -85,11 +85,11 @@ ovs_opts = [
cfg.PortOpt('of_listen_port', default=6633,
help=_("Port to listen on for OpenFlow connections. "
"Used only for 'native' driver.")),
cfg.IntOpt('of_connect_timeout', default=30,
cfg.IntOpt('of_connect_timeout', default=300,
help=_("Timeout in seconds to wait for "
"the local switch connecting the controller. "
"Used only for 'native' driver.")),
cfg.IntOpt('of_request_timeout', default=10,
cfg.IntOpt('of_request_timeout', default=300,
help=_("Timeout in seconds to wait for a single "
"OpenFlow request. "
"Used only for 'native' driver.")),

View File

@ -0,0 +1,7 @@
---
other:
- |
In order to improve heavy load ovs agent restart success rate, instead
a retry or fullsync, the native driver ``of_connect_timeout`` and
``of_request_timeout`` are now set to 300s. The value does not have side
effect for the regular pressure ovs agent.