]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: keep radosgw in foreground
authorSage Weil <sage@newdream.net>
Wed, 5 Oct 2011 22:54:57 +0000 (15:54 -0700)
committerSage Weil <sage@newdream.net>
Thu, 6 Oct 2011 19:50:12 +0000 (12:50 -0700)
It defaults to a daemon now.

teuthology/task/rgw.py

index 0e411e06a685b7a2becb905ebd7042db37c9f39e..909bc0dd82d202a06da4b043299ca1d51f701100 100644 (file)
@@ -63,7 +63,7 @@ def ship_config(ctx, config):
             data="""#!/bin/sh
 ulimit -c unlimited
 export LD_LIBRARY_PATH=/tmp/cephtest/binary/usr/local/lib
-exec /tmp/cephtest/binary/usr/local/bin/radosgw -c /tmp/cephtest/ceph.conf
+exec /tmp/cephtest/binary/usr/local/bin/radosgw -f -c /tmp/cephtest/ceph.conf
 """
             )
         remote.run(
@@ -109,6 +109,7 @@ def start_rgw(ctx, config):
                 '-c', '/tmp/cephtest/ceph.conf',
                 '--log-file', '/tmp/cephtest/archive/log/rgw.log',
                 '/tmp/cephtest/apache/apache.conf',
+                '--foreground',
                 run.Raw('>'),
                 '/tmp/cephtest/archive/log/rgw.stdout',
                 run.Raw('2>&1'),