Project

General

Profile

Actions

Bug #41168

closed

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

Added by Valentin Bajrami over 4 years ago. Updated almost 4 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
Category:
telemetry module
Target version:
% Done:

0%

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

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 1 (0 open1 closed)

Is duplicate of mgr - Bug #40782: "test_telemetry (tasks.mgr.test_module_selftest.TestModuleSelftest) ... ERROR" in rados/mimicCan't reproduceNeha Ojha

Actions
Actions #1

Updated by Sebastian Wagner over 4 years ago

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

Updated by Blake Klynsma over 4 years 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.

Actions #3

Updated by Valentin Bajrami over 4 years 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!

Actions #4

Updated by Sebastian Wagner over 4 years ago

  • Is duplicate of Bug #40782: "test_telemetry (tasks.mgr.test_module_selftest.TestModuleSelftest) ... ERROR" in rados/mimic added
Actions #5

Updated by Sebastian Wagner over 4 years ago

  • Category deleted (ceph-mgr)
Actions #6

Updated by Sebastian Wagner over 4 years ago

  • Category set to telemetry module
Actions #7

Updated by Kefu Chai over 4 years ago

  • Assignee set to Kefu Chai
Actions #8

Updated by Neha Ojha almost 4 years ago

  • Status changed from New to Can't reproduce
Actions

Also available in: Atom PDF