Project

General

Profile

Actions

Bug #38521

closed

diskprediction_cloud traceback at stat-up

Added by Brad Hubbard about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ceph-mgr
Target version:
-
% Done:

100%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ceph version 14.1.0-224-g499bef6591 (499bef6591bbb0405fe470e90494215c379e38ea) nautilus (dev)

2019-03-01 12:28:29.053 7fc810a2be80  1 mgr[py] Loading python module 'diskprediction_cloud'
2019-03-01 12:28:29.066 7fc810a2be80 10 mgr[py] Computed sys.path '/home/brad/working/src/ceph/src/pybind:/home/brad/working/src/ceph/build/lib/cython_modules/lib.3:./pybind:/home/brad/working/src/ceph/src/pybind:/home/brad/working/src/   ⤷ ceph/build/lib/cython_modules/lib.3:./pybind:/home/brad/working/src/ceph/src/pybind:/home/brad/working/src/ceph/build/lib/cython_modules/lib.3::/usr/lib64/python37.zip:/usr/lib64/python3.7:/usr/lib64/python3.7/lib-dynload:/home/brad/  ⤷ working/src/ceph/src/pybind/mgr:/usr/local/lib64/python3.7/site-packages:/usr/local/lib/python3.7/site-packages:/usr/lib64/python3.7/site-packages:/usr/lib/python3.7/site-packages'
2019-03-01 12:28:29.101 7fc810a2be80 -1 mgr[py] Module not found: 'diskprediction_cloud'
2019-03-01 12:28:29.101 7fc810a2be80 -1 mgr[py] Traceback (most recent call last):                                                                                                                                                           
  File "/home/brad/working/src/ceph/src/pybind/mgr/diskprediction_cloud/__init__.py", line 1, in <module>
    from .module import Module
  File "/home/brad/working/src/ceph/src/pybind/mgr/diskprediction_cloud/module.py", line 12, in <module>
    from string import maketrans
ImportError: cannot import name 'maketrans' from 'string' (/usr/lib64/python3.7/string.py)
Actions #1

Updated by Sebastian Wagner about 5 years ago

This is a Python 3 issue. Does't happen in a Python 2 environment.

Actions #2

Updated by Rick Chen about 5 years ago

  • Due date set to 03/05/2019
  • Assignee set to Rick Chen
  • % Done changed from 0 to 100
Actions #3

Updated by Sebastian Wagner about 5 years ago

  • Pull request ID set to 26763
Actions #4

Updated by Rick Chen about 5 years ago

  • Assignee changed from Rick Chen to Brad Hubbard
Actions #5

Updated by Sage Weil about 5 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF