ceph_adm mgr module enable test_orchestrator
ceph_adm orch set backend test_orchestrator
ceph_adm test_orchestrator load_data -i $CEPH_ROOT/src/pybind/mgr/test_orchestrator/dummy_data.json
- prun ceph_adm nfs cluster create cephfs $cluster_id
+ prun ceph_adm nfs cluster create $cluster_id
prun ceph_adm nfs export create cephfs "a" $cluster_id "/cephfs"
for name in a b c d e f g h i j k l m n o p
# Ganesha Daemons
if [ $GANESHA_DAEMON_NUM -gt 0 ]; then
pseudo_path="/cephfs"
+ ceph_adm mgr module enable nfs
if [ "$cephadm" -gt 0 ]; then
cluster_id="vstart"
- prun ceph_adm nfs cluster create cephfs $cluster_id
+ prun ceph_adm nfs cluster create $cluster_id
prun ceph_adm nfs export create cephfs "a" $cluster_id $pseudo_path
port="2049"
else
local akey='0555b35654ad1656d804'
local skey='h7GhxuBLTrlhVUyxSPUKUV8r/2EI4ngqJxD7iBdBYLhwluN30JaT3Q=='
debug echo "setting up user testid"
- $CEPH_BIN/radosgw-admin user create --uid testid --access-key $akey --secret $skey --display-name 'M. Tester' --email tester@ceph.com -c $conf_fn > /dev/null
+ $CEPH_BIN/radosgw-admin user create --uid testid --access-key $akey --secret $skey --display-name 'M. Tester' --email tester@ceph.com --system -c $conf_fn > /dev/null
# Create S3-test users
# See: https://github.com/ceph/s3-tests
fi
fi
# Start server
+ if [ "$cephadm" -gt 0 ]; then
+ ceph_adm orch apply rgw rgwTest
+ return
+ fi
+
RGWDEBUG=""
if [ "$debug" -ne 0 ]; then
RGWDEBUG="--debug-rgw=20 --debug-ms=1"