openstack-ansible-os_glance/templates/glance-uwsgi.ini.j2
Andy McCrae 8c2f4b0b7c Implement uWSGI for glance-api
As part of the Pike goals we are moving api services to run as WSGI
apps. glance-api service is set up as a wsgi app, and this patch moves
it over.

Since this is just a drop in replacement for the existing eventlet
service operators and deployers should notice no difference.

Implements: blueprint goal-deploy-api-in-wsgi
Change-Id: Ie5fbf437031be01682534c466b3737d090a81c57
2017-07-25 14:20:24 +01:00

20 lines
543 B
Django/Jinja

[uwsgi]
uid = {{ glance_system_user_name }}
gid = {{ glance_system_group_name }}
virtualenv = /openstack/venvs/glance-{{ glance_venv_tag }}
wsgi-file = {{ glance_bin }}/{{ item.wsgi_name }}
http-socket = {{ item.uwsgi_bind_address }}:{{ item.uwsgi_port }}
master = true
enable-threads = true
processes = {{ glance_wsgi_processes }}
threads = {{ glance_wsgi_threads }}
exit-on-reload = true
die-on-term = true
lazy-apps = true
add-header = Connection: close
buffer-size = {{ glance_wsgi_buffer_size }}
thunder-lock = true
logfile-chmod = 644