From dcdcb5ace8ea30ffe164310e6771cbffac4374ab Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 17 Jul 2014 19:54:50 +1000 Subject: [PATCH] Add WSGISocketPrefix to apache keystone config I think since probably fdf1cffbd5d2a7b47d5bdadbc0755fcb2ff6d52f devstack on RHEL6 fails and it comes down to: --- 2014-07-17 05:05:49.235 | +++ openstack role create admin -f value -c id 2014-07-17 05:05:49.615 | ERROR: cliff.app Service Unavailable (HTTP 503) [Thu Jul 17 15:05:46 2014] [error] [client 10.0.2.15] (13)Permission denied: mod_wsgi (pid=30125): Unable to connect to WSGI daemon process 'keystone-public' on '/etc/httpd/logs/wsgi.30098.0.1.sock' after multiple attempts. --- The apache user doesn't have permissons to this directory. Adding WSGISocketPath to /var/run solves it Change-Id: If4b74019b6bd389b576fc981154bb1b3aa471c9b --- files/apache-keystone.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/apache-keystone.template b/files/apache-keystone.template index 919452a040..805e7b81f0 100644 --- a/files/apache-keystone.template +++ b/files/apache-keystone.template @@ -20,3 +20,7 @@ Listen %ADMINPORT% LogLevel debug CustomLog /var/log/%APACHE_NAME%/access.log combined + +# Workaround for missing path on RHEL6, see +# https://bugzilla.redhat.com/show_bug.cgi?id=1121019 +WSGISocketPrefix /var/run/%APACHE_NAME%