Actions
Bug #36633
closedmgr/dashboard: No module named jwt
Status:
Closed
Priority:
Normal
Assignee:
Category:
General - Back-end
Target version:
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
It is not possible to start the Ceph Mgr dashboard module in latest master (including https://github.com/ceph/ceph/pull/22833).
Python JWT packages are installed and it is possible to import it in the Python console.
arrakis /ceph/build # ceph mgr module enable dashboard *** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH *** 2018-10-30 15:24:56.929 7f7fbd7b7700 -1 WARNING: all dangerous and experimental features are enabled. 2018-10-30 15:24:56.961 7f7fbd7b7700 -1 WARNING: all dangerous and experimental features are enabled. Error ENOENT: module 'dashboard' reports that it cannot run on the active manager daemon: No module named 'jwt' (pass --force to force enablement)
arrakis /ceph/build # python -V Python 2.7.15 arrakis /ceph/build # zypper search PyJWT Loading repository data... Reading installed packages... S | Name | Summary | Type ---+---------------+-----------------------------------------+-------- i+ | python2-PyJWT | JSON Web Token implementation in Python | package | python3-PyJWT | JSON Web Token implementation in Python | package arrakis /ceph/build # python Python 2.7.15 (default, May 21 2018, 17:53:03) [GCC] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import jwt >>>
Actions