Improve RPC cleanup integration during service shutdown

Bug #1050368 reported by Mark McLoughlin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo-incubator
Invalid
Medium
Unassigned

Bug Description

In openstack.common.service, we have:

 try:
     from openstack.common import rpc
     have_rpc = True
 except:
     have_rpc = False

and:

 class ServiceLauncher(Launcher):
    def wait(self):

            if have_rpc:
         rpc.cleanup()

We probably need some generic way to add a cleanup hook for service shutdown and have rpc use that

Mark McLoughlin (markmc)
affects: openstack-common → oslo
Revision history for this message
Elena Ezhova (eezhova) wrote :

I guess this bug is no longer valid

Changed in oslo-incubator:
status: Confirmed → Invalid
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.