Actions
Bug #23992
closedDashboard and restful manager modules fail to start on openSUSE Tumbleweed with "ImportError: No module named OpenSSL"
Status:
Closed
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
When trying to start Ceph in my Tumbleweed-based dev environment using vstart.sh
, the dashboard and restful manager modules fail to start due to a missing Python module, which install-deps.sh
does not seem to install:
2018-05-03 10:29:49.203 7fd6ba98b3c0 1 mgr[py] Loading python module 'dashboard ' 2018-05-03 10:29:49.233 7fd6ba98b3c0 -1 mgr[py] Module not found: 'dashboard' 2018-05-03 10:29:49.233 7fd6ba98b3c0 -1 mgr[py] Traceback (most recent call last): File "/ceph/src/pybind/mgr/dashboard/__init__.py", line 38, in <module> from .module import Module, StandbyModule File "/ceph/src/pybind/mgr/dashboard/module.py", line 15, in <module> from OpenSSL import crypto ImportError: No module named OpenSSL 2018-05-03 10:29:49.233 7fd6ba98b3c0 -1 mgr[py] Class not found in module 'dashboard' 2018-05-03 10:29:49.233 7fd6ba98b3c0 -1 mgr[py] Error loading module 'dashboard': (2) No such file or directory [...] 2018-05-03 10:29:49.595 7fd6ba98b3c0 1 mgr[py] Loading python module 'restful' 2018-05-03 10:29:49.783 7fd6ba98b3c0 -1 mgr[py] Module not found: 'restful' 2018-05-03 10:29:49.783 7fd6ba98b3c0 -1 mgr[py] Traceback (most recent call last): File "/ceph/src/pybind/mgr/restful/__init__.py", line 1, in <module> from .module import Module File "/ceph/src/pybind/mgr/restful/module.py", line 21, in <module> from OpenSSL import crypto ImportError: No module named OpenSSL 2018-05-03 10:29:49.783 7fd6ba98b3c0 -1 mgr[py] Class not found in module 'restful' 2018-05-03 10:29:49.783 7fd6ba98b3c0 -1 mgr[py] Error loading module 'restful': (2) No such file or directory
Installing
python2-pyOpenSSL
manually resolves the error.
Actions