[oslo] Request to merge the new threading backend in oslo.service.
Hi everyone, Hope you’re all doing well! Just a quick note regarding the current patch for the new threading backend in oslo.service. I have already made a few updates, like: • Adding an issues section to the release note • Renaming the [extras] entry in setup.cfg for clarity For the remaining suggestions, I was wondering if you’d be open to merging the current implementation as-is so the new backend is available and then I can follow up with smaller patches. I’m planning to open a few tickets for: • Merging the common files into one • Adding functional tests • Adding a get_backend_type() helper • And more refinements There doesn’t seem to be anything blocking at this point, and nothing that would impact the API or design significantly. Also, from a functional point of view, we’ve already seen successful results when running this in Nova. Let me know what you think and thanks again for all the feedback and reviews! -- Daniel Bengtsson Software engineer
Let me know what you think and thanks again for all the feedback and reviews! I have made some updates on the patch. The new implementation now mirrors the interface and expected behavior of the eventlet backend, including `launch_service`, `wait`, `stop`, `restart`, and worker handling, as pointed out by Dmitry. I also fixed the blocking behavior in `launch_service()` (thanks again Dmitry for raising that), so we no longer block on `manager.run()` inside `launch_service`, allowing multiple services to be launched, consistent with usage in projects like ironic and nova. Fixes from gibi are also included, like ensuring we correctly stop the
On 2025-05-12 13:04, Daniel Bengtsson wrote: periodic `LoopingCall` at service startup and adding a `get_backend_type()` helper. As suggested by Hervé, we now use `oslo_config_glue` from Cotyledon to properly bind oslo.config to worker processes. I believe the patch is now aligned with the expected backend behavior, and we’re good to proceed with the merge. The remaining items (merging common files, adding functional tests, cleanup) can be addressed in follow-up patches. -- Daniel Bengtsson Software engineer
participants (1)
-
Daniel Bengtsson