Comment 11 for bug 1864675

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

Reviewed: https://review.opendev.org/717336
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=e2f01c65d91ab7b7837c7ab3118ec00b8310dc3c
Submitter: Zuul
Branch: stable/stein

commit e2f01c65d91ab7b7837c7ab3118ec00b8310dc3c
Author: Brian Haley <email address hidden>
Date: Tue Feb 25 15:01:47 2020 -0500

    Prioritize port create and update ready messages

    The DHCP agent prioritizes RPC messages based on the
    priority field send from neutron-server, but then groups
    them all in the same dhcp_ready_ports set when sending
    them back to the server to clear the provisioning block(s).

    Priority should be given to new and changed ports, since
    those are most likely to be associated with new instances
    which can fail to boot if they are not handled quickly when
    the agent is very busy, for example, right after it was
    restarted.

    Conflicts:
        neutron/tests/unit/agent/dhcp/test_agent.py

    Change-Id: Ib5074abadd7189bb4bdd5e46c677f1bfb071221e
    Closes-bug: #1864675
    (cherry picked from commit 113dfac6083c2bda36f5186e123e4e5c82fa8097)