Project

General

Profile

Actions

Bug #44390

closed

cephadm: fail to create daemons

Added by Kiefer Chang about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cephadm (binary)
Target version:
-
% Done:

0%

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

Description

I hit this error when creating OSDs:

╰─# echo '{"testing_dg_admin": {"host_pattern": "osd*", "data_devices": {"all": true}}}' | bin/ceph orch osd create -i -
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2020-03-03T03:31:54.333+0000 7f77f400b700 -1 WARNING: all dangerous and experimental features are enabled.
2020-03-03T03:31:54.365+0000 7f77f400b700 -1 WARNING: all dangerous and experimental features are enabled.
Error EINVAL: Traceback (most recent call last):
  File "/ceph/src/pybind/mgr/mgr_module.py", line 1139, in _handle_command
    return self.handle_command(inbuf, cmd)
  File "/ceph/src/pybind/mgr/orchestrator/_interface.py", line 192, in handle_command
    return dispatch[cmd['prefix']].call(self, cmd, inbuf)
  File "/ceph/src/pybind/mgr/mgr_module.py", line 308, in call
    return self.func(mgr, **kwargs)
  File "/ceph/src/pybind/mgr/orchestrator/_interface.py", line 154, in <lambda>
    wrapper_copy = lambda *l_args, **l_kwargs: wrapper(*l_args, **l_kwargs)
  File "/ceph/src/pybind/mgr/orchestrator/_interface.py", line 145, in wrapper
    return func(*args, **kwargs)
  File "/ceph/src/pybind/mgr/orchestrator/module.py", line 460, in _create_osd
    raise_if_exception(completion)
  File "/ceph/src/pybind/mgr/orchestrator/_interface.py", line 702, in raise_if_exception
    raise e
RuntimeError: cephadm exited with an error code: 1, stderr:Traceback (most recent call last):
  File "<stdin>", line 3622, in <module>
  File "<stdin>", line 2069, in command_deploy
  File "<stdin>", line 1077, in get_config_and_keyring
AttributeError: 'Namespace' object has no attribute 'config_and_keyring'
Actions #1

Updated by Kiefer Chang about 4 years ago

  • Subject changed from cephadm: Fail to create daemons to cephadm: fail to create daemons
  • Status changed from New to In Progress
  • Assignee set to Kiefer Chang
  • Regression changed from No to Yes
Actions #2

Updated by Kiefer Chang about 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 33679
Actions #3

Updated by Kiefer Chang about 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF