Bug #19919
closedmgr: ImportError: No module named cherrypy
0%
Description
I have seen this error occur at various places ImportError: No module named cherrypy
probably looks like it can be ignored since the test still works for that reason we should handle this better and not throw error.
2017-05-12T06:14:38.755 INFO:teuthology.orchestra.run.vpm165:Running: 'sudo ceph --cluster ceph osd crush tunables default'
2017-05-12T06:14:38.942 INFO:tasks.ceph.mon.b.vpm127.stdout:starting mon.b rank 0 at 172.21.2.127:6789/0 mon_data /var/lib/ceph/mon/ceph-b fsid c39badaa-a3cb-42c2-86a5-73c4781ce130
2017-05-12T06:14:38.943 INFO:tasks.ceph.mon.a.vpm165.stdout:starting mon.a rank 1 at 172.21.2.165:6789/0 mon_data /var/lib/ceph/mon/ceph-a fsid c39badaa-a3cb-42c2-86a5-73c4781ce130
2017-05-12T06:14:38.948 INFO:tasks.ceph.mon.c.vpm127.stdout:starting mon.c rank 2 at 172.21.2.127:6790/0 mon_data /var/lib/ceph/mon/ceph-c fsid c39badaa-a3cb-42c2-86a5-73c4781ce130
2017-05-12T06:14:44.510 INFO:tasks.ceph.mgr.x.vpm165.stderr:2017-05-12 06:14:44.509288 7f9bc2de1700 -1 mgr load Module not found: 'rest'
2017-05-12T06:14:44.511 INFO:tasks.ceph.mgr.x.vpm165.stderr:2017-05-12 06:14:44.509519 7f9bc2de1700 -1 mgr init Error loading module 'rest': (2) No such file or directory
2017-05-12T06:14:44.511 INFO:tasks.ceph.mgr.x.vpm165.stderr:2017-05-12 06:14:44.509636 7f9bc2de1700 -1 mgr init Traceback (most recent call last):
2017-05-12T06:14:44.511 INFO:tasks.ceph.mgr.x.vpm165.stderr: File "/usr/lib/ceph/mgr/rest/__init__.py", line 2, in <module>
2017-05-12T06:14:44.511 INFO:tasks.ceph.mgr.x.vpm165.stderr: from module import * # NOQA
2017-05-12T06:14:44.511 INFO:tasks.ceph.mgr.x.vpm165.stderr: File "/usr/lib/ceph/mgr/rest/module.py", line 23, in <module>
2017-05-12T06:14:44.511 INFO:tasks.ceph.mgr.x.vpm165.stderr: import cherrypy
2017-05-12T06:14:44.511 INFO:tasks.ceph.mgr.x.vpm165.stderr:ImportError: No module named cherrypy
Updated by Yuri Weinstein almost 7 years ago
Also see in run http://pulpito.ceph.com/teuthology-2017-05-13_03:25:02-upgrade:kraken-x-master-distro-basic-smithi/
JOb http://qa-proxy.ceph.com/teuthology/teuthology-2017-05-13_03:25:02-upgrade:kraken-x-master-distro-basic-smithi/1173836/teuthology.log
2017-05-15T13:03:48.185 INFO:tasks.ceph.mgr.x.smithi092.stderr:2017-05-15 13:03:48.194848 7f8ed814a700 -1 mgr ms_dispatch fsmap(e 1) v1 2017-05-15T13:03:48.185 INFO:tasks.ceph.mgr.x.smithi092.stderr:2017-05-15 13:03:48.195006 7f8ed814a700 -1 mgr ms_dispatch mgrdigest v1 2017-05-15T13:03:48.247 INFO:tasks.ceph.mgr.x.smithi092.stderr:2017-05-15 13:03:48.256845 7f8ed5144700 -1 mgr load Module not found: 'rest' 2017-05-15T13:03:48.247 INFO:tasks.ceph.mgr.x.smithi092.stderr:2017-05-15 13:03:48.256864 7f8ed5144700 -1 mgr init Error loading module 'rest': (2) No such file or directory 2017-05-15T13:03:48.248 INFO:tasks.ceph.mgr.x.smithi092.stderr:2017-05-15 13:03:48.256874 7f8ed5144700 -1 mgr init Traceback (most recent call last): 2017-05-15T13:03:48.248 INFO:tasks.ceph.mgr.x.smithi092.stderr: 2017-05-15T13:03:48.248 INFO:tasks.ceph.mgr.x.smithi092.stderr: File "/usr/lib/ceph/mgr/rest/__init__.py", line 2, in <module> 2017-05-15T13:03:48.248 INFO:tasks.ceph.mgr.x.smithi092.stderr: from module import * # NOQA 2017-05-15T13:03:48.248 INFO:tasks.ceph.mgr.x.smithi092.stderr: 2017-05-15T13:03:48.248 INFO:tasks.ceph.mgr.x.smithi092.stderr: File "/usr/lib/ceph/mgr/rest/module.py", line 23, in <module> 2017-05-15T13:03:48.248 INFO:tasks.ceph.mgr.x.smithi092.stderr: import cherrypy 2017-05-15T13:03:48.248 INFO:tasks.ceph.mgr.x.smithi092.stderr: 2017-05-15T13:03:48.248 INFO:tasks.ceph.mgr.x.smithi092.stderr:ImportError: No module named cherrypy
Updated by John Spray almost 7 years ago
This is going to go away either when the rest module gets ripped out (due to new rest module), or when we start pulling in cherrypy as a dependency for the dashboard module.
Updated by Brad Hubbard almost 7 years ago
- Status changed from New to Duplicate
Updated by Greg Farnum almost 7 years ago
- Project changed from Ceph to mgr
- Category deleted (
110)