Кусок лога /var/log/ceph/ceph-mgr.pve01.log 2021-04-02 11:59:18.804 7f6d20754000 -1 mgr[py] Module not found: 'dashboard' 2021-04-02 11:59:18.804 7f6d20754000 -1 mgr[py] Traceback (most recent call last): File "/usr/share/ceph/mgr/dashboard/__init__.py", line 38, in <module> from .module import Module, StandbyModule File "/usr/share/ceph/mgr/dashboard/module.py", line 21, in <module> import cherrypy File "/usr/lib/python3/site-packages/cherrypy/__init__.py", line 215, in <module> class _ThreadLocalProxy(object): File "/usr/lib/python3/site-packages/cherrypy/__init__.py", line 268, in _ThreadLocalProxy __bool__ = __nonzero__ NameError: name '__nonzero__' is not defined 2021-04-02 11:59:18.805 7f6d20754000 -1 mgr[py] Class not found in module 'dashboard' 2021-04-02 11:59:18.805 7f6d20754000 -1 mgr[py] Error loading module 'dashboard': (2) No such file or directory 2021-04-02 11:59:21.073 7f6d20754000 -1 mgr[py] Module not found: 'prometheus' 2021-04-02 11:59:21.073 7f6d20754000 -1 mgr[py] Traceback (most recent call last): File "/usr/share/ceph/mgr/prometheus/__init__.py", line 1, in <module> from .module import Module, StandbyModule File "/usr/share/ceph/mgr/prometheus/module.py", line 1, in <module> import cherrypy File "/usr/lib/python3/site-packages/cherrypy/__init__.py", line 215, in <module> class _ThreadLocalProxy(object): File "/usr/lib/python3/site-packages/cherrypy/__init__.py", line 268, in _ThreadLocalProxy __bool__ = __nonzero__ NameError: name '__nonzero__' is not defined 2021-04-02 11:59:21.073 7f6d20754000 -1 mgr[py] Class not found in module 'prometheus' 2021-04-02 11:59:21.073 7f6d20754000 -1 mgr[py] Error loading module 'prometheus': (2) No such file or directory 2021-04-02 11:59:22.732 7f6d20754000 -1 log_channel(cluster) log [ERR] : Failed to load ceph-mgr modules: dashboard, prometheus # python3 Python 3.7.4 (default, Apr 17 2020, 12:15:50) [GCC 8.4.1 20200305 (ALT p9 8.4.1-alt0.p9.1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cherrypy Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/site-packages/cherrypy/__init__.py", line 215, in <module> class _ThreadLocalProxy(object): File "/usr/lib/python3/site-packages/cherrypy/__init__.py", line 268, in _ThreadLocalProxy __bool__ = __nonzero__ NameError: name '__nonzero__' is not defined >>> print(cherrypy.__version__) Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'cherrypy' is not defined На Сизифе ошибка не воспроизводится.
Понял задачу как просьбу портировать python3-module-cherrypy из Сизифа в p9. Запустил задание 268858.