cloudkitty/devstack/apache-cloudkitty.template
Rafael Weingärtner 94630b97cd Use DevStack VENV path
DevStack is moving to adopt VENV to manage its python versions.
However, CloudKittty DevStack integration was not using the
DevStack VENV variable. This, in turn, causes issues with tempest
tests, as they are based on a DevStack deployment.

We need to merge this patch to fix the tempest tests.

Change-Id: I17de617557fb86c002814941325d71e3c08e0e72
2023-08-23 17:01:01 -03:00

16 lines
510 B
Plaintext

Listen %PORT%
<VirtualHost *:%PORT%>
WSGIDaemonProcess cloudkitty-api processes=2 threads=10 user=%USER% display-name=%{GROUP} python-home=%VIRTUALENV%
WSGIProcessGroup cloudkitty-api
WSGIScriptAlias / %WSGIAPP%
WSGIApplicationGroup %{GLOBAL}
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
</IfVersion>
ErrorLog /var/log/%APACHE_NAME%/cloudkitty.log
CustomLog /var/log/%APACHE_NAME%/cloudkitty_access.log combined
</VirtualHost>
WSGISocketPrefix /var/run/%APACHE_NAME%