We eagerly announce the release of: oslo.service 4.5.1 This release is part of the gazpacho 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.5.1 ^^^^^ Bug Fixes * The oslo.service threading mode checks if the service instance is picklable and based on that it selects the multiprocessing start method as 'spawn' or 'fork'. But it did not account for the conf object which is passed by the cotyledon (via hook registered by "oslo_config_glue.link()") to multiprocessing. Multiprocessing checks if that conf object is not picklable or not. In bug 2142122 (https://bugs.launchpad.net/oslo.service/+bug/2142122), oslo.service checked service instance picklable and selected the 'spawn' method but further multiprocessing failed when it found the conf object is not picklable. This bug is fixed by checking both service instance as well as the conf object. Changes in oslo.service 4.5.0..4.5.1 ------------------------------------ 7a8adac Threading mode: check conf object picklable before 'spawn' Diffstat (except docs and test files) ------------------------------------- oslo_service/backend/_threading/service.py | 18 +++++++++++++----- .../notes/fix-check-conf-pickle-e78baf2ba71be11b.yaml | 15 +++++++++++++++ 3 files changed, 31 insertions(+), 9 deletions(-)
participants (1)
-
no-reply@openstack.org