7816ae3750
When: * the segments service plugin is enabled and * we have multiple rpc worker processes (as in the sum of rpc_workers and rpc_state_report_workers, since both kind processes agent state_reports) and * many ovs-agents report physnets, then rabbitmq dispatches the state_report messages between the workers in a round robin fashion, therefore eventually the state_reports of the same agent will hit all rpc workers. Unfortunately all worker processes have a 'reported_hosts' set to remember from which host it has seen agent reports already. But right after a server start when that set is still empty, each worker will unconditionally write the received physnet-segment information into the db. This means we multiply the load on the db and rpc workers by a factor of the rpc worker count. This patch tries to reduce the load on the db by adding another early return before the unconditional db write. Depends-On: https://review.opendev.org/c/openstack/devstack/+/828769 Change-Id: I935186b6ee95f0cae8dc05869d9742c8fb3353c3 Closes-Bug: #1952730 (cherry picked from commit |
||
---|---|---|
api-ref | ||
bin | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
playbooks | ||
rally-jobs | ||
releasenotes | ||
roles | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
TESTING.rst | ||
babel.cfg | ||
bindep.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Welcome!
To learn more about neutron:
- Documentation: https://docs.openstack.org
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute:
CONTRIBUTING.rst