Uncaught GreenletExit in ProcessLauncher if wait called after greenlet kill
Bug #1282206 reported by
Carl Baldwin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
ChangBo Guo(gcb) | ||
Icehouse |
Fix Released
|
High
|
Matt Riedemann | ||
neutron |
Fix Released
|
Undecided
|
Unassigned | ||
oslo-incubator |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm running wait in ProcessLauncher in a green thread. I attempted to kill the green thread and then call wait so that the process launcher object can reap its child processes cleanly. This resulted in a trace resulting from a GreenletExit exception being thrown.
The eventlet documentation states multiple times that GreenletExit is thrown after .kill() has been called to kill a thread. I think ProcessLauncher should expect this and deal with it.
tags: | added: havana-backport-potential |
Changed in oslo: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | icehouse-3 → 2014.1 |
tags: | added: oslo |
Changed in nova: | |
status: | New → In Progress |
assignee: | nobody → Matt Riedemann (mriedem) |
Changed in nova: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
http:// paste.openstack .org/show/ 67359/