Actions
Bug #22880
closedfailed to load ceph_module with Python3
% 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
It's glad to see that python3 can be build with ceph-mgr, however
```
2018-02-01 16:39:54.385 7fd309ffb700 -1 mgr[py] Class not found in module 'status'
2018-02-01 16:39:54.385 7fd309ffb700 -1 mgr[py] Error loading module 'status': (22) Invalid argument
2018-02-01 16:39:54.408 7fd309ffb700 -1 mgr[py] Module not found: 'mgr_module'
2018-02-01 16:39:54.408 7fd309ffb700 -1 mgr[py] Traceback (most recent call last):
File "/usr/local/lib/ceph/mgr/mgr_module.py", line 2, in <module>
import ceph_module # noqa
ModuleNotFoundError: No module named 'ceph_module'
```
Tested on Debian unstable, Python 3.6.4, ceph was build with `-DMGR_PYTHON_VERSION=3 -DWITH_PYTHON2=OFF -DWITH_PYTHON3=ON`
Actions