Project

General

Profile

Bug #25173

luminous: New mon-config changes break osd creation (master)

Added by Alfredo Deza over 5 years ago. Updated over 5 years ago.

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,

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

Copied from ceph-volume - Bug #23260: New mon-config changes break osd creation (master) Resolved 03/07/2018

History

#1 Updated by Alfredo Deza over 5 years ago

  • Copied from Bug #23260: New mon-config changes break osd creation (master) added

Also available in: Atom PDF