Public bug reported: The current DHCP notifier only tells the DHCP agents things when ports/subnets/networks are modified via the Neutron API. This is problematic because service plugins may modify ports directly via the core plugin API, which results in the agents not being notified unless special care is taken to make modifications via utility functions that emit API events[1]. This leaves too much room for subtle inconsistencies between the data model and the DHCP agent. The DHCP notifier should just subscribe directly to the callbacks for networks/subnets/ports.
1. https://github.com/openstack/neutron/blob/dc6508aae2819f2b718785b4da2c11f30bdc3ffd/neutron/plugins/common/utils.py#L175-L183 ** Affects: neutron Importance: Undecided Assignee: Kevin Benton (kevinbenton) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1621345 Title: dhcp notifier should use core resource events Status in neutron: In Progress Bug description: The current DHCP notifier only tells the DHCP agents things when ports/subnets/networks are modified via the Neutron API. This is problematic because service plugins may modify ports directly via the core plugin API, which results in the agents not being notified unless special care is taken to make modifications via utility functions that emit API events[1]. This leaves too much room for subtle inconsistencies between the data model and the DHCP agent. The DHCP notifier should just subscribe directly to the callbacks for networks/subnets/ports. 1. https://github.com/openstack/neutron/blob/dc6508aae2819f2b718785b4da2c11f30bdc3ffd/neutron/plugins/common/utils.py#L175-L183 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1621345/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

