Hi Florent, Can you please check if the location where the Python Requests package is installed is the same for Buster and Bullseye? - https://debian.pkgs.org/10/debian-main-amd64/python3-requests_2.21.0-1_all.deb.html - https://debian.pkgs.org/11/debian-main-amd64/python3-requests_2.25.1+dfsg-2_all.deb.html Kind Regards, Ernesto On Sat, Feb 19, 2022 at 1:49 PM Florent B. <florent@xxxxxxxxxxx> wrote: > Hi, > > On a fresh Debian Bullseye installation running Ceph Octopus (15.2.15), > new mgr daemons can't start telemetry & dashboard modules because of > missing "requests" Python module. > > 2022-02-19T12:31:50.884+0000 7f30fdaaa040 -1 mgr[py] Traceback (most > recent call last): > File "/usr/share/ceph/mgr/dashboard/__init__.py", line 49, in > <module> > from .module import Module, StandbyModule # noqa: F401 > File "/usr/share/ceph/mgr/dashboard/module.py", line 38, in <module> > from .grafana import push_local_dashboards > File "/usr/share/ceph/mgr/dashboard/grafana.py", line 8, in <module> > import requests > ModuleNotFoundError: No module named 'requests' > > 2022-02-19T12:31:50.884+0000 7f30fdaaa040 -1 mgr[py] Class not found > in module 'dashboard' > 2022-02-19T12:31:50.884+0000 7f30fdaaa040 -1 mgr[py] Error loading > module 'dashboard': (2) No such file or directory > 2022-02-19T12:31:54.524+0000 7f30fdaaa040 -1 mgr[py] Module not > found: 'telemetry' > 2022-02-19T12:31:54.524+0000 7f30fdaaa040 -1 mgr[py] Traceback (most > recent call last): > File "/usr/share/ceph/mgr/telemetry/__init__.py", line 1, in > <module> > from .module import Module > File "/usr/share/ceph/mgr/telemetry/module.py", line 12, in <module> > import requests > ModuleNotFoundError: No module named 'requests' > > > But requests module is installed : > > # echo "import requests; r = requests.get('https://ceph.com/en'); > print(r.status_code)" | python > 200 > > # echo "import requests; r = requests.get('https://ceph.com/en'); > print(r.status_code)" | python3 > 200 > > # echo "import requests; r = requests.get('https://ceph.com/en'); > print(r.status_code)" | python3.9 > 200 > > > What is my problem ? I don't have problem on old Buster servers running > 15.2.14... > > Thanks > > Florent > _______________________________________________ > ceph-users mailing list -- ceph-users@xxxxxxx > To unsubscribe send an email to ceph-users-leave@xxxxxxx > _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx