Race condition with failover logic in BigSwitch plugin
Bug #1200022 reported by
Kevin Benton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Kevin Benton | ||
Grizzly |
Fix Released
|
Medium
|
Gary Kotton |
Bug Description
The failover logic modifies a list of servers as it iterates through them.
If a thread fails for an unexpected exception, a server could get permanently removed from the failover pool.
Changed in neutron: | |
assignee: | nobody → Kevin Benton (blak111) |
Changed in neutron: | |
importance: | Undecided → Medium |
milestone: | none → havana-2 |
tags: | added: bigswitch |
Changed in neutron: | |
status: | New → Confirmed |
Changed in neutron: | |
status: | Confirmed → In Progress |
tags: | added: grizzly-backport-potential |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
tags: | removed: grizzly-backport-potential in-stable-grizzly |
Changed in neutron: | |
milestone: | havana-2 → 2013.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/36581 github. com/openstack/ neutron/ commit/ 3732f022778a7c4 a47c58029ae77e3 2a0a4a6ee9
Committed: http://
Submitter: Jenkins
Branch: master
commit 3732f022778a7c4 a47c58029ae77e3 2a0a4a6ee9
Author: Kevin Benton <email address hidden>
Date: Wed Jul 10 16:28:12 2013 -0700
Prevent possible server list damage in BigSwitch plugin
The old failover logic for the BigSwitch plugin modified a
list of controllers as it tested them. If the code for one
thread unexpectedly raised an exception or died, the global
server list could lose a server permanently.
This patch addresses that by flagging servers as failed instead
so the global server list is never modified.
Fixes: bug #1200022 fd03e3215bff334 5e56c78afe2
Change-Id: Id2dcb820ef9f62