neutron/neutron/agent/dhcp
Sebastian Lohff f9f6ae9c98 Limit max ports per rpc for dhcp_ready_on_ports()
The Neutron dhcp agents reports all ready ports to the Neutron
server via the dhcp_ready_on_ports() rpc call. When the dhcp agent
gets ports ready faster than the server can process them the amount
of ports per rpc call can grow so high (e.g. 10000 Ports) that the
neutron server never has a chance of processing the request before
the rpc timeout kills the request, leading to the dhcp agent
sending the request again, resulting in an endless loop of
dhcp_ready_on_ports() calls. This happens especially on agent startup.

To mitigate this problems we now limit the number of ports sent
per dhcp_ready_on_ports() call.

Closes-bug: #1834257
Change-Id: I407e126e760ebf6aca4c31b9c3ff58dcfa55107f
(cherry picked from commit 76ccdb35d4)
2019-07-09 20:35:19 +00:00
..
__init__.py DHCP agent restructuring 2015-01-17 01:03:09 -08:00
agent.py Limit max ports per rpc for dhcp_ready_on_ports() 2019-07-09 20:35:19 +00:00