
The systemd-init template was not looking at the program_override variable within each service's dictionary. This also fixes glance-api so that it's running under uWSGI when the v1 API is disabled. Creating images from a remote URL is exclusive to the v1 API and does not work when glance-api is run under uWSGI. The libxml2-dev package is required by uWSGI and has been added to the distro package list. Additional options have been added to the uWSGI configuration to better support requests containing chunked data (image uploads). Change-Id: I14f3162a4666d770beec9746469021466fa4d449
23 lines
609 B
Django/Jinja
23 lines
609 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
|
|
http-auto-chunked = true
|
|
http-raw-body = true
|
|
socket-timeout = 10
|