neutron-fwaas/neutron/plugins
Kaiwei Fan fc0e7cd5ab Fix IF checks on spawned green thread instance
Initially the symptom looks like race condition between two threads when
stopping the task manager. After further analysis/troubleshooting, it
turns out that two threads are spawned if a task manager is stopped and
started again, causing unexpected errors.

The IF check on the spawned thread sometimes return True sometime return False
if not compared against None explicitly. This makes start() method
think no thread has been started or stop() method think no thread is started.
Change the check to compare against None.

Also fixed a problem in unit-test where a thread may never terminated when
a stop call is invoked during db access.

Closes-Bug: 1221486
Change-Id: I0d67bfe8fef7a390f0d6bc0f5a42835f86a9fb27
2013-09-06 15:24:42 -07:00
..
bigswitch Fixes formatting exception from logging in BigSwitch plugin 2013-08-29 15:18:03 -07:00
brocade refactor port binding codes 2013-07-26 23:04:51 +08:00
cisco Merge "Allow default network and policy profiles" 2013-09-05 22:26:49 +00:00
common Reference driver implementation (IPsec) for VPNaaS 2013-09-04 00:32:39 -07:00
embrane Embrane Neutron Plugin 2013-08-25 14:22:38 -07:00
hyperv Adds metrics collection support in Hyper-V 2013-08-28 18:12:35 +03:00
linuxbridge Implement ML2 port binding 2013-09-03 18:05:20 -04:00
metaplugin Merge "Remove global DB_ENGINE from Neutron" 2013-08-20 08:11:06 +00:00
midonet Implement MidoNet Neutron plugin for Havana 2013-09-03 16:39:10 +00:00
ml2 Load ML2 mech drivers as listed in ml2_conf.ini 2013-09-06 09:26:08 -04:00
mlnx fix conversion type missing 2013-09-06 02:16:13 +08:00
nec Merge "fix conversion type missing" 2013-09-05 20:30:23 +00:00
nicira Fix IF checks on spawned green thread instance 2013-09-06 15:24:42 -07:00
openvswitch Implement Allowed Address Pairs 2013-09-05 03:53:59 -07:00
plumgrid Merge "Support for Floating IPs in PLUMgrid plugin" 2013-08-28 06:34:44 +00:00
ryu Merge "refactor port binding codes" 2013-08-07 16:16:12 +00:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00