DHCP agent notifying all ports ready on sync state
Bug #1639086 reported by
Kevin Benton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Kevin Benton |
Bug Description
The DHCP agent is notifying the server every port is ready that it serves after running the sync_state command, even if it's only for one network. This is an expensive waste of resources because the DHCP agent might resync one network and then have to notify the server of thousands of ports.
Changed in neutron: | |
assignee: | nobody → Kevin Benton (kevinbenton) |
Changed in neutron: | |
status: | New → In Progress |
tags: | added: newton-backport-potential |
Changed in neutron: | |
importance: | Undecided → High |
tags: | added: neutron-proactive-backport-potential |
tags: | removed: neutron-proactive-backport-potential newton-backport-potential |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/379270 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7dc2707c2b0 b05ad7699a24680 a5b45e67f717fc
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7dc2707c2b0b05a d7699a24680a5b4 5e67f717fc
Author: Kevin Benton <email address hidden>
Date: Thu Sep 29 01:37:59 2016 -0700
Only mark ports ready on synced networks
The DHCP agent was previously resending every single port to
the server whenever sync_state was called, even if it was just
for one network.
This let to sending way too much unnecessary data to the server
and also potentially resulted in sending a port to the server
that wasn't actually provisioned yet.
This patch corrects the behavior by only sending ports for networks
that are being synced if it's a conditional sync.
Closes-Bug: #1639086 51baa315ef95dc5 11cda475672
Change-Id: Ie7686837b18ff2