mirror of
https://github.com/ceph/ceph
synced 2025-01-02 00:52:22 +00:00
vstart.sh: Create an admin user for each CephFS
Issue a ceph fs authorize command for a new user corresponding to each CephFS created. Signed-off-by: Douglas Fuller <dfuller@redhat.com>
This commit is contained in:
parent
474982aace
commit
d8c05680a5
@ -768,6 +768,7 @@ EOF
|
||||
ceph_adm osd pool create "cephfs_data_${name}" 8
|
||||
ceph_adm osd pool create "cephfs_metadata_${name}" 8
|
||||
ceph_adm fs new "cephfs_${name}" "cephfs_metadata_${name}" "cephfs_data_${name}"
|
||||
ceph_adm fs authorize "cephfs_${name}" "client.fs_${name}" / rwp
|
||||
fs=$(($fs + 1))
|
||||
[ $fs -eq $CEPH_NUM_FS ] && break
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user