Actions
Bug #44569
closedNotImplementedError not caught
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
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