Project

General

Profile

Actions

Bug #36633

closed

mgr/dashboard: No module named jwt

Added by Volker Theile over 5 years ago. Updated about 3 years ago.

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
>>> 

Related issues 1 (0 open1 closed)

Related to sepia - Bug #36653: 'sudo yum -y install ceph-mgr' failedResolvedDavid Galloway10/31/2018

Actions
Actions

Also available in: Atom PDF