Multiple service launchers and eventlet backdoor initialization

Bug #1050377 reported by Mark McLoughlin
12
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):
        eventlet_backdoor.initialize_if_enabled()

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

Revision history for this message
Matthew Treinish (treinish) wrote :

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.

Mark McLoughlin (markmc)
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.