From 4e61e4835e6e6ff44e865d2fe771a20617497ecb Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 5 Oct 2011 15:54:57 -0700 Subject: [PATCH] rgw: keep radosgw in foreground It defaults to a daemon now. --- teuthology/task/rgw.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teuthology/task/rgw.py b/teuthology/task/rgw.py index 0e411e06a685b..909bc0dd82d20 100644 --- a/teuthology/task/rgw.py +++ b/teuthology/task/rgw.py @@ -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'), -- 2.39.5