mirror of
https://github.com/ceph/ceph
synced 2025-01-04 02:02:36 +00:00
test_ceph_daemon.sh: test deploy mds too
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
55515f39ab
commit
9a50a2628c
@ -1,6 +1,6 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
fsid=0a464092-dfd0-11e9-b903-002590e526e8
|
||||
fsid=2a833e3f-53e4-49a7-a7a0-bd89d193ab62
|
||||
|
||||
../src/ceph-daemon rm-cluster --fsid $fsid --force
|
||||
|
||||
@ -36,5 +36,17 @@ bin/ceph -c c -k k auth get-or-create mgr.y \
|
||||
--keyring k-mgr.y \
|
||||
--config c
|
||||
|
||||
# mds.{k,j}
|
||||
for id in k j; do
|
||||
bin/ceph -c c -k k auth get-or-create mds.$id \
|
||||
mon 'allow profile mds' \
|
||||
mgr 'allow profile mds' \
|
||||
osd 'allow *' \
|
||||
mds 'allow *' > k-mds.$id
|
||||
../src/ceph-daemon deploy --name mds.$id \
|
||||
--fsid $fsid \
|
||||
--keyring k-mds.$id \
|
||||
--config c
|
||||
done
|
||||
|
||||
bin/ceph -c c -k k -s
|
||||
|
Loading…
Reference in New Issue
Block a user