commit f0606dbb7fa4024e9f25b9b6c73e33897b5087f9
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/726172 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=f0606dbb7fa 4024e9f25b9b6c7 3e33897b5087f9
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit f0606dbb7fa4024 e9f25b9b6c73e33 897b5087f9
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) 83c516cbe4558dd ad60fbd54e)
Closes-bug: #1864675
(cherry picked from commit 113dfac6083c2bd
(cherry picked from commit 18c7e3ead7e385b