diff options
author | liyuenan <liyuenan@huawei.com> | 2017-01-16 14:22:07 +0800 |
---|---|---|
committer | Yuenan Li <liyuenan@huawei.com> | 2017-01-17 01:11:05 +0000 |
commit | 66e8997c590523fdda22f6251a96bc08e001ae76 (patch) | |
tree | ed4398e0ebfa24306fc7091cd3e0be4fd12f98af /deploy/adapters/ansible/roles/ceilometer_controller/templates | |
parent | 46998b61a6e5ecc870b2ee2213d0a17f55b720a7 (diff) |
Support ceilometer for Newton CentOS
JIRA: COMPASS-518
The WSGIScriptAlias file should be "/var/www/cgi-bin/ceilometer/app".
This file is copied from
"/usr/lib/python2.7/site-packages/ceilometer/api/app.wsgi" in CentOS
or
"/usr/lib/python2.7/dist-packages/ceilometer/api/app.wsgi" in Ubuntu
Change-Id: Idcc37b0ed6c1d4c6e39d821a02a6579c57b6f035
Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/ceilometer_controller/templates')
-rw-r--r-- | deploy/adapters/ansible/roles/ceilometer_controller/templates/wsgi-ceilometer.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/ceilometer_controller/templates/wsgi-ceilometer.conf.j2 b/deploy/adapters/ansible/roles/ceilometer_controller/templates/wsgi-ceilometer.conf.j2 index c876efda..70ad8172 100644 --- a/deploy/adapters/ansible/roles/ceilometer_controller/templates/wsgi-ceilometer.conf.j2 +++ b/deploy/adapters/ansible/roles/ceilometer_controller/templates/wsgi-ceilometer.conf.j2 @@ -6,7 +6,7 @@ <VirtualHost {{ internal_ip }}:8777> WSGIDaemonProcess ceilometer-api processes=4 threads={{ work_threads }} user=ceilometer group=ceilometer display-name=%{GROUP} WSGIProcessGroup ceilometer-api - WSGIScriptAlias / {{ WSGIScriptAlias_path }} + WSGIScriptAlias / /var/www/cgi-bin/ceilometer/app WSGIApplicationGroup %{GLOBAL} ErrorLog /var/log/{{ http_service_name }}/ceilometer_error.log CustomLog /var/log/{{ http_service_name }}/ceilometer_access.log combined |