Attempts to lock pid files should be non-blocking
Bug #1315507 reported by
Ryan Moe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Ryan Moe |
Bug Description
When another process already has an exclusive lock on a pid file subsequent attempts to lock will block indefinitely. This is problematic when this happens in e.g the ns-metadata-proxy. When the ns-metadata-proxy blocks on locking its pid file the l3-agent will not be able to bring up any of the router's interfaces.
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
assignee: | nobody → Ryan Moe (rmoe) |
Changed in neutron: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
This is normally handled with the use of greenthreads. When one thread tries to grab a lock and it is already taken, it will yield to another coroutines. Do you have a reference to the specific location that is blocking?