]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Use worker httpd instead of prefork (like ubuntu) on rpm distros.
authorSandon Van Ness <sandon@inktank.com>
Fri, 25 Oct 2013 20:14:21 +0000 (13:14 -0700)
committerSandon Van Ness <sandon@inktank.com>
Fri, 25 Oct 2013 20:23:26 +0000 (13:23 -0700)
Ubuntu's default apache uses worker instead of prefork like rpm
based distro's. If rpm use httpd.worker instead of httpd so that
the -X behavior will not be blocked by a single request.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
teuthology/task/rgw.py

index 47d589d61e1c3cc25fe173f7e1259f096ac23cd9..42f4689ce39d18c40e863631d514c3970c6b106d 100644 (file)
@@ -220,7 +220,7 @@ def start_apache(ctx, config):
         if system_type == 'deb':
             apache_name = 'apache2'
         else:
-            apache_name = '/usr/sbin/httpd'
+            apache_name = '/usr/sbin/httpd.worker'
         proc = remote.run(
             args=[
                 '{tdir}/adjust-ulimits'.format(tdir=testdir),