# 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}
<Directory {testdir}/apache/htdocs>
Options +ExecCGI
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,
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)