Bug #25173
luminous: New mon-config changes break osd creation (master)
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Running command: ceph-osd --cluster ceph --osd-objectstore filestore --mkfs -i 0 --monmap /var/lib/ceph/osd/ceph-0/activate.monmap --osd-data /var/lib/ceph/osd/ceph-0/ --osd-journal /var/lib/ceph/osd/ceph-0/journal --osd-uuid f1921e96-53dd-4e2a-9893-afb7bd1d7807 --setuser ceph --setgroup ceph stderr: 2018-03-07 14:56:46.994 7f6e30989240 -1 auth: unable to find a keyring on /var/lib/ceph/osd/ceph-0//keyring: (2) No such file or directory 2018-03-07 14:56:46.994 7f6e30989240 -1 monclient: ERROR: missing keyring, cannot use cephx for authentication stderr: failed to fetch mon config (--no-mon-config to skip)
The PR included changes for ceph-disk to prevent this, as the error suggests, --no-mon-config is needed. ceph-disk changes look like:
@@ -3172,6 +3176,7 @@ def mkfs( command_check_call( [ 'ceph-osd', + '--no-mon-config', '--cluster', cluster, '--mkfs', '-i', osd_id,
Now that release is in all branches, we need to conditionally check the merged fix in http://tracker.ceph.com/issues/23260 and backport to luminous/mimic
Related issues
History
#1 Updated by Alfredo Deza over 5 years ago
- Copied from Bug #23260: New mon-config changes break osd creation (master) added
#2 Updated by Alfredo Deza over 5 years ago
- Status changed from New to Resolved
master PR: https://github.com/ceph/ceph/pull/23355
mimic PR: https://github.com/ceph/ceph/pull/23368
luminous PR: https://github.com/ceph/ceph/pull/23367