Comment 23 for bug 1561695

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

Reviewed: https://review.openstack.org/647953
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ec14c577b871f06100c1972084bedae589116517
Submitter: Zuul
Branch: stable/ocata

commit ec14c577b871f06100c1972084bedae589116517
Author: Dongcan Ye <email address hidden>
Date: Tue Jul 11 15:15:23 2017 +0800

    Fix generation of thousands of DHCP tap interfaces

    As reported in the bug, there may be an case where an empty
    namespace file in /run/netns, but the namespace not
    actually exist. In such case the DHCP agent throws an error
    when pluging the interface in the dhcp namespace.
    This may also result in many tap interfaces
    getting generated in OVS bridge or Linux bridge.

    This patch fixes the above bug by unpluging the tap device
    in the bridge if exception occurs, this can prevents the tap
    interfaces generate.

    Co-Authored-By: Brian Haley <email address hidden>

    Change-Id: I4a197edd180887ad36317ddb2f0c0e7bd2e34e30
    Closes-Bug: #1561695
    (cherry picked from commit 38d058c2cf0746e2452a0c2c704c914c836de9e7)
    (cherry picked from commit aedc6dafa536a605aab1a524befc3011d1e7bbde)