Skip to content
Snippets Groups Projects
Commit 413bd848 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Fix wsgi file path and log-file parameter"

parents aa64cd38 65ebba8b
No related branches found
No related tags found
No related merge requests found
{
"command": "gnocchi-metricd --logfile /var/log/kolla/gnocchi/gnocchi-metricd.log",
"command": "gnocchi-metricd --log-file /var/log/kolla/gnocchi/gnocchi-metricd.log",
"config_files": [
{
"source": "{{ container_config_directory }}/gnocchi.conf",
......
{
"command": "gnocchi-statsd --logfile /var/log/kolla/gnocchi/gnocchi-statsd.log",
"command": "gnocchi-statsd --log-file /var/log/kolla/gnocchi/gnocchi-statsd.log",
"config_files": [
{
"source": "{{ container_config_directory }}/gnocchi.conf",
......
{% set python_path = '/usr/lib/python2.7/site-packages' if kolla_install_type == 'binary' else '/var/lib/kolla/venv/lib/python2.7/site-packages' %}
{% set wsgi_path = '/usr/bin' if kolla_install_type == 'binary' else '/var/lib/kolla/venv/bin' %}
Listen {{ api_interface_address }}:{{ gnocchi_api_port }}
<VirtualHost *:{{ gnocchi_api_port }}>
......@@ -8,9 +9,9 @@ Listen {{ api_interface_address }}:{{ gnocchi_api_port }}
WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess gnocchi group=gnocchi processes={{ openstack_service_workers }} threads=1 user=gnocchi python-path={{ python_path }}
WSGIProcessGroup gnocchi
WSGIScriptAlias / "{{ python_path }}/gnocchi/rest/app.wsgi"
WSGIScriptAlias / "{{ wsgi_path }}/gnocchi-api"
<Directory "{{ python_path }}/gnocchi/rest">
<Directory "{{ wsgi_path }}">
Require all granted
</Directory>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment