OpenStack Networking (Neutron)
Go to file
LIU Yulong 837c9283ab Dynamically increase l3 router process queue green pool size
There is a race condition between nova-compute boots instance and
l3-agent processes DVR (local) router in compute node. This issue
can be seen when a large number of instances were booted to one
same host, and instances are under different DVR router. So the
l3-agent will concurrently process all these dvr routers in this
host at the same time.
For now we have a green pool for the router ResourceProcessingQueue
with 8 greenlet, but some of these routers can still be waiting, event
worse thing is that there are time-consuming actions during the router
processing procedure. For instance, installing arp entries, iptables
rules, route rules etc.
So when the VM is up, it will try to get meta via the local proxy
hosting by the dvr router. But the router is not ready yet in that
host. And finally those instances will not be able to setup some
config in the guest OS.

This patch adds a new measurement based on the router quantity to
indicate the L3 router process queue green pool size. The pool size
will be limit from 8 (original value) to 32, because we do not want
the L3 agent cost too much host resource on processing router in the
compute node.

Related-Bug: #1813787
Change-Id: I62393864a103d666d5d9d379073f5fc23ac7d114
2019-02-14 16:27:03 +08:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
bin Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00
devstack [L3][QoS] Agent side router gateway IP rate limit 2018-12-01 17:45:47 +08:00
doc Merge "[Configuration] Clean up .gitignore references to personal tools" 2019-02-07 02:09:33 +00:00
etc Rename README.policy.json.txt 2019-01-07 12:45:15 -05:00
neutron Dynamically increase l3 router process queue green pool size 2019-02-14 16:27:03 +08:00
playbooks/legacy Switch default functional tests to python3, add job for python2 2019-01-30 13:31:29 +00:00
rally-jobs Add Security Group scenarios to rally-jobs 2019-02-01 15:22:18 -05:00
releasenotes Merge "Add port forwarding floating IP QoS" 2019-02-01 18:31:34 +00:00
tools Merge "Remove unnecessary 'set -x' at EOL in genconfig script" 2018-12-15 14:09:19 +00:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore [Configuration] Clean up .gitignore references to personal tools 2019-01-31 16:17:38 +01:00
.gitreview Fix .gitreview to not point at a branch 2015-08-17 13:51:51 -06:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Disable some pylint checks 2018-10-03 08:41:56 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
.zuul.yaml Merge "Switch default functional tests to python3, add job for python2" 2019-02-03 15:38:30 +00:00
CONTRIBUTING.rst Update link for contribution 2017-08-31 16:44:51 +02:00
HACKING.rst Update the documentation link for doc migration 2017-07-22 18:46:13 +09:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
README.rst Update mailinglist from dev to discuss 2018-12-12 12:44:12 +08:00
TESTING.rst doc: Small clearances for fullstack testing 2018-09-05 09:40:07 +02:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Add libffi-dev to bindep.txt 2017-06-13 19:26:49 +00:00
lower-constraints.txt Bump neutron-lib to 1.23.0 2019-01-31 09:13:17 -06:00
requirements.txt Bump neutron-lib to 1.23.0 2019-01-31 09:13:17 -06:00
setup.cfg Merge "Upgrade check command - add support for 3rd party checks" 2018-12-19 12:50:19 +00:00 Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Upgrade pylint to a version that works with python3 2018-10-04 18:03:25 +00:00
tox.ini Switch default functional tests to python3, add job for python2 2019-01-30 13:31:29 +00:00


Team and repository tags



To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute: