[Bug 2103624] Re: Unhandled exception from module 'dashboard': PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Launchpad Bug Tracker
2103624 at bugs.launchpad.net
Sun Mar 23 15:31:45 UTC 2025
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: ceph (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/2103624
Title:
Unhandled exception from module 'dashboard': PyO3 modules compiled for
CPython 3.8 or older may only be initialized once per interpreter
process
Status in ceph package in Ubuntu:
Confirmed
Bug description:
The ceph mgr dashboard modules do not run on noble anymore at all:
ceph-mgr[21215]: 2025-03-19T14:11:13.632+0000 785315e006c0 -1 log_channel(cluster) log [ERR] : Unhandled exception from module 'dashboard' while running on mgr.core1a: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
ceph-mgr[21215]: 2025-03-19T14:11:13.632+0000 785315e006c0 -1 dashboard.serve:
ceph-mgr[21215]: 2025-03-19T14:11:13.632+0000 785315e006c0 -1 Traceback (most recent call last):
ceph-mgr[21215]: File "/usr/share/ceph/mgr/dashboard/module.py", line 578, in serve
ceph-mgr[21215]: uri = self.await_configuration()
ceph-mgr[21215]: ^^^^^^^^^^^^^^^^^^^^^^^^^^
ceph-mgr[21215]: File "/usr/share/ceph/mgr/dashboard/module.py", line 215, in await_configuration
ceph-mgr[21215]: uri = self._configure()
ceph-mgr[21215]: ^^^^^^^^^^^^^^^^^
ceph-mgr[21215]: File "/usr/share/ceph/mgr/dashboard/module.py", line 176, in _configure
ceph-mgr[21215]: verify_tls_files(cert_fname, pkey_fname)
ceph-mgr[21215]: File "/usr/share/ceph/mgr/mgr_util.py", line 672, in verify_tls_files
ceph-mgr[21215]: verify_cacrt(cert_fname)
ceph-mgr[21215]: File "/usr/share/ceph/mgr/mgr_util.py", line 598, in verify_cacrt
ceph-mgr[21215]: verify_cacrt_content(f.read())
ceph-mgr[21215]: File "/usr/share/ceph/mgr/mgr_util.py", line 570, in verify_cacrt_content
ceph-mgr[21215]: from OpenSSL import crypto
ceph-mgr[21215]: File "/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in <module>
ceph-mgr[21215]: from OpenSSL import SSL, crypto
ceph-mgr[21215]: File "/lib/python3/dist-packages/OpenSSL/SSL.py", line 9, in <module>
ceph-mgr[21215]: from OpenSSL._util import (
ceph-mgr[21215]: File "/lib/python3/dist-packages/OpenSSL/_util.py", line 6, in <module>
ceph-mgr[21215]: from cryptography.hazmat.bindings.openssl.binding import Binding
ceph-mgr[21215]: File "/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 15, in <module>
ceph-mgr[21215]: from cryptography.exceptions import InternalError
ceph-mgr[21215]: File "/lib/python3/dist-packages/cryptography/exceptions.py", line 9, in <module>
ceph-mgr[21215]: from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
ceph-mgr[21215]: ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ceph-mgr-dashboard 19.2.0-0ubuntu0.24.04.2
ProcVersionSignature: Ubuntu 6.8.0-55.57-generic 6.8.12
Uname: Linux 6.8.0-55-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed Mar 19 14:18:31 2025
PackageArchitecture: all
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: ceph
UpgradeStatus: Upgraded to noble on 2025-03-19 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2103624/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list