You may be right.
I have this in monkey_patch.py:
# Monkey patch the original current_thread to use the up-to-date _active # global variable. See https://bugs.launchpad.net/bugs/1863021 and # https://github.com/eventlet/eventlet/issues/592 import __original_module_threading as orig_threading import threading orig_threading.current_thread.__globals__['_active'] = threading._active
However, nova-compute logs still get spammed with:
Jun 16 14:06:30 node nova-compute[12592]: Traceback (most recent call last): Jun 16 14:06:30 node nova-compute[12592]: File "/usr/lib/python3.8/threading.py", line 1454, in _after_fork Jun 16 14:06:30 node nova-compute[12592]: assert len(_active) == 1 Jun 16 14:06:30 node nova-compute[12592]: AssertionError: Jun 16 14:06:30 node nova-compute[12592]: Exception ignored in: <function _after_fork at 0x7efdc80b7b80>
You may be right.
I have this in monkey_patch.py:
# Monkey patch the original current_thread to use the up-to-date _active /bugs.launchpad .net/bugs/ 1863021 and /github. com/eventlet/ eventlet/ issues/ 592 module_ threading as orig_threading threading. current_ thread. __globals_ _['_active' ] = threading._active
# global variable. See https:/
# https:/
import __original_
import threading
orig_
However, nova-compute logs still get spammed with:
Jun 16 14:06:30 node nova-compute[ 12592]: Traceback (most recent call last): 12592]: File "/usr/lib/ python3. 8/threading. py", line 1454, in _after_fork 12592]: assert len(_active) == 1 12592]: AssertionError: 12592]: Exception ignored in: <function _after_fork at 0x7efdc80b7b80>
Jun 16 14:06:30 node nova-compute[
Jun 16 14:06:30 node nova-compute[
Jun 16 14:06:30 node nova-compute[
Jun 16 14:06:30 node nova-compute[