Add init hook for Service subclasses
Bug #1050367 reported by
Mark McLoughlin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo-incubator |
Won't Fix
|
Wishlist
|
Unassigned | ||
oslo.service |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
In Nova, most Manager subclasses can override the init_host() method if it needs to do stuff when the server is started
We should make the Service base class know to call an init() method on the RPC manager or WSGI application as appropriate
affects: | openstack-common → oslo |
Changed in oslo-incubator: | |
importance: | Medium → Wishlist |
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.
We have removed the manager concept, so in nova we implement Manager and the init()
then call it from a class inherited from rpc.Service (in the start())
In other projects they just inherit from Service and do what ever they need in start()
or at least that was the intention of the current code.