Project

General

Profile

Actions

Bug #43225

closed

cephadm: Host misconfiguration result in unreadable error messages

Added by Sebastian Wagner over 4 years ago. Updated over 4 years 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 (v1):
Crash signature (v2):

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.

Actions #1

Updated by Sage Weil over 4 years ago

  • Priority changed from Normal to High
Actions #2

Updated by Sebastian Wagner over 4 years ago

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

Updated by Sage Weil over 4 years ago

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

Updated by Sebastian Wagner over 4 years ago

  • Status changed from New to Resolved

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

Actions

Also available in: Atom PDF