Comment 1 for bug 1569323

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

Reviewed: https://review.openstack.org/304590
Committed: https://git.openstack.org/cgit/openstack/networking-nec/commit/?id=9cbfd415f088fdcc30e2b79ec59b730e27517c0b
Submitter: Jenkins
Branch: master

commit 9cbfd415f088fdcc30e2b79ec59b730e27517c0b
Author: Shinji YANAGIDA <email address hidden>
Date: Tue Apr 12 21:42:57 2016 +0900

    Fixed bug that old VLAN ID is used in multi-POD environment

    When a network spreads multiple PODs and port creation is required
    just after port deletion for a same POD, allocation of VLAN ID for
    a network segment (POD) can be racy. As a result, a corresponding
    port creation on NWA fails because VLAN segment is released during
    the operation.

    To fix the bug, this commit makes the following changes:
    * NWA plugin now deletes VLAN ID information from neutron
      DB before calling delete request to NWA.
    * When the delete request completes and if VLAN ID of the requested
      segment is zero (which means another allocation request is ongogin),
      VLAN ID information is not touched.

    Note that this bug does not occurs in a single POD environemnt.

    Change-Id: I2fe86c54063310497ca0091200433e54bb16b198
    Closes-Bug: #1569323