Backport #42116
closedmimic: mgr/telemetry: 'ceph telemetry show' fails
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
Updated by Wido den Hollander over 4 years ago
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.
Updated by Wido den Hollander over 4 years ago
This seems to be fixed in Master, but not in Nautilus nor Mimic.
PR for Nautilus: https://github.com/ceph/ceph/pull/30683
Updated by Nathan Cutler over 4 years ago
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)
Updated by Nathan Cutler over 4 years ago
- 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
Updated by Yuri Weinstein over 4 years ago
Updated by Nathan Cutler over 4 years ago
- Status changed from In Progress to Resolved
- Target version set to v13.2.7
This update was made using the script "backport-resolve-issue".
backport PR https://github.com/ceph/ceph/pull/30846
merge commit 97d2710deda0581c0a1b3b4e29e751cb41741a83 (v13.2.6-759-g97d2710ded)