mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
ceph-volume lvm.prepare pass the cephx_secret for mkfs in filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
parent
70b495ac06
commit
b25c8f6897
@ -67,7 +67,7 @@ def prepare_filestore(device, journal, secrets, tags, osd_id, fsid):
|
||||
# get the latest monmap
|
||||
prepare_utils.get_monmap(osd_id)
|
||||
# prepare the osd filesystem
|
||||
prepare_utils.osd_mkfs_filestore(osd_id, fsid)
|
||||
prepare_utils.osd_mkfs_filestore(osd_id, fsid, cephx_secret)
|
||||
# write the OSD keyring if it doesn't exist already
|
||||
prepare_utils.write_keyring(osd_id, cephx_secret)
|
||||
if secrets.get('dmcrypt_key'):
|
||||
|
Loading…
Reference in New Issue
Block a user