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.
Reviewed: https:/ /review. opendev. org/717336 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e2f01c65d91 ab7b7837c7ab311 8ec00b8310dc3c
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit e2f01c65d91ab7b 7837c7ab3118ec0 0b8310dc3c
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: Ib5074abadd7189 bb4bdd5e46c677f 1bfb071221e a36f5186e123e4e 5c82fa8097)
Closes-bug: #1864675
(cherry picked from commit 113dfac6083c2bd