Actions
Bug #22836
closedceph-volume doesn't add OSD's auth to Monitors when creating new BlueStore OSD
% 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
Actions