From: Kefu Chai Date: Fri, 4 Jun 2021 05:56:33 +0000 (+0800) Subject: vstart.sh: disable restful by default X-Git-Tag: v17.1.0~1716^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F41689%2Fhead;p=ceph.git vstart.sh: disable restful by default since we are going to deprecate restful in favor of dashboard's RESTful API. see https://lists.ceph.io/hyperkitty/list/dev@ceph.io/message/LBKLNXH7UQL7TLFU5G52Y2SYVME4RS6P/ and https://tracker.ceph.com/issues/47066, let's disable this module by default. and change the option of --without-restful to --with-restful. Signed-off-by: Kefu Chai --- diff --git a/src/vstart.sh b/src/vstart.sh index 984f0551421..0d71f421639 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -174,7 +174,7 @@ if [[ "$(get_cmake_variable WITH_MGR_DASHBOARD_FRONTEND)" != "ON" ]] || debug echo "ceph-mgr dashboard not built - disabling." with_mgr_dashboard=false fi -with_mgr_restful=true +with_mgr_restful=false filestore_path= kstore_path= @@ -451,8 +451,8 @@ case $1 in --without-dashboard) with_mgr_dashboard=false ;; - --without-restful) - with_mgr_restful=false + --with-restful) + with_mgr_restful=true ;; --seastore-devs) parse_block_devs --seastore-devs "$2"