Trying to enable the Ceph dashboard, following the instructions on https://docs.ceph.com/en/latest/mgr/dashboard/:
sudo ceph config set mgr mgr/dashboard/server_port 9080
sudo ceph config set mgr mgr/dashboard/ssl_server_port 9443
sudo ceph mgr module enable dashboard
openssl req -new -nodes -x509 -subj "/O=IT/CN=ceph-mgr-dashboard" -days 3650 -keyout dashboard.key -out dashboard.crt -extensions v3_ca
sudo ceph dashboard set-ssl-certificate-key -i dashboard.key
sudo ceph dashboard set-ssl-certificate -i dashboard.crt
sudo ceph mgr module disable dashboard
sudo ceph mgr module enable dashboard
sudo ceph dashboard ac-user-create [...] administrator -i [...]
However, ceph -s reports that the dashboard module has failed:
Module 'dashboard' has failed: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
Is there a supported way to enable the dashboard?