]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mstart: start rgw on different ports as well
authorAbhishek Lekshmanan <abhishek@suse.com>
Wed, 16 Mar 2016 16:20:30 +0000 (17:20 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Wed, 16 Mar 2016 16:22:02 +0000 (17:22 +0100)
similar to the way we set CEPH_PORT, set CEPH_RGW_PORT as well so that
we've rgw instances starting on different ports

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/mstart.sh

index 0e5d4d322bc9e79b66e0e9edf438f1795899e1aa..34e6cf7ea6c3be2c5d2686e0985c816cc8c6c648 100755 (executable)
@@ -39,13 +39,16 @@ fi
 
 pos=`echo $pos | cut -d: -f1`
 base_port=$((6800+pos*20))
+rgw_port=$((8000+pos*1))
 
 export VSTART_DEST=$RUN_ROOT_PATH/$instance
 export CEPH_PORT=$base_port
+export CEPH_RGW_PORT=$rgw_port
 
 mkdir -p $VSTART_DEST
 
 echo "Cluster dest path: $VSTART_DEST"
 echo "monitors base port: $CEPH_PORT"
+echo "rgw base port: $CEPH_RGW_PORT"
 
 $vstart_path/vstart.sh "$@"