DocumentRoot {testdir}/apache/htdocs.{client}
FastCgiIPCDir {testdir}/apache/tmp.{client}/fastcgi_sock
FastCgiExternalServer {testdir}/apache/htdocs.{client}/rgw.fcgi -socket rgw_sock
+FastCgiConfig -idle-timeout {idle_timeout}
RewriteEngine On
RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /rgw.fcgi?page=$1¶ms=$2&%{{QUERY_STRING}} [E=HTTP_AUTHORIZATION:%{{HTTP:Authorization}},L]
testdir = teuthology.get_testdir(ctx)
log.info('Shipping apache config and rgw.fcgi...')
src = os.path.join(os.path.dirname(__file__), 'apache.conf.template')
- for client in config.iterkeys():
+ for client, conf in config.iteritems():
(remote,) = ctx.cluster.only(client).remotes.keys()
system_type = teuthology.get_system_type(remote)
+ idle_timeout = conf.get('idle_timeout', 30)
if system_type == 'deb':
mod_path = '/usr/lib/apache2/modules'
print_continue = 'on'
host=host,
port=port,
client=client,
+ idle_timeout=idle_timeout,
)
teuthology.write_file(
remote=remote,
client.0:
client.3:
+ You can adjust the idle timeout for fastcgi (default is 30 seconds):
+
+ tasks:
+ - ceph:
+ - rgw:
+ client.0:
+ idle_timeout: 90
+
To run radosgw through valgrind:
tasks: