Comment 13 for bug 1834257

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/queens)

Reviewed: https://review.opendev.org/669944
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=cd033bee076dabc847c96058da0e40e0989ccba8
Submitter: Zuul
Branch: stable/queens

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)