Project

General

Profile

Actions

Bug #19919

closed

mgr: ImportError: No module named cherrypy

Added by Vasu Kulkarni almost 7 years ago. Updated almost 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Actions

Also available in: Atom PDF