Project

General

Profile

Bug #43225

cephadm: Host misconfiguration result in unreadable error messages

Added by Sebastian Wagner 11 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:
Tags:

Description

[ceph: root@host-1 /]# ceph orchestrator service ls
Error EINVAL: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1062, in _handle_command
    return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
  File "/usr/share/ceph/mgr/mgr_module.py", line 303, in call
    return self.func(mgr, **kwargs)
  File "/usr/share/ceph/mgr/orchestrator.py", line 131, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/ceph/mgr/orchestrator_cli/module.py", line 275, in _list_services
    orchestrator.raise_if_exception(completion)
  File "/usr/share/ceph/mgr/orchestrator.py", line 630, in raise_if_exception
    raise Exception(str(c.exception))
Exception: -F /tmp/ceph-mgr-ssh-conf-XxXxX -i /tmp/ceph-mgr-ssh-identity-YyYyY root@host-3

We'll need to provide better error messages here.

History

#1 Updated by Sage Weil 11 months ago

  • Priority changed from Normal to High

#2 Updated by Sebastian Wagner 11 months ago

  • Subject changed from mgr/ssh: Host misconfiguration result in unreadable error messages to cephadm: Host misconfiguration result in unreadable error messages

#4 Updated by Sage Weil 10 months ago

  • Project changed from mgr to Orchestrator
  • Category deleted (orchestrator)

#5 Updated by Sebastian Wagner 10 months ago

  • Status changed from New to Resolved

partially resolved by adding the exception type name we get from execnet

Also available in: Atom PDF