Actions
Bug #52407
closedmgr/cephadm: Removing a host gives a RuntimeError
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
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.
{"prefix": "orch host rm", "hostname": "ceph-node-01.cephlab.com", "targ..."}
mgr handle_command module 'orchestrator' command handler threw exception: Non-thread-safe operation invoked on an event loop other than the current one
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
Updated by Sebastian Wagner over 2 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 42919
Updated by Nizamudeen A over 2 years ago
- Related to Bug #52447: host not added back: should delete a host and add it back added
Updated by Kefu Chai over 2 years ago
- Status changed from Fix Under Review to Resolved
Updated by Nizamudeen A over 2 years ago
- Related to Bug #52417: cephadm/test_dashboard_e2e.sh: orchestrator/01-hosts.e2e-spec.ts failed. added
Actions