Project

General

Profile

Bug #23260

New mon-config changes break osd creation (master)

Added by Alfredo Deza about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/07/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

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

History

#1 Updated by Alfredo Deza about 1 year ago

  • Status changed from New to In Progress

#2 Updated by Alfredo Deza about 1 year ago

  • Status changed from In Progress to Need Review

#3 Updated by Alfredo Deza about 1 year ago

  • Status changed from Need Review to Resolved

merged commit e7b3cc9 into master

#4 Updated by Alfredo Deza 8 months ago

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

Also available in: Atom PDF