When running tempest tests we hit this. After analysis the reason seemed to be that the DB session was aged as a result of waiting for subnets in parallel tests to be created. Here we just create a new DB session prior to updating the VNIC ID's The patch also does the following: 1. Addresses the case where the edge_bindings are not found 2. Ensure locking for the VNIC allocations Change-Id: I0f921417e7b333575c0e99838e88a23c61f67423
28 KiB
28 KiB