Usage of IPDB leaks processes
Bug #1728996 reported by
Michal Dulko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr-kubernetes |
Fix Released
|
High
|
Michal Dulko |
Bug Description
IPDB module spawns thread that will listen for changes on the netns it's watching. If that thread isn't stopped (using IPDB.release() method), process that used that IPDB object will hang forever until it's killed manually.
We need to switch all of our IPDB usages to context managers to avoid that.
Changed in kuryr-kubernetes: | |
assignee: | nobody → Michal Dulko (michal-dulko-f) |
importance: | Undecided → High |
To post a comment you must log in.
I don't know why my patch wasn't caught automatically, but here it is: https:/ /review. openstack. org/#/c/ 517406/