Actions
Bug #41168
closedmimic: mgr/telemetry: ImportError when running ceph mgr show
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
- ceph telemetry show
Error ENOTSUP: Module 'telemetry' is not enabled (required by command 'telemetry show'): use `ceph mgr module enable telemetry` to enable it
- ceph mgr module enable telemetry # This succeeds
- 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
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
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.
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!
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
Updated by Neha Ojha almost 4 years ago
- Status changed from New to Can't reproduce
Actions