Files
vmware-nsx/vmware_nsx/db/nsxv_db.py
Gary Kotton 9b1f596324 NSX|V: address DB lock wait timeouts in the plugin
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
2016-06-28 23:31:44 -07:00

28 KiB