From: Josh Durgin Date: Fri, 19 Jul 2013 21:42:38 +0000 (-0700) Subject: rgw: turn off continue print on centos X-Git-Tag: 1.1.0~2068^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f0123db7d9858c2d89cf8ba03ea69b012dcf04b2;p=teuthology.git rgw: turn off continue print on centos Also note that a ceph.conf setting is needed for that too Signed-off-by: Josh Durgin --- diff --git a/teuthology/task/apache.conf.template b/teuthology/task/apache.conf.template index 397b1d1ad..a6083d660 100644 --- a/teuthology/task/apache.conf.template +++ b/teuthology/task/apache.conf.template @@ -21,8 +21,8 @@ RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /rgw.fcgi?page=$1¶ms=$2&%{{QUERY_STR # Set fastcgi environment variables. # Note that this is separate from Unix environment variables! SetEnv RGW_LOG_LEVEL 20 -SetEnv RGW_PRINT_CONTINUE yes SetEnv RGW_SHOULD_LOG yes +SetEnv RGW_PRINT_CONTINUE {print_continue} Options +ExecCGI diff --git a/teuthology/task/rgw.py b/teuthology/task/rgw.py index ddac2915c..19d851b22 100644 --- a/teuthology/task/rgw.py +++ b/teuthology/task/rgw.py @@ -56,12 +56,15 @@ def ship_config(ctx, config): system_type = teuthology.get_system_type(remote) if system_type == 'deb': mod_path = '/usr/lib/apache2/modules' + print_continue = 'on' else: mod_path = '/usr/lib64/httpd/modules' + print_continue = 'off' with file(src, 'rb') as f: conf = f.read().format( testdir=testdir, mod_path=mod_path, + print_continue=print_continue, ) teuthology.write_file( remote=remote, @@ -242,6 +245,15 @@ def task(ctx, config): client.3: valgrind: [--tool=memcheck] + Note that without a modified fastcgi module e.g. with the default + one on CentOS, you must have rgw print continue = false in ceph.conf:: + + tasks: + - ceph: + conf: + global: + rgw print continue: false + - rgw: [client.0] """ if config is None: config = dict(('client.{id}'.format(id=id_), None)