We exuberantly announce the release of: oslo.service 4.2.1 This release is part of the flamingo release series. The source is available from: https://opendev.org/openstack/oslo.service Download the package from: https://pypi.org/project/oslo.service Please report issues through: https://bugs.launchpad.net/oslo.service/+bugs For more details, please see below. 4.2.1 ^^^^^ Bug Fixes * The "threading" backend now accepts the "wait_interval" argument in "ProcessLauncher" for compatibility with services like Neutron. The parameter is still used in the "eventlet" backend to reduce CPU usage during child monitoring loops, but has no effect in "threading". A warning is logged if it is passed. In addition, multiple calls to "launch_service()" on the same "ProcessLauncher" instance are now supported, using a single "ServiceManager" internally. This makes the threading backend fully compatible with how the "eventlet" backend behaves. * Fixed a crash that occurred during service shutdown in the threading backend, caused by an incorrect call to the non-existent internal method "_terminate()" on "cotyledon.ServiceManager". The shutdown process now correctly uses the public "shutdown()" method, ensuring graceful and reliable termination of services. Changes in oslo.service 4.2.0..4.2.1 ------------------------------------ e196437 Fix crash during shutdown by using public shutdown() method 2bdf51f Accept wait_interval and support multiple launch_service() calls 0226960 Fix ServiceBase mapping when using threading backend 4aa4031 add pyproject.toml to support pip 23.1 Diffstat (except docs and test files) ------------------------------------- oslo_service/backend/threading/__init__.py | 2 +- oslo_service/backend/threading/service.py | 28 ++++++--- pyproject.toml | 3 + ...t-wait-interval-threading-fc02f76056cbaed4.yaml | 12 ++++ ...eading-shutdown-cotyledon-3aff6ca0eb0125f5.yaml | 8 +++ 6 files changed, 114 insertions(+), 10 deletions(-)
participants (1)
-
no-reply@openstack.org