Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 76ccdb3)
- Loading branch information
1 parent
55a503b
commit f9f6ae9
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters