diff --git a/ceph-client/templates/bin/mgr/_start.sh.tpl b/ceph-client/templates/bin/mgr/_start.sh.tpl index 432436d10..6d757f66e 100644 --- a/ceph-client/templates/bin/mgr/_start.sh.tpl +++ b/ceph-client/templates/bin/mgr/_start.sh.tpl @@ -40,7 +40,7 @@ ceph --cluster "${CLUSTER}" -v # Env. variables matching the pattern "_" will be # found and parsed for config-key settings by -# ceph config-key set mgr// +# ceph config set mgr mgr// MODULES_TO_DISABLE=`ceph mgr dump | python -c "import json, sys; print ' '.join(json.load(sys.stdin)['modules'])"` for module in ${ENABLED_MODULES}; do @@ -54,7 +54,7 @@ for module in ${ENABLED_MODULES}; do option=${option/${module}_/} key=`echo $option | cut -d= -f1` value=`echo $option | cut -d= -f2` - ceph --cluster "${CLUSTER}" config-key set mgr/$module/$key $value + ceph --cluster "${CLUSTER}" config set mgr mgr/$module/$key $value done ceph --cluster "${CLUSTER}" mgr module enable ${module} --force done