Comment 133 for bug 1863021

Revision history for this message
Dr. Clemens Hardewig (bringha1) wrote :

Hmmm .. not sure whether this patch fixes all scenarios with nova-compute:

We just created a new compute server from scratch with clean install ubuntu focal, python 3.8 and Ussuri nova-compute (nova-compute/focal-updates,now 2:21.0.0-0ubuntu0.20.04.1).
I double checked that this patch has been applied (which is in /usr/lib/python3/dist-upgrade/nova/monkey_patch.py).
However, my syslog is spammed with
Jun 14 09:53:20 compute3 nova-compute[2759819]: AssertionError:
Jun 14 09:53:20 compute3 nova-compute[2759824]: Exception ignored in: <function _after_fork at 0x7f91837ae820>
Jun 14 09:53:20 compute3 nova-compute[2759824]: Traceback (most recent call last):
Jun 14 09:53:20 compute3 nova-compute[2759824]: File "/usr/lib/python3.8/threading.py", line 1454, in _after_fork
Jun 14 09:53:20 compute3 nova-compute[2759824]: assert len(_active) == 1
Jun 14 09:53:20 compute3 nova-compute[2759824]: AssertionError:
Jun 14 09:53:20 compute3 nova-compute[2759827]: Exception ignored in: <function _after_fork at 0x7f91837ae820>
Jun 14 09:53:20 compute3 nova-compute[2759827]: Traceback (most recent call last):
Jun 14 09:53:20 compute3 nova-compute[2759827]: File "/usr/lib/python3.8/threading.py", line 1454, in _after_fork
Jun 14 09:53:20 compute3 nova-compute[2759827]: assert len(_active) == 1
Jun 14 09:53:20 compute3 nova-compute[2759827]: AssertionError:
Jun 14 09:53:20 compute3 nova-compute[2759830]: Exception ignored in: <function _after_fork at 0x7f91837ae820>
Jun 14 09:53:20 compute3 nova-compute[2759830]: Traceback (most recent call last):
Jun 14 09:53:20 compute3 nova-compute[2759830]: File "/usr/lib/python3.8/threading.py", line 1454, in _after_fork
Jun 14 09:53:20 compute3 nova-compute[2759830]: assert len(_active) == 1
Jun 14 09:53:20 compute3 nova-compute[2759830]: AssertionError:
Jun 14 09:53:20 compute3 nova-compute[2759833]: Exception ignored in: <function _after_fork at 0x7f91837ae820>
Jun 14 09:53:20 compute3 nova-compute[2759833]: Traceback (most recent call last):
Jun 14 09:53:20 compute3 nova-compute[2759833]: File "/usr/lib/python3.8/threading.py", line 1454, in _after_fork
Jun 14 09:53:20 compute3 nova-compute[2759833]: assert len(_active) == 1
nova-compute ist running and looked to be functional.

Did I overlook something?
Thanks for your reply