Bug #52407
Updated by Sebastian Wagner over 2 years ago
I added a host using the orch add host command then removed using the orch rm host command, it showed me this error, https://pastebin.com/ib3sUHxz. But the host gets removed from the list.
After this, I can't add the same host back. But I can add different hosts. Although removing them shows this same error and make that host not addable.
<pre>
mgr handle_command module 'orchestrator' command handler threw exception: Non-thread-safe operation invoked on an event loop other than the current one
</pre>
<pre>
mgr.server reply reply (22) Invalid argument Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1564, in _handle_command
return self.handle_command(inbuf, cmd)
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 167, in handle_command
return dispatch[cmd['prefix']].call(self, cmd, inbuf)
File "/usr/share/ceph/mgr/mgr_module.py", line 415, in call
return self.func(mgr, **kwargs)
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 107, in <lambda>
wrapper_copy = lambda *l_args, **l_kwargs: wrapper(*l_args, **l_kwargs) # noqa: E731
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 96, in wrapper
return func(*args, **kwargs)
File "/usr/share/ceph/mgr/orchestrator/module.py", line 352, in _remove_host
raise_if_exception(completion)
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 224, in raise_if_exception
raise e
RuntimeError: Non-thread-safe operation invoked on an event loop other than the current one
</pre>