Backport #42116
closed
mimic: mgr/telemetry: 'ceph telemetry show' fails
Added by Wido den Hollander over 4 years ago.
Updated over 4 years ago.
Description
https://github.com/ceph/ceph/pull/30846
From the mailinglist:
ceph telemetry show
ceph telemetry show
Error EINVAL: Traceback (most recent call last):
File "/usr/lib/ceph/mgr/telemetry/module.py", line 325, in handle_command
report = self.compile_report()
File "/usr/lib/ceph/mgr/telemetry/module.py", line 291, in compile_report
report['crashes'] = self.gather_crashinfo()
File "/usr/lib/ceph/mgr/telemetry/module.py", line 214, in gather_crashinfo
errno, crashids, err = self.remote('crash', 'do_ls', '', '')
File "/usr/lib/ceph/mgr/mgr_module.py", line 845, in remote
args, kwargs)
ImportError: Module not found
Running 13.2.6 on Ubuntu Xenial 16.04.6 LTS
This seems to happen when the crash module isn't enabled:
root@mon01:~# ceph mgr module disable crash
root@mon01:~# ceph telemetry show|jq
Error EINVAL: Traceback (most recent call last):
File "/usr/lib/ceph/mgr/telemetry/module.py", line 325, in handle_command
report = self.compile_report()
File "/usr/lib/ceph/mgr/telemetry/module.py", line 291, in compile_report
report['crashes'] = self.gather_crashinfo()
File "/usr/lib/ceph/mgr/telemetry/module.py", line 214, in gather_crashinfo
errno, crashids, err = self.remote('crash', 'do_ls', '', '')
File "/usr/lib/ceph/mgr/mgr_module.py", line 845, in remote
args, kwargs)
ImportError: Module not found
root@mon01:~#
With the crash module enabled this error disappears.
Wido den Hollander wrote:
This seems to be fixed in Master, but not in Nautilus nor Mimic.
PR for Nautilus: https://github.com/ceph/ceph/pull/30683
Ideally, we would point to the commit or PR that fixed this issue in master, so it could be referred to in the PRs that target stable branches.... (even if it's not backportable, it's valuable to mention which commit fixed the issue in master)
- Tracker changed from Bug to Backport
- Subject changed from telemetry: 'ceph telemetry show' fails to mimic: mgr/telemetry: 'ceph telemetry show' fails
- Description updated (diff)
- Status changed from New to In Progress
- Release set to mimic
- Status changed from In Progress to Resolved
- Target version set to v13.2.7
Also available in: Atom
PDF