Reviewed: https://review.opendev.org/624380 Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=28f0a70da99b2fde2479ce6a5c62128ab75554af Submitter: Zuul Branch: master
commit 28f0a70da99b2fde2479ce6a5c62128ab75554af Author: Daniel Vincze <email address hidden> Date: Thu Dec 6 22:19:16 2018 +0200
Windows: avoid passing conf objects to subprocesses
On Windows, cotyledon uses multiprocessing instead of forking. Meanwhile, config objects as well as service manager objects aren't pickleable.
For this reason, we'll avoid passing unpickleable objects to subprocesses, making all the required initialization on the subprocess side.
This change will allow ceilometer-polling to run on Windows.
Change-Id: Id51db8f06f295bb7019915b53e560df52456cbda Closes-Bug: #1625602
Reviewed: https:/ /review. opendev. org/624380 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=28f0a70da99 b2fde2479ce6a5c 62128ab75554af
Committed: https:/
Submitter: Zuul
Branch: master
commit 28f0a70da99b2fd e2479ce6a5c6212 8ab75554af
Author: Daniel Vincze <email address hidden>
Date: Thu Dec 6 22:19:16 2018 +0200
Windows: avoid passing conf objects to subprocesses
On Windows, cotyledon uses multiprocessing instead of forking. Meanwhile,
config objects as well as service manager objects aren't pickleable.
For this reason, we'll avoid passing unpickleable objects to subprocesses,
making all the required initialization on the subprocess side.
This change will allow ceilometer-polling to run on Windows.
Change-Id: Id51db8f06f295b b7019915b53e560 df52456cbda
Closes-Bug: #1625602