From 5c414e6d7e1fd830021b3b89932bf187d0c7e5cf Mon Sep 17 00:00:00 2001 From: "Mytnyk, Volodymyr" Date: Fri, 22 Jun 2018 16:04:14 +0100 Subject: Make uwsgi app to not demonize Supervisord doesn't support demonize applications, thus we have to make the uwsgi application to run not in background. - Fixed Yardstick API path. - Fixed HttpClient class to raise correct exception when the HTML response (not JSON) like 4xx, 5xx is received. (http://docs.python-requests.org/en/master/user/quickstart/#json-response-content) JIRA: YARDSTICK-1297 Change-Id: I4d1c1bb7266eeed0bd357bd28b91206d1580611f Signed-off-by: Mytnyk, Volodymyr --- ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ansible/roles/configure_uwsgi') diff --git a/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 b/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 index 044f42acb..495febb19 100644 --- a/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 +++ b/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 @@ -12,7 +12,7 @@ chmod-socket = 666 callable = app_wrapper enable-threads = true close-on-exec = 1 -daemonize = {{ log_dir }}uwsgi.log +logto = {{ log_dir }}/uwsgi.log socket = {{ socket_file }} {# If virtual environment, we need to add: virtualenv = #} -- cgit 1.2.3-korg