Comment 4 for bug 1639806

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

Reviewed: https://review.openstack.org/395248
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=9f1057bfd9aff4acee1d41f14298c155a6759f55
Submitter: Jenkins
Branch: master

commit 9f1057bfd9aff4acee1d41f14298c155a6759f55
Author: Kevin Benton <email address hidden>
Date: Tue Nov 8 15:15:26 2016 -0800

    DHCP: Add missing path for marking ports as ready

    'refresh_dhcp_helper', which is called after subnet update/create
    notifications in the DHCP agent, can end up retrieving ports that
    the agent hadn't yet seen. It will then configure those ports but
    not notify the server that they are ready.

    Unless the port is subsequently updated on the server afterwards to
    generate a new port update notification, the DHCP agent won't ever tell
    the server that the port has had DHCP provisioned. This led to the
    bug this closes. Another patch[1] that removed excessive DHCP ready
    notifications uncovered this bug.

    This patch just adjusts refresh_dhcp_helper to ensure that all ports
    are marked as ready after configuring them all.

    1. Ie7686837b18ff251baa315ef95dc511cda475672

    Change-Id: I1fed60c1835c2ebed7c050c6fa114f89beec3190
    Closes-Bug: #1639806