Project

General

Profile

Actions

Bug #44569

closed

NotImplementedError not caught

Added by Sage Weil about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Urgent
Category:
-
Target version:
-
% Done:

0%

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

Description

with cephadm for example,

$ bin/ceph orch cancel
Error EINVAL: Traceback (most recent call last):
  File "/home/sage/src/ceph/src/pybind/mgr/mgr_module.py", line 1135, in _handle_command
    return self.handle_command(inbuf, cmd)
  File "/home/sage/src/ceph/src/pybind/mgr/orchestrator/_interface.py", line 203, in handle_command
    return dispatch[cmd['prefix']].call(self, cmd, inbuf)
  File "/home/sage/src/ceph/src/pybind/mgr/mgr_module.py", line 308, in call
    return self.func(mgr, **kwargs)
  File "/home/sage/src/ceph/src/pybind/mgr/orchestrator/_interface.py", line 165, in <lambda>
    wrapper_copy = lambda *l_args, **l_kwargs: wrapper(*l_args, **l_kwargs)
  File "/home/sage/src/ceph/src/pybind/mgr/orchestrator/_interface.py", line 156, in wrapper
    return func(*args, **kwargs)
  File "/home/sage/src/ceph/src/pybind/mgr/orchestrator/module.py", line 962, in _cancel
    self.cancel_completions()
  File "/home/sage/src/ceph/src/pybind/mgr/orchestrator/_interface.py", line 1833, in inner
    completion = self._oremote(method_name, args, kwargs)
  File "/home/sage/src/ceph/src/pybind/mgr/orchestrator/_interface.py", line 1903, in _oremote
    return mgr.remote(o, meth, *args, **kwargs)
  File "/home/sage/src/ceph/src/pybind/mgr/mgr_module.py", line 1497, in remote
    args, kwargs)
RuntimeError: Remote method threw exception: Traceback (most recent call last):
  File "/home/sage/src/ceph/src/pybind/mgr/orchestrator/_interface.py", line 846, in cancel_completions
    raise NotImplementedError()
NotImplementedError

this doesn't seem to be passing through handle_exception and _cli_command()...

Actions #1

Updated by Sebastian Wagner about 4 years ago

  • Assignee set to Sebastian Wagner
Actions #2

Updated by Sebastian Wagner about 4 years ago

  • Pull request ID set to 33914
Actions #3

Updated by Sebastian Wagner about 4 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Sebastian Wagner about 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF