Project

General

Profile

Actions

Bug #22836

closed

ceph-volume doesn't add OSD's auth to Monitors when creating new BlueStore OSD

Added by pei jia over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When add new BlueStore OSD with ceph-volume command, the new OSD daemon fails to start with log

_get_class not permitted to load kvs
_get_class not permitted to load lua
_get_class not permitted to load sdk
...
log_to_monitors {default=true}
init authentication failed: (1) Operation not permitted
.
After checking the ceph-volume command log, it turns out that it doesn't contain "ceph auth add osd.{osd-num} osd 'allow *' mon 'allow rwx' -i /var/lib/ceph/osd/osd.id/keyring".
If we use "ceph auth add ..." manually, the new OSD daemon will start correctly.


Files

ceph-volume command log.txt (4.27 KB) ceph-volume command log.txt pei jia, 01/31/2018 02:31 AM

Related issues 1 (0 open1 closed)

Copied to ceph-volume - Backport #22924: luminous: ceph-volume doesn't add OSD's auth to Monitors when creating new BlueStore OSDResolvedAndrew SchoenActions
Actions

Also available in: Atom PDF