Bugfix: uwsgi config file yardstick.ini output error 97/59397/1
authorrexlee8776 <limingjiang@huawei.com>
Sun, 1 Jul 2018 04:02:52 +0000 (04:02 +0000)
committerrexlee8776 <limingjiang@huawei.com>
Sun, 1 Jul 2018 04:02:52 +0000 (04:02 +0000)
JIRA: YARDSTICK-1280

Change-Id: I45b4b781cee21035897ba0c34dc740af6365e918
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
ansible/roles/configure_uwsgi/templates/yardstick.ini.j2

index c049daf..044f42a 100644 (file)
@@ -1,7 +1,7 @@
 [uwsgi]
 master = true
 debug = true
-chdir = {{ yardstick_dir }}api
+chdir = {{ yardstick_dir }}/api
 module = server
 plugins = python
 processes = 10
@@ -15,4 +15,4 @@ close-on-exec = 1
 daemonize = {{ log_dir }}uwsgi.log
 socket = {{ socket_file }}
 {# If virtual environment, we need to add:
-   virtualenv = <virtual_env> #}
\ No newline at end of file
+   virtualenv = <virtual_env> #}