Actions
Bug #19913
closedload plugin `rest` failed
Status:
Resolved
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
2017-05-12 16:24:11.279672 7f91a7b30700 10 mgr init Computed sys.path '/home/liuchang/WorkSpace/ceph/src/pybind:/home/liuchang/WorkSpace/ceph/build/lib/cython_modules/lib.2::/usr/lib/python2.7/:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/home/liuchang/WorkSpace/ceph/src/pybind/mgr' 2017-05-12 16:24:11.279735 7f91a7b30700 1 mgr init Loading python module 'rest' 2017-05-12 16:24:11.303294 7f91a7b30700 -1 mgr load Module not found: 'rest' 2017-05-12 16:24:11.303353 7f91a7b30700 -1 mgr init Error loading module 'rest': (2) No such file or directory 2017-05-12 16:24:11.303399 7f91a7b30700 -1 mgr init Traceback (most recent call last): File "/home/liuchang/WorkSpace/ceph/src/pybind/mgr/rest/__init__.py", line 2, in <module> from module import * # NOQA File "/home/liuchang/WorkSpace/ceph/src/pybind/mgr/rest/module.py", line 23, in <module> import cherrypy ImportError: No module named cherrypy
Updated by huanwen ren almost 7 years ago
Needing install cherrypy
as fllow:
[root@node173 ceph]# rpm -qa | grep cherrypy python-cherrypy-3.2.2-4.el7.noarch [root@node173 ceph]#
Updated by huanwen ren almost 7 years ago
you need to install cherrypy
as fllow:
[root@node173 ceph]# rpm -qa | grep cherrypy python-cherrypy-3.2.2-4.el7.noarch [root@node173 ceph]#
Updated by Chang Liu almost 7 years ago
thanks, huanwen. I know how to fix the dependency, the problem is whether we should give a feedback to user, or we should package those dependecies to RPM, or we should document it.
Updated by huanwen ren almost 7 years ago
Maybe Cherrypy and Django is not the final solution, so there is no in the document
Updated by Chang Liu almost 7 years ago
well, there is a working PR based on Flask. Maybe we should cluster_log an error message. User could know why REST api doesn't work.
Actions