Dear Maintainer,
After an upgrade from bookworm to trixie, ceph-mgr fails to load seemingly all modules:
[WRN] MGR_MODULE_DEPENDENCY: 14 mgr modules have failed dependencies
Module 'balancer' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'crash' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'devicehealth' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'iostat' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'nfs' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'orchestrator' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'pg_autoscaler' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'progress' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'prometheus' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'rbd_support' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'restful' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'status' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'telemetry' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Module 'volumes' has failed dependency: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
The mgr log has a bit more information:
Apr 12 15:31:11 gog ceph-mgr[562571]: 2025-04-12T15:31:11.122+0200 7f7c97a39fc0 -1 mgr[py] Module not found: 'mgr_module'
Apr 12 15:31:11 gog ceph-mgr[562571]: 2025-04-12T15:31:11.122+0200 7f7c97a39fc0 -1 mgr[py] Traceback (most recent call last):
Apr 12 15:31:11 gog ceph-mgr[562571]: File "/usr/share/ceph/mgr/mgr_module.py", line 28, in <module>
Apr 12 15:31:11 gog ceph-mgr[562571]: from mgr_util import profile_method
Apr 12 15:31:11 gog ceph-mgr[562571]: File "/usr/share/ceph/mgr/mgr_util.py", line 6, in <module>
Apr 12 15:31:11 gog ceph-mgr[562571]: import bcrypt
Apr 12 15:31:11 gog ceph-mgr[562571]: File "/lib/python3/dist-packages/bcrypt/__init__.py", line 13, in <module>
Apr 12 15:31:11 gog ceph-mgr[562571]: from ._bcrypt import (
Apr 12 15:31:11 gog ceph-mgr[562571]: ...<11 lines>...
Apr 12 15:31:11 gog ceph-mgr[562571]: )
Apr 12 15:31:11 gog ceph-mgr[562571]: ImportError: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576
Apr 12 15:31:11 gog ceph-mgr[562571]: 2025-04-12T15:31:11.122+0200 7f7c97a39fc0 -1 mgr[py] Class not found in module 'pg_autoscaler'
Apr 12 15:31:11 gog ceph-mgr[562571]: 2025-04-12T15:31:11.122+0200 7f7c97a39fc0 -1 mgr[py] Error loading module 'pg_autoscaler': (22) Invalid argument