network: Don't repopulate instance info cache from Neutron ports
Allocation of network interfaces for an instance can result in
corruption of the instance info cache. The result is that the cache
may contain duplicate entries for network interfaces. This can cause
instance boot failure. This bug appears to be attributable to the
combined effects of the fixes for bugs #1467581 and #1407664.
This change reverts the fix for bug #1407664, whilst keeping a
modified version of the unit test that was added with it. It also
adds a second unit test.
Reviewed: https:/ /review. fuel-infra. org/16691 ci/fuel- 7.0/2015. 1.0
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-
Commit: 606daa93060d971 e378e6cb55c2f43 434bfe4ad2
Author: Mark Goddard <email address hidden>
Date: Mon Apr 25 13:08:27 2016
network: Don't repopulate instance info cache from Neutron ports
Allocation of network interfaces for an instance can result in
corruption of the instance info cache. The result is that the cache
may contain duplicate entries for network interfaces. This can cause
instance boot failure. This bug appears to be attributable to the
combined effects of the fixes for bugs #1467581 and #1407664.
This change reverts the fix for bug #1407664, whilst keeping a
modified version of the unit test that was added with it. It also
adds a second unit test.
Closes-bug: #1505124 e8b5546993f8fd4 61b385c39e6 8a6c23ed4c0f33d f2084849bc)
Related-bug: #1541838
Change-Id: I53d5284907d44a
(cherry picked from upstream commit 8694c1619d774bb