Project

General

Profile

Bug #52407

mgr/cephadm: Removing a host gives a RuntimeError

Added by Nizamudeen A 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
cephadm
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

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

Related issues

Related to Dashboard - Bug #52447: host not added back: should delete a host and add it back Resolved
Related to Dashboard - Bug #52417: cephadm/test_dashboard_e2e.sh: orchestrator/01-hosts.e2e-spec.ts failed. Resolved

History

#1 Updated by Nizamudeen A 2 months ago

  • Description updated (diff)

#2 Updated by Sebastian Wagner 2 months ago

  • Description updated (diff)

#3 Updated by Sebastian Wagner 2 months ago

  • Description updated (diff)

#4 Updated by Sebastian Wagner 2 months ago

  • Description updated (diff)

#5 Updated by Sebastian Wagner 2 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 42919

#6 Updated by Nizamudeen A about 2 months ago

  • Related to Bug #52447: host not added back: should delete a host and add it back added

#7 Updated by Kefu Chai about 2 months ago

  • Status changed from Fix Under Review to Resolved

#8 Updated by Nizamudeen A about 2 months ago

  • Related to Bug #52417: cephadm/test_dashboard_e2e.sh: orchestrator/01-hosts.e2e-spec.ts failed. added

Also available in: Atom PDF