Actions
Bug #23260
closedNew mon-config changes break osd creation (master)
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% 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,
Updated by Alfredo Deza about 6 years ago
- Status changed from New to In Progress
Updated by Alfredo Deza about 6 years ago
- Status changed from In Progress to Fix Under Review
PR opened at https://github.com/ceph/ceph/pull/20787
Updated by Alfredo Deza about 6 years ago
- Status changed from Fix Under Review to Resolved
merged commit e7b3cc9 into master
Updated by Alfredo Deza over 5 years ago
- Copied to Bug #25173: luminous: New mon-config changes break osd creation (master) added
Actions