From 533bf50432d6f8213b3056db1ab2475ae1408b73 Mon Sep 17 00:00:00 2001 From: Morgan Fainberg Date: Mon, 28 Apr 2014 13:16:47 -0700 Subject: [PATCH] Allow setting services up under apache mod_wsgi Setting the ENV variable DEVSTACK_GATE_USE_APACHE to "1" will configure Keystone to run under mod_wsgi and HTTPD. Change-Id: I76ca01fbb305e7201fa2477f903b36bd6bc6a4a9 --- devstack-vm-gate.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index 29aa1057..1d6267ee 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -219,6 +219,13 @@ EOF # For now this is only injected in tempest configuration echo "TEMPEST_AUTH_VERSION=v3" >>localrc fi + + if [ "$DEVSTACK_GATE_USE_APACHE" -eq "1" ]; then + # Configure services running under HTTPD (mod_wsgi) this list should + # include all services that should be run under mod_wsgi for a gate + # check. + echo "APACHE_ENABLED_SERVICES+=key" >> localrc + fi } if [ "$DEVSTACK_GATE_GRENADE" -eq "1" ]; then