Floating IP ops lock wait timeout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Undecided
|
Unassigned | ||
Juno |
Fix Released
|
High
|
Salvatore Orlando | ||
vmware-nsx |
Fix Released
|
High
|
Salvatore Orlando |
Bug Description
Under heavy load floating IP operations can trigger a lock wait timeout, thus causing the operation itself to fail.
The reason for the timeout is the usual untimely eventlet yield which can be triggered in many places during the operation. The chances of this happening are increased by the fact that _update_fip_assoc (called within a DB transaction) does several interactions with the NSX backend.
Unfortunately it is not practical to change the logic of the plugin in a way such that _update_fip_assoc does not go to the backend anymore, especially because the fix would be so extensive that it would be hardly backportable. An attempt in this direction also did not provide a solution: https:/
no longer affects: | neutron |
no longer affects: | neutron |
Changed in neutron: | |
status: | New → Won't Fix |
Changed in vmware-nsx: | |
importance: | Undecided → High |
Changed in vmware-nsx: | |
status: | New → In Progress |
Changed in vmware-nsx: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/145794 /git.openstack. org/cgit/ stackforge/ vmware- nsx/commit/ ?id=0e3299d69ce 6f81f6502aca9a1 5bb9daca90158b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0e3299d69ce6f81 f6502aca9a15bb9 daca90158b
Author: Salvatore Orlando <email address hidden>
Date: Thu Jan 8 06:37:34 2015 -0800
NSX: synchronize floating IP operations
This patch simply adds floating IP operations (create, update,
and delete) to the VMware global mutex already employed for
router gateway operations.
This should prevent the occurence of database lock wait timeout
errors caused by untimely eventlet yields.
Closes-Bug: #1410777
Change-Id: I0e887b1401daec 991f2244fb897a4 b1dd206bf35