Class neutron.common.utils.Timer is not thread safe
Bug #1832925 reported by
Rodolfo Alonso
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Medium
|
Rodolfo Alonso |
Bug Description
In "Timer" the method used to control the timeout of the class context is not thread safe. If two different threads running in the same process set signal.signal, the last one will prevail in favor of the first one:
signal.
signal.
Another method, thread safe, to control the class timeout should be implemented.
This error can be seen in [1].
[1] http://
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
tags: | added: gate-failure unittest |
To post a comment you must log in.
Would it be possible to use threading.Timer to implement the timer instead?