]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: use "config set" for mgr modules
authorJohn Spray <john.spray@redhat.com>
Mon, 16 Apr 2018 10:01:35 +0000 (06:01 -0400)
committerJohn Spray <john.spray@redhat.com>
Mon, 23 Apr 2018 11:29:47 +0000 (07:29 -0400)
...instead of pre-mimic config-key set.

Signed-off-by: John Spray <john.spray@redhat.com>
src/vstart.sh

index 893b7edd61110a7e4aac7fa2263825e72db51203..e201ffce0fad9c0baafc72006818f3f378894ed7 100755 (executable)
@@ -684,7 +684,7 @@ start_mgr() {
 EOF
 
         if $with_mgr_dashboard ; then
-            ceph_adm config-key set mgr/dashboard/$name/server_port $MGR_PORT
+            ceph_adm config set mgr mgr/dashboard/$name/server_port $MGR_PORT
             if [ $mgr -eq 1 ]; then
                 DASH_URLS="http://$IP:$MGR_PORT"
             else
@@ -693,7 +693,7 @@ EOF
         fi
        MGR_PORT=$(($MGR_PORT + 1000))
 
-       ceph_adm config-key set mgr/restful/$name/server_port $MGR_PORT
+       ceph_adm config set mgr mgr/restful/$name/server_port $MGR_PORT
         if [ $mgr -eq 1 ]; then
             RESTFUL_URLS="https://$IP:$MGR_PORT"
         else