Actions
Bug #44390
closedcephadm: fail to create daemons
% Done:
0%
Source:
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
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'
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
Might be a regression from https://github.com/ceph/ceph/pull/33658/files#diff-8b586ec9c3ad3e8421a8858888f7ddf0R2067.
Updated by Kiefer Chang about 4 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 33679
Updated by Kiefer Chang about 4 years ago
- Status changed from Fix Under Review to Resolved
Actions