> Op 19 feb. 2022 om 13:49 heeft Florent B. <florent@xxxxxxxxxxx> het volgende geschreven: > > 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 Maybe it’s in a venv? > > > 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