]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: fix run() invocation for rgw 28386/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 4 Jun 2019 18:26:16 +0000 (14:26 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 4 Jun 2019 18:26:19 +0000 (14:26 -0400)
add an extra argument to run() for rgw so that --redirect-output
sends stdout to rgw.{port}.stdout

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/vstart.sh

index c521660ec47c0133d528aa8013333b9a2a4e0560..a029ede81237a40c4b51f2968666afc51310ccd3 100755 (executable)
@@ -1254,7 +1254,7 @@ do_rgw()
     for rgw in j k l m n o p q r s t u v; do
         current_port=$((CEPH_RGW_PORT_NUM + i))
         echo start rgw on http${CEPH_RGW_HTTPS}://localhost:${current_port}
-        run 'rgw' $RGWSUDO $CEPH_BIN/radosgw -c $conf_fn --log-file=${CEPH_OUT_DIR}/radosgw.${current_port}.log --admin-socket=${CEPH_OUT_DIR}/radosgw.${current_port}.asok --pid-file=${CEPH_OUT_DIR}/radosgw.${current_port}.pid ${RGWDEBUG} -n client.rgw "--rgw_frontends=${rgw_frontend} port=${current_port}${CEPH_RGW_HTTPS}"
+        run 'rgw' $current_port $RGWSUDO $CEPH_BIN/radosgw -c $conf_fn --log-file=${CEPH_OUT_DIR}/radosgw.${current_port}.log --admin-socket=${CEPH_OUT_DIR}/radosgw.${current_port}.asok --pid-file=${CEPH_OUT_DIR}/radosgw.${current_port}.pid ${RGWDEBUG} -n client.rgw "--rgw_frontends=${rgw_frontend} port=${current_port}${CEPH_RGW_HTTPS}"
         i=$(($i + 1))
         [ $i -eq $CEPH_NUM_RGW ] && break
     done