commit cd033bee076dabc847c96058da0e40e0989ccba8
Author: Sebastian Lohff <email address hidden>
Date: Wed May 15 13:39:55 2019 +0200
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 76ccdb35d4b09106aa8adc97528b02f0fd8acbcc)
Reviewed: https:/ /review. opendev. org/669944 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=cd033bee076 dabc847c96058da 0e40e0989ccba8
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit cd033bee076dabc 847c96058da0e40 e0989ccba8
Author: Sebastian Lohff <email address hidden>
Date: Wed May 15 13:39:55 2019 +0200
Limit max ports per rpc for dhcp_ready_ on_ports( )
The Neutron dhcp agents reports all ready ports to the Neutron on_ports( ) rpc call. When the dhcp agent ready_on_ ports() calls. This happens especially on agent startup.
server via the dhcp_ready_
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_
To mitigate this problems we now limit the number of ports sent on_ports( ) call.
per dhcp_ready_
Closes-bug: #1834257 6aca4c31b9c3ff5 8dcfa55107f 6aa8adc97528b02 f0fd8acbcc)
Change-Id: I407e126e760ebf
(cherry picked from commit 76ccdb35d4b0910