Project

General

Profile

Actions

Bug #38122

closed

Error ceph fs status

Added by Jos Collin about 5 years ago. Updated about 5 years ago.

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

0%

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

Description

$ ./bin/ceph fs status myfs

and

$ ./bin/ceph fs status

shows:

*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2019-01-31 16:33:41.782 7f5130c62700 -1 WARNING: all dangerous and experimental features are enabled.
2019-01-31 16:33:41.818 7f5130c62700 -1 WARNING: all dangerous and experimental features are enabled.
Error EINVAL: Traceback (most recent call last):
  File "/home/jcollin/workspace/ceph/src/pybind/mgr/mgr_module.py", line 829, in _handle_command
    r = getter(key, default)
  File "/home/jcollin/workspace/ceph/src/pybind/mgr/status/module.py", line 251, in handle_command
    return self.handle_fs_status(cmd)
  File "/home/jcollin/workspace/ceph/src/pybind/mgr/status/module.py", line 95, in handle_fs_status
    c_state = self.colorize(state, self.GREEN)
AttributeError: 'Module' object has no attribute 'colorize'


Related issues 1 (0 open1 closed)

Has duplicate mgr - Bug #38618: mgr/status: AttributeError: 'Module' object has no attribute 'colorize'Duplicate

Actions
Actions #1

Updated by Patrick Donnelly about 5 years ago

  • Project changed from CephFS to mgr
  • Category deleted (Administration/Usability)
  • Target version set to v14.0.0
  • Start date deleted (01/31/2019)

Looks like you're missing some python colorize package required by the ceph-mgr.

Actions #2

Updated by Jos Collin about 5 years ago

  • Status changed from New to Closed

@Patrick: Thanks. This is not a bug.

Actions #3

Updated by Jos Collin about 5 years ago

  • Status changed from Closed to New

The problem is: install-deps.sh is not installing 'colorize' package in Fedora. Not sure which is the corresponding package in debian.

Actions #4

Updated by Sebastian Wagner about 5 years ago

  • Pull request ID set to 26779
Actions #5

Updated by Brad Hubbard about 5 years ago

  • Status changed from New to Fix Under Review
Actions #6

Updated by Patrick Donnelly about 5 years ago

  • Has duplicate Bug #38618: mgr/status: AttributeError: 'Module' object has no attribute 'colorize' added
Actions #7

Updated by Sage Weil about 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions #8

Updated by Patrick Donnelly about 5 years ago

  • Has duplicate Bug #38996: cephfs-shell: ls command produces error: no "colorize" attribute found error added
Actions #9

Updated by Patrick Donnelly about 5 years ago

  • Has duplicate deleted (Bug #38996: cephfs-shell: ls command produces error: no "colorize" attribute found error)
Actions

Also available in: Atom PDF