]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: test_multi: start radosgw with debug logs, asok
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 17 Dec 2015 22:53:03 +0000 (14:53 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:46 +0000 (16:13 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/mrgw.sh
src/test/rgw/test-rgw-common.sh

index ce309e5af682b83dbc9dff3bf6a0baeb84a7d868..c58115ef7cc7acccb2687472c89be4ee770179a4 100755 (executable)
@@ -13,7 +13,8 @@ shift 2
 
 run_root=$script_root/run/$name
 pidfile=$run_root/out/radosgw.${port}.pid
+asokfile=$run_root/out/radosgw.${port}.asok
 
 $script_root/mstop.sh $name radosgw $port
 
-$script_root/mrun $name radosgw --rgw-frontends="civetweb port=$port" --pid-file=$pidfile "$@"
+$script_root/mrun $name radosgw --rgw-frontends="civetweb port=$port" --pid-file=$pidfile --admin-socket=$asokfile "$@"
index e1e435964315cde1f0a703d277220396e5b5e444..47d02bcf04412d587e5a742f4ff5d5dfaaf8154b 100644 (file)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+rgw_flags="--debug-rgw=20 --debug-ms=1"
+
 function _assert {
   src=$1; shift
   lineno=$1; shift
@@ -73,7 +75,7 @@ function rgw_admin {
 function rgw {
   [ $# -ne 2 ] && echo "rgw() needs 2 params" && exit 1
 
-  echo "$root_path/mrgw.sh c$1 $2"
+  echo "$root_path/mrgw.sh c$1 $2 $rgw_flags"
 }
 
 function init_first_zone {