From 9ed2656d79c6598c320d1e455cc7821263225b70 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 4 Jun 2021 13:56:33 +0800 Subject: [PATCH] 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 --- src/vstart.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" -- 2.39.5