Project

General

Profile

Actions

Bug #23260

closed

New mon-config changes break osd creation (master)

Added by Alfredo Deza about 6 years ago. Updated about 6 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,

Related issues 1 (0 open1 closed)

Copied to ceph-volume - Bug #25173: luminous: New mon-config changes break osd creation (master)ResolvedAlfredo Deza03/07/2018

Actions
Actions #1

Updated by Alfredo Deza about 6 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Alfredo Deza about 6 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Alfredo Deza about 6 years ago

  • Status changed from Fix Under Review to Resolved

merged commit e7b3cc9 into master

Actions #4

Updated by Alfredo Deza over 5 years ago

  • Copied to Bug #25173: luminous: New mon-config changes break osd creation (master) added
Actions

Also available in: Atom PDF