Project

General

Profile

Bug #41168

mimic: mgr/telemetry: ImportError when running ceph mgr show

Added by Valentin Bajrami 12 days ago. Updated 7 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
ceph-mgr
Target version:
Start date:
08/08/2019
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

The following error occurs when running

  1. ceph telemetry show
    Error ENOTSUP: Module 'telemetry' is not enabled (required by command 'telemetry show'): use `ceph mgr module enable telemetry` to enable it
  1. ceph mgr module enable telemetry # This succeeds
  2. ceph telemetry show
    Error EINVAL: Traceback (most recent call last):
    File "/usr/lib64/ceph/mgr/telemetry/module.py", line 325, in handle_command
    report = self.compile_report()
    File "/usr/lib64/ceph/mgr/telemetry/module.py", line 291, in compile_report
    report['crashes'] = self.gather_crashinfo()
    File "/usr/lib64/ceph/mgr/telemetry/module.py", line 214, in gather_crashinfo
    errno, crashids, err = self.remote('crash', 'do_ls', '', '')
    File "/usr/lib64/ceph/mgr/mgr_module.py", line 845, in remote
    args, kwargs)
    ImportError: Module not found

Related issues

Duplicates mgr - Bug #40782: "test_telemetry (tasks.mgr.test_module_selftest.TestModuleSelftest) ... ERROR" in rados/mimic Verified 07/15/2019

History

#1 Updated by Sebastian Wagner 12 days ago

  • Subject changed from ImportError when running ceph mgr show to mimic: mgr/telemetry: ImportError when running ceph mgr show

#2 Updated by Blake Klynsma 8 days ago

If you enable the crash module things should work for you.

ceph mgr module enable crash

But yes this error needs to get resolved. This is the same as issue #40782 as well.

#3 Updated by Valentin Bajrami 7 days ago

Blake Klynsma wrote:

If you enable the crash module things should work for you.

[...]

But yes this error needs to get resolved. This is the same as issue #40782 as well.

Confirmed! Enabling crash module makes ''ceph telemetry show'' command work. Though I agree there should be an check if crash module is enabled. Thanks!

#4 Updated by Sebastian Wagner about 24 hours ago

  • Duplicates Bug #40782: "test_telemetry (tasks.mgr.test_module_selftest.TestModuleSelftest) ... ERROR" in rados/mimic added

Also available in: Atom PDF