Comment 6 for bug 1452903

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

Reviewed: https://review.openstack.org/181185
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3a1175b88a436eecf00b8f04e5cc9f5cbce3ee06
Submitter: Jenkins
Branch: master

commit 3a1175b88a436eecf00b8f04e5cc9f5cbce3ee06
Author: Kevin Benton <email address hidden>
Date: Sat May 2 23:10:52 2015 -0700

    Check for missing network in _bind_devices

    _bind_devices was making the assumption that the ports it
    was operating had local VLAN map entries for their network.
    This wasn't the case when a network was deleted right before
    _bind_ports was called because the VLAN was reclaimed.

    This patch just checks to see if the the network ID has an entry
    in the map. If not, it skips the port. The port will be handled
    on the next scan_ports iteration when the agent will discover that
    the port is no longer defined on the plugin and it will be placed
    in the DEAD vlan.

    Change-Id: Ica51d727aceb41848fec0f4edbd16916365941ee
    Closes-Bug: #1452903