Project

General

Profile

Actions

Bug #59254

closed

cephadm: misleading error message when trying to add host missing using a normal user without sudo

Added by Redouane Kachach Elhichou about 1 year ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
reef, quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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'


Related issues 5 (0 open5 closed)

Related to Orchestrator - Bug #58918: Addition of hosts to the cluster throws an exceptionDuplicateRedouane Kachach Elhichou

Actions
Related to Orchestrator - Bug #59243: cephadm: Inappropriate error msg when ssh keys are not added to the hostDuplicate

Actions
Has duplicate Orchestrator - Bug #61876: Error bootstraping first cluster node Duplicate

Actions
Copied to Orchestrator - Backport #61537: reef: cephadm: misleading error message when trying to add host missing using a normal user without sudoResolvedAdam KingActions
Copied to Orchestrator - Backport #61538: quincy: cephadm: misleading error message when trying to add host missing using a normal user without sudoResolvedRedouane Kachach ElhichouActions
Actions #1

Updated by Redouane Kachach Elhichou about 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 50805
Actions #2

Updated by Redouane Kachach Elhichou 11 months ago

  • Related to Bug #58918: Addition of hosts to the cluster throws an exception added
Actions #3

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
Actions #4

Updated by Adam King 11 months ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to reef, quincy
Actions #5

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
Actions #6

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
Actions #7

Updated by Backport Bot 11 months ago

  • Tags set to backport_processed
Actions #8

Updated by Redouane Kachach Elhichou 10 months ago

  • Has duplicate Bug #61876: Error bootstraping first cluster node added
Actions #9

Updated by Redouane Kachach Elhichou 10 months ago

  • Has duplicate deleted (Bug #61876: Error bootstraping first cluster node )
Actions #10

Updated by Redouane Kachach Elhichou 10 months ago

  • Related to Bug #61876: Error bootstraping first cluster node added
Actions #11

Updated by Redouane Kachach Elhichou 10 months ago

  • Related to deleted (Bug #61876: Error bootstraping first cluster node )
Actions #12

Updated by Redouane Kachach Elhichou 10 months ago

  • Has duplicate Bug #61876: Error bootstraping first cluster node added
Actions #13

Updated by Redouane Kachach Elhichou about 2 months ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF