]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
vstart.sh: disable restful by default
authorKefu Chai <kchai@redhat.com>
Fri, 4 Jun 2021 05:56:33 +0000 (13:56 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 4 Jun 2021 05:58:51 +0000 (13:58 +0800)
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 <kchai@redhat.com>
src/vstart.sh

index 984f05514219741c067279ed314199ef46a8c512..0d71f421639504b1d2ef609e5466cab46f1caa64 100755 (executable)
@@ -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"