Remove uwsgi http port and add var for buffer-size
We don't use the http port, since nginx connects directly to the socket on 127.0.0.1. Additionally, this adds a variable to allow the buffer-size value in the uwsgi configuration to be set. Change-Id: Icb1e7df83aa8e77aa4e93af2048318898d8e22ee
This commit is contained in:
parent
1ad0bb78ce
commit
9137145288
@ -275,9 +275,9 @@ nova_placement_nginx_access_log_format_extras: '$request_time $upstream_response
|
||||
nova_placement_nginx_extra_conf:
|
||||
- keepalive_timeout 70;
|
||||
nova_placement_uwsgi_socket_port: 8781
|
||||
nova_placement_uwsgi_http_port: 8782
|
||||
nova_wsgi_threads: 1
|
||||
nova_wsgi_processes: "{{ (ansible_processor_vcpus | int > 0) | ternary (ansible_processor_vcpus, 1) * 2}}"
|
||||
nova_wsgi_buffer_size: 65535
|
||||
|
||||
## Nova libvirt
|
||||
nova_libvirt_inject_key: False
|
||||
|
@ -5,7 +5,6 @@ gid = {{ nova_system_group_name }}
|
||||
|
||||
virtualenv = /openstack/venvs/nova-{{ nova_venv_tag }}
|
||||
wsgi-file = {{ nova_bin }}/nova-placement-api
|
||||
http = :{{ nova_placement_uwsgi_http_port }}
|
||||
socket = 127.0.0.1:{{ nova_placement_uwsgi_socket_port }}
|
||||
|
||||
master = true
|
||||
@ -16,6 +15,6 @@ exit-on-reload = true
|
||||
die-on-term = true
|
||||
lazy-apps = true
|
||||
add-header = Connection: close
|
||||
buffer-size = 65535
|
||||
buffer-size = {{ nova_wsgi_buffer_size }}
|
||||
thunder-lock = true
|
||||
logfile-chmod = 644
|
||||
|
Loading…
x
Reference in New Issue
Block a user