[4.1.1] ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start with the traceback locations /lib/python3/dist-packages/bcrypt/init.py and Ceph's mgr_util.py, then compare the reported bcrypt 4.0.1 and 4.1.1 environments under ceph-mgr. Reproduce the CPython initialization error and determine whether the affected Ceph manager modules load successfully without it.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Similar as https://github.com/pyca/cryptography/issues/9016, my ceph-mgr in 18.2.1 get error message once upgrade from bcrypt 4.0.1 to 4.1.1:
root@node12:~# ceph health detail
HEALTH_WARN 9 mgr modules have failed dependencies
[WRN] MGR_MODULE_DEPENDENCY: 9 mgr modules have failed dependencies
Module 'balancer' has failed dependency: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Module 'crash' has failed dependency: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Module 'devicehealth' has failed dependency: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Module 'orchestrator' has failed dependency: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Module 'pg_autoscaler' has failed dependency: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Module 'progress' has failed dependency: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Module 'rbd_support' has failed dependency: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Module 'telemetry' has failed dependency: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Module 'volumes' has failed dependency: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
root@node12:~# journalctl -xef -u [email protected]
Dec 12 03:41:13 node12 systemd[1]: Started Ceph cluster manager daemon.
░░ Subject: A start job for unit [email protected] has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit [email protected] has finished successfully.
░░
░░ The job identifier is 37868.
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.178+0000 7fc8359f5280 -1 mgr[py] Module status has missing NOTIFY_TYPES member
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.314+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.314+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:14 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.314+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'mirroring'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.314+0000 7fc8359f5280 -1 mgr[py] Error loading module 'mirroring': (22) Invalid argument
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.446+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.446+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:14 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.446+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'orchestrator'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.446+0000 7fc8359f5280 -1 mgr[py] Error loading module 'orchestrator': (22) Invalid argument
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.542+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.542+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:14 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.542+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'nfs'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.542+0000 7fc8359f5280 -1 mgr[py] Error loading module 'nfs': (22) Invalid argument
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.642+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.642+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:14 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.642+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'prometheus'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.642+0000 7fc8359f5280 -1 mgr[py] Error loading module 'prometheus': (22) Invalid argument
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.738+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.738+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:14 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.738+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'volumes'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.738+0000 7fc8359f5280 -1 mgr[py] Error loading module 'volumes': (22) Invalid argument
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.834+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.834+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:14 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.834+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'iostat'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.834+0000 7fc8359f5280 -1 mgr[py] Error loading module 'iostat': (22) Invalid argument
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.930+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.930+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:14 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:14 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:14 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.930+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'crash'
Dec 12 03:41:14 node12 ceph-mgr[3265527]: 2023-12-12T03:41:14.930+0000 7fc8359f5280 -1 mgr[py] Error loading module 'crash': (22) Invalid argument
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.026+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.026+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:15 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.026+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'devicehealth'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.026+0000 7fc8359f5280 -1 mgr[py] Error loading module 'devicehealth': (22) Invalid argument
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.122+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.122+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:15 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.122+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'osd_support'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.122+0000 7fc8359f5280 -1 mgr[py] Error loading module 'osd_support': (22) Invalid argument
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.218+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.218+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:15 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.218+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'restful'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.218+0000 7fc8359f5280 -1 mgr[py] Error loading module 'restful': (22) Invalid argument
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.318+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.318+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:15 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.318+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'localpool'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.318+0000 7fc8359f5280 -1 mgr[py] Error loading module 'localpool': (22) Invalid argument
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.418+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.418+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:15 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.418+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'pg_autoscaler'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.418+0000 7fc8359f5280 -1 mgr[py] Error loading module 'pg_autoscaler': (22) Invalid argument
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.518+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.518+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:15 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.518+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'zabbix'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.518+0000 7fc8359f5280 -1 mgr[py] Error loading module 'zabbix': (22) Invalid argument
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.618+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.618+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:15 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.622+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'snap_schedule'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.622+0000 7fc8359f5280 -1 mgr[py] Error loading module 'snap_schedule': (22) Invalid argument
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.718+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.718+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:15 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.718+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'test_orchestrator'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.722+0000 7fc8359f5280 -1 mgr[py] Error loading module 'test_orchestrator': (22) Invalid argument
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.838+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.838+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:15 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.838+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'stats'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.838+0000 7fc8359f5280 -1 mgr[py] Error loading module 'stats': (22) Invalid argument
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.950+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.950+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:15 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:15 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:15 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.950+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'progress'
Dec 12 03:41:15 node12 ceph-mgr[3265527]: 2023-12-12T03:41:15.950+0000 7fc8359f5280 -1 mgr[py] Error loading module 'progress': (22) Invalid argument
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.050+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.050+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:16 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.050+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'telemetry'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.050+0000 7fc8359f5280 -1 mgr[py] Error loading module 'telemetry': (22) Invalid argument
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.150+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.150+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:16 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.154+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'influx'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.154+0000 7fc8359f5280 -1 mgr[py] Error loading module 'influx': (22) Invalid argument
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.254+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.254+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:16 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.254+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'telegraf'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.254+0000 7fc8359f5280 -1 mgr[py] Error loading module 'telegraf': (22) Invalid argument
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.358+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.358+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:16 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.358+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'osd_perf_query'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.358+0000 7fc8359f5280 -1 mgr[py] Error loading module 'osd_perf_query': (22) Invalid argument
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.458+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.458+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:16 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.458+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'selftest'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.458+0000 7fc8359f5280 -1 mgr[py] Error loading module 'selftest': (22) Invalid argument
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.554+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.554+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:16 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.558+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'insights'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.558+0000 7fc8359f5280 -1 mgr[py] Error loading module 'insights': (22) Invalid argument
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.650+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.650+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:16 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.654+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'alerts'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.654+0000 7fc8359f5280 -1 mgr[py] Error loading module 'alerts': (22) Invalid argument
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.746+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.746+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:16 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.746+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'balancer'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.746+0000 7fc8359f5280 -1 mgr[py] Error loading module 'balancer': (22) Invalid argument
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.842+0000 7fc8359f5280 -1 mgr[py] Module not found: 'mgr_module'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.842+0000 7fc8359f5280 -1 mgr[py] Traceback (most recent call last):
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from mgr_util import profile_method
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: import bcrypt
Dec 12 03:41:16 node12 ceph-mgr[3265527]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Dec 12 03:41:16 node12 ceph-mgr[3265527]: from ._bcrypt import (
Dec 12 03:41:16 node12 ceph-mgr[3265527]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.842+0000 7fc8359f5280 -1 mgr[py] Class not found in module 'rbd_support'
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.842+0000 7fc8359f5280 -1 mgr[py] Error loading module 'rbd_support': (22) Invalid argument
Dec 12 03:41:16 node12 ceph-mgr[3265527]: 2023-12-12T03:41:16.842+0000 7fc8359f5280 -1 log_channel(cluster) log [ERR] : Failed to load ceph-mgr modules: mirroring, orchestrator, nfs, prometheus, volumes, iostat, crash, devicehealth, osd_support, restful, localpool, pg_autoscaler, zabbix, snap_schedule, test_orchestrator, stats, progress, telemetry, influx, telegraf, osd_perf_query, selftest, insights, alerts, balancer, rbd_support
This was initially introduced by:
- https://github.com/pyca/bcrypt/commit/5505d32273cb00ccb4841d0a7511f88f6e5c261c, bump pyo3 from 0.15.2 to 0.18.3
- https://github.com/PyO3/pyo3/commit/78ba70d2b4cdae1228561700bab62da793801d18, only allow each
#[pymodule]to be initialized once, when pyo3 >= 0.17.0
My only workaround for now is, revert back to bcrypt == 4.0.1, which still depends on pyo3 = { version = "0.15.2" }
- Ngôn ngữ chính
- Python
- Star
- 1.5k
- Fork
- 216
- Merge trung bình
- 6 giờ 15 phút
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pyca/bcrypt
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Issue tương tự
-
[Bug] @deck.gl/arcgis dist import resolves to unpublished @deck.gl/core source path (9.3.11, 9.4.0)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
workflow: a tick's dispatch counts as 'only this step', and no review self-grants a round unattendedĐang mởworkflow
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
kristofdegrave/homeassistant-smart-charging#1505 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
New Submission: TropWATERĐang mởmetadata submission
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Wrongly named dashboard variableĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
canonical/content-cache-operator#163 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[submission]Đang mởsubmission
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
leanprover/lean-eval-submissions#1852 ·
Maintainer thường phản hồi trong vòng 1 ngày