fix(uwsgi): tune settings (#1047)
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-authored-by: guilhermesteinmuller <gsteinmuller@vexxhost.com>
diff --git a/charts/nova/values.yaml b/charts/nova/values.yaml
index df2e2ff..fe02e60 100644
--- a/charts/nova/values.yaml
+++ b/charts/nova/values.yaml
@@ -1539,15 +1539,20 @@
uwsgi:
add-header: "Connection: close"
buffer-size: 65535
+ chunked-input-limit: "4096000"
die-on-term: true
enable-threads: true
exit-on-reload: false
hook-master-start: unix_signal:15 gracefully_kill_them_all
+ http-auto-chunked: true
+ http-raw-body: true
lazy-apps: true
log-x-forwarded-for: true
master: true
+ need-app: true
procname-prefix-spaced: "nova-api:"
route-user-agent: '^kube-probe.* donotlog:'
+ socket-timeout: 10
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/nova-api-wsgi
@@ -1555,15 +1560,20 @@
uwsgi:
add-header: "Connection: close"
buffer-size: 65535
+ chunked-input-limit: 4096000
die-on-term: true
enable-threads: true
exit-on-reload: false
hook-master-start: unix_signal:15 gracefully_kill_them_all
+ http-auto-chunked: true
+ http-raw-body: true
lazy-apps: true
log-x-forwarded-for: true
master: true
+ need-app: true
procname-prefix-spaced: "nova-metadata:"
route-user-agent: '^kube-probe.* donotlog:'
+ socket-timeout: 10
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/nova-metadata-wsgi