Project

General

Profile

Actions

Bug #46132

closed

cephadm: Failed to add host in cephadm through command 'ceph orch host add node1'

Added by Sathvik Vutukuri almost 4 years ago. Updated almost 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Failed to add host in cephadm (octopus release) through command 'ceph orch host add node1'

I am trying to add ceph host to the cluster. As per documentation , installed python3 in the server which i am trying to connect but getting below issue.

"Error ENOENT: New host 192.168.113.70(192.168.113.70) failed check: [
'Traceback (most recent call last):', 
'  File "<stdin>", line 4580, in <module>', 
'  File "<stdin>", line 3592, in command_check_host', 
"UnboundLocalError: local variable 'container_path' referenced before assignment"] " 

What is this issue?, is This is a bug in cephadm.

I am using RHEL7 servers for both manager and OSD.
Manager ceph is up and running , now i am trying to add new host so that i can utilitse one disk in new host as OSD


Related issues 1 (0 open1 closed)

Is duplicate of Orchestrator - Bug #46098: Exception adding host using cephadmResolvedSebastian Wagner

Actions
Actions #1

Updated by Sathvik Vutukuri almost 4 years ago

Please some one look in to this issue.

Actions #2

Updated by Sathvik Vutukuri almost 4 years ago

Error stack trace::

Promise failed Traceback (most recent call last): File "/usr/share/ceph/mgr/cephadm/module.py", line 457, in do_work res = self._on_complete(*args, **kwargs) File "/usr/share/ceph/mgr/cephadm/module.py", line 525, in <lambda> return cls(on_complete=lambda x: f(*x), value=args, name=name, **c_kwargs) File "/usr/share/ceph/mgr/cephadm/module.py", line 1685, in add_host spec.hostname, spec.addr, err)) orchestrator._interface.OrchestratorError: New host irlpqa27 (irlpqa27) failed check: ['Traceback (most recent call last):', ' File "<stdin>", line 4580, in <module>', ' File "<stdin>", line 3592, in command_check_host', "UnboundLocalError: local variable 'container_path' referenced before assignment"]

Actions #3

Updated by Sebastian Wagner almost 4 years ago

  • Project changed from Ceph to Orchestrator
  • Subject changed from Failed to add host in cephadm through command 'ceph orch host add node1' to cephadm: Failed to add host in cephadm through command 'ceph orch host add node1'
  • Category deleted (OSD)
  • Target version deleted (v12.2.12)
  • Tags deleted (cephadm ceph osd)
Actions #4

Updated by Sebastian Wagner almost 4 years ago

  • Description updated (diff)
Actions #5

Updated by Sebastian Wagner almost 4 years ago

  • Is duplicate of Bug #46098: Exception adding host using cephadm added
Actions #6

Updated by Sebastian Wagner almost 4 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF