Multiple service launchers and eventlet backdoor initialization
Bug #1050377 reported by
Mark McLoughlin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo-incubator |
Won't Fix
|
Medium
|
Unassigned | ||
oslo.service |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
In service.Launcher, we do:
class Launcher(object):
def __init__(self):
and this spawns a greenthread listening on a configured port
This will break if you use Launcher multiple times (the port will be in use)
Also, the spawned thread isn't managed at all - e.g. stopped at shutdown time
affects: | openstack-common → oslo |
Changed in oslo-incubator: | |
status: | Confirmed → Won't Fix |
Changed in oslo.service: | |
status: | New → Won't Fix |
To post a comment you must log in.
I have a patch that address this issue (at least the first one) up for review in nova:
https:/ /review. openstack. org/#/c/ 15446/
The fix is nova specific in that it adds a new port option for each nova service that will use backdoors.