Add WSGISocketPrefix to apache keystone config

I think since probably fdf1cffbd5
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
This commit is contained in:
Ian Wienand 2014-07-17 19:54:50 +10:00
parent 5e93727a23
commit dcdcb5ace8
1 changed files with 4 additions and 0 deletions

View File

@ -20,3 +20,7 @@ Listen %ADMINPORT%
LogLevel debug
CustomLog /var/log/%APACHE_NAME%/access.log combined
</VirtualHost>
# Workaround for missing path on RHEL6, see
# https://bugzilla.redhat.com/show_bug.cgi?id=1121019
WSGISocketPrefix /var/run/%APACHE_NAME%