Project

General

Profile

Actions

Backport #42116

closed

mimic: mgr/telemetry: 'ceph telemetry show' fails

Added by Wido den Hollander over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Release:
mimic
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Actions #1

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.

Actions #2

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

Actions #3

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)

Actions #4

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
Actions #6

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)

Actions

Also available in: Atom PDF