diff --git a/devstack-vm-gate-wrap.sh b/devstack-vm-gate-wrap.sh index c5968ac8..4563638d 100755 --- a/devstack-vm-gate-wrap.sh +++ b/devstack-vm-gate-wrap.sh @@ -190,8 +190,9 @@ export DEVSTACK_GATE_CONFIGDRIVE=${DEVSTACK_GATE_CONFIGDRIVE:-1} # Set to 1 to enable running a keystone v3 based gate export DEVSTACK_GATE_KEYSTONE_V3=${DEVSTACK_GATE_KEYSTONE_V3:-0} -# Set to 1 to configure Keystone to run under mod_wsgi and HTTPD -export DEVSTACK_GATE_USE_APACHE=${DEVSTACK_GATE_USE_APACHE:-0} +# Set to 0 to run services that default under Apache + mod_wsgi under alternatives (e.g. eventlet) +# if possible +export DEVSTACK_GATE_ENABLE_HTTPD_MOD_WSGI_SERVICES=${DEVSTACK_GATE_ENABLE_HTTPD_MOD_WSGI_SERVICES:-1} # Set to 1 to enable the Nova v3 API tests export DEVSTACK_GATE_TEMPEST_NOVA_V3_API=${DEVSTACK_GATE_TEMPEST_NOVA_V3_API:-0} diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index 76447230..c45c87c0 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -221,12 +221,11 @@ EOF echo "TEMPEST_AUTH_VERSION=v3" >>localrc fi - if [[ "$DEVSTACK_GATE_USE_APACHE" -eq "0" ]]; then - # Disable running services that can run under alternatives from Apache - # (e.g. Keystone under eventlet) from being configured to run under - # Apache. This will affect all services that run under HTTPD (mod_wsgi) - # by default. - echo "APACHE_ENABLED_SERVICES=" >> localrc + if [[ "$DEVSTACK_GATE_ENABLE_HTTPD_MOD_WSGI_SERVICES" -eq "0" ]]; then + # Services that default to run under Apache + mod_wsgi will use alternatives + # (e.g. Keystone under eventlet) if available. This will affect all services + # that run under HTTPD (mod_wsgi) by default. + echo "ENABLE_HTTPD_MOD_WSGI_SERVICES=False" >> localrc fi if [[ "$DEVSTACK_GATE_TEMPEST_NOVA_V3_API" -eq "1" ]]; then echo "TEMPEST_NOVA_API_V3=True" >> localrc