Bug #59254
closedcephadm: misleading error message when trying to add host missing using a normal user without sudo
0%
Description
[ceph: root@ceph-node-0 /]# ceph orch host add ceph-node-2 192.168.100.102 --labels _admin
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1761, in _handle_command
return self.handle_command(inbuf, cmd)
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 171, in handle_command
return dispatch[cmd['prefix']].call(self, cmd, inbuf)
File "/usr/share/ceph/mgr/mgr_module.py", line 462, 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 453, in _add_host
return self._apply_misc([s], False, Format.plain)
File "/usr/share/ceph/mgr/orchestrator/module.py", line 1248, in _apply_misc
raise_if_exception(completion)
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 225, in raise_if_exception
e = pickle.loads(c.serialized_exception)
TypeError: init() missing 2 required positional arguments: 'hostname' and 'addr'
Updated by Redouane Kachach Elhichou about 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 50805
Updated by Redouane Kachach Elhichou 11 months ago
- Related to Bug #58918: Addition of hosts to the cluster throws an exception added
Updated by Redouane Kachach Elhichou 11 months ago
- Related to Bug #59243: cephadm: Inappropriate error msg when ssh keys are not added to the host added
Updated by Backport Bot 11 months ago
- Copied to Backport #61537: reef: cephadm: misleading error message when trying to add host missing using a normal user without sudo added
Updated by Backport Bot 11 months ago
- Copied to Backport #61538: quincy: cephadm: misleading error message when trying to add host missing using a normal user without sudo added
Updated by Redouane Kachach Elhichou 10 months ago
- Has duplicate Bug #61876: Error bootstraping first cluster node added
Updated by Redouane Kachach Elhichou 10 months ago
- Has duplicate deleted (Bug #61876: Error bootstraping first cluster node )
Updated by Redouane Kachach Elhichou 10 months ago
- Related to Bug #61876: Error bootstraping first cluster node added
Updated by Redouane Kachach Elhichou 10 months ago
- Related to deleted (Bug #61876: Error bootstraping first cluster node )
Updated by Redouane Kachach Elhichou 10 months ago
- Has duplicate Bug #61876: Error bootstraping first cluster node added
Updated by Redouane Kachach Elhichou about 2 months ago
- Status changed from Pending Backport to Resolved