Hello, Anybody has any idea / tip / comment ? :'( Regards Le jeu. 18 juin 2026 à 09:31, BASSAGET Cédric <cedric.bassaget.ml@gmail.com> a écrit :
As asked on IRC, here's the mgr log when enabling cephadm module (--force)
Jun 18 09:30:01 ceph-pa2-4 ceph-mgr[508122]: ignoring --setuser ceph since I am not root Jun 18 09:30:01 ceph-pa2-4 ceph-mgr[508122]: ignoring --setgroup ceph since I am not root Jun 18 09:30:01 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:01.684+0200 7fc480678380 -1 client.0 error registering admin socket command: (17) File exists Jun 18 09:30:01 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:01.860+0200 7fc480678380 -1 mgr[py] Module progress has missing NOTIFY_TYPES member Jun 18 09:30:01 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:01.932+0200 7fc480678380 -1 mgr[py] Module telegraf has missing NOTIFY_TYPES member Jun 18 09:30:02 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:02.720+0200 7fc480678380 -1 mgr[py] Module crash has missing NOTIFY_TYPES member Jun 18 09:30:02 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:02.832+0200 7fc480678380 -1 mgr[py] Module rbd_support has missing NOTIFY_TYPES member Jun 18 09:30:03 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:03.104+0200 7fc480678380 -1 mgr[py] Module orchestrator has missing NOTIFY_TYPES member Jun 18 09:30:03 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:03.208+0200 7fc480678380 -1 mgr[py] Module pg_autoscaler has missing NOTIFY_TYPES member Jun 18 09:30:03 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:03.276+0200 7fc480678380 -1 mgr[py] Module iostat has missing NOTIFY_TYPES member Jun 18 09:30:03 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:03.444+0200 7fc480678380 -1 mgr[py] Module osd_perf_query has missing NOTIFY_TYPES member Jun 18 09:30:03 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:03.516+0200 7fc480678380 -1 mgr[py] Module influx has missing NOTIFY_TYPES member Jun 18 09:30:03 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:03.684+0200 7fc480678380 -1 mgr[py] Module zabbix has missing NOTIFY_TYPES member Jun 18 09:30:03 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:03.868+0200 7fc480678380 -1 mgr[py] Module test_orchestrator has missing NOTIFY_TYPES member Jun 18 09:30:04 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:04.060+0200 7fc480678380 -1 mgr[py] Module rgw has missing NOTIFY_TYPES member Jun 18 09:30:04 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:04.144+0200 7fc480678380 -1 mgr[py] Module balancer has missing NOTIFY_TYPES member Jun 18 09:30:04 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:04.220+0200 7fc480678380 -1 mgr[py] Module devicehealth has missing NOTIFY_TYPES member Jun 18 09:30:04 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:04.640+0200 7fc480678380 -1 mgr[py] Module volumes has missing NOTIFY_TYPES member Jun 18 09:30:04 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:04.708+0200 7fc480678380 -1 mgr[py] Module osd_support has missing NOTIFY_TYPES member Jun 18 09:30:04 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:04.780+0200 7fc480678380 -1 mgr[py] Module selftest has missing NOTIFY_TYPES member Jun 18 09:30:05 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:05.324+0200 7fc480678380 -1 mgr[py] Module telemetry has missing NOTIFY_TYPES member Jun 18 09:30:05 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:05.408+0200 7fc480678380 -1 mgr[py] Module alerts has missing NOTIFY_TYPES member Jun 18 09:30:05 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:05.612+0200 7fc480678380 -1 mgr[py] Module nfs has missing NOTIFY_TYPES member Jun 18 09:30:05 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:05.980+0200 7fc480678380 -1 mgr[py] Module prometheus has missing NOTIFY_TYPES member Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:06.080+0200 7fc480678380 -1 mgr[py] Module status has missing NOTIFY_TYPES member Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:06.480+0200 7fc480678380 -1 mgr[py] Module not found: 'cephadm' Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:06.480+0200 7fc480678380 -1 mgr[py] Traceback (most recent call last): Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: File "/usr/share/ceph/mgr/cephadm/__init__.py", line 1, in <module> Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: from .module import CephadmOrchestrator Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: File "/usr/share/ceph/mgr/cephadm/module.py", line 17, in <module> Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: from cephadm.service_discovery import ServiceDiscovery Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: File "/usr/share/ceph/mgr/cephadm/service_discovery.py", line 21, in <module> Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: from cephadm.ssl_cert_utils import SSLCerts Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: File "/usr/share/ceph/mgr/cephadm/ssl_cert_utils.py", line 8, in <module> Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: from cryptography import x509 Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: File "/lib/python3/dist-packages/cryptography/x509/__init__.py", line 6, in <module> Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: from cryptography.x509 import certificate_transparency Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: File "/lib/python3/dist-packages/cryptography/x509/certificate_transparency.py", line 10, in <module> Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: from cryptography.hazmat.bindings._rust import x509 as rust_x509 Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: ImportError: PyO3 modules may only be initialized once per interpreter process Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:06.484+0200 7fc480678380 -1 mgr[py] Class not found in module 'cephadm' Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:06.484+0200 7fc480678380 -1 mgr[py] Error loading module 'cephadm': (2) No such file or directory Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: 2026-06-18T09:30:06.484+0200 7fc480678380 -1 log_channel(cluster) log [ERR] : Failed to load ceph-mgr modules: cephadm Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: [18/Jun/2026:09:30:06] ENGINE Bus STARTING Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: CherryPy Checker: Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: The Application mounted at '' has an empty config. Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: [18/Jun/2026:09:30:06] ENGINE Serving on http://0.0.0.0:9283 Jun 18 09:30:06 ceph-pa2-4 ceph-mgr[508122]: [18/Jun/2026:09:30:06] ENGINE Bus STARTED
Regards Cédric
Le mer. 17 juin 2026 à 17:11, BASSAGET Cédric < cedric.bassaget.ml@gmail.com> a écrit :
Hello I first saw this problem about 2 years ago on ceph cluster (upgraded from 14 ... to 18)
https://tracker.ceph.com/issues/64213
I'm unable to load cephadm module because of "ImportError: PyO3 modules may only be initialized once per interpreter process" error
I tried to remove restful and nfs modules but they are still in the mgr config : # ceph daemon mgr.ceph-pa2-2 config show | grep -i modules "mgr_disabled_modules": "", "mgr_initial_modules": "restful iostat nfs", "mgr_standby_modules": "false",
and I can't modify this key. I think it's in the ceph global config set by a previous ceph version (nothing in ceph.conf)
# ceph-conf -D | grep module mgr_disabled_modules = mgr_initial_modules = restful iostat nfs mgr_module_path = /usr/share/ceph/mgr mgr_standby_modules = true
I managed to fix the problem on another ceph 18 cluster many days of struggle but can't fix it on this cluster.
here are the loaded modules : # ceph mgr module ls | grep on balancer on (always on) crash on (always on) devicehealth on (always on) orchestrator on (always on) pg_autoscaler on (always on) progress on (always on) rbd_support on (always on) status on (always on) telemetry on (always on) volumes on (always on) cephadm on prometheus on
I'm running ceph 18.2.8 on debian 12. the aim of making cephadm work is to switch from legacy to orch / cephadm and upgrade to 20. should I consider upgrading my legacy cluster to tentacle and after that switching to cephadm ?
Thanks for your help...
Regards Cédric