Local vlan mappings provisioned by _restore_local_vlan_map
might not be cleaned up properly if the corresponding ports are
removed before we enter the main loop.
This commit fixes the problem by making _restore_local_vlan_map
just record local vlan IDs and leave the rest of provisioning logic
to the main loop.
Closes-Bug: #1507776
Change-Id: I84ff6684ae3fda7d839c14b1a7382871f45ce610
(cherry picked from commit c69407e676c483820f5c505d8d6d7923b0461819)
Reviewed: https:/ /review. openstack. org/238986 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=24d0b05f838 61826e61d941611 591703ca321b1e
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 24d0b05f8386182 6e61d9416115917 03ca321b1e
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed Oct 21 13:54:06 2015 +0900
Fix _restore_ local_vlan_ map race
Local vlan mappings provisioned by _restore_ local_vlan_ map
might not be cleaned up properly if the corresponding ports are
removed before we enter the main loop.
This commit fixes the problem by making _restore_ local_vlan_ map
just record local vlan IDs and leave the rest of provisioning logic
to the main loop.
Closes-Bug: #1507776 7d839c14b1a7382 871f45ce610 20f5c505d8d6d79 23b0461819)
Change-Id: I84ff6684ae3fda
(cherry picked from commit c69407e676c4838