fix(uwsgi): tune settings (#1047)
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-authored-by: guilhermesteinmuller <gsteinmuller@vexxhost.com>
diff --git a/charts/cinder/values.yaml b/charts/cinder/values.yaml
index 0c50ec6..12351a6 100644
--- a/charts/cinder/values.yaml
+++ b/charts/cinder/values.yaml
@@ -1015,15 +1015,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: "cinder-api:"
route-user-agent: '^kube-probe.* donotlog:'
+ socket-timeout: 10
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/cinder-wsgi
diff --git a/charts/designate/values.yaml b/charts/designate/values.yaml
index 80051e7..7169414 100644
--- a/charts/designate/values.yaml
+++ b/charts/designate/values.yaml
@@ -532,15 +532,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: "designate-api:"
route-user-agent: '^kube-probe.* donotlog:'
+ socket-timeout: 10
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/designate-api-wsgi
diff --git a/charts/glance/values.yaml b/charts/glance/values.yaml
index d2c3f50..85ddf18 100644
--- a/charts/glance/values.yaml
+++ b/charts/glance/values.yaml
@@ -393,15 +393,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: "glance-api:"
route-user-agent: '^kube-probe.* donotlog:'
+ socket-timeout: 10
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/glance-wsgi-api
diff --git a/charts/heat/values.yaml b/charts/heat/values.yaml
index c9b8cdd..1cf8bdc 100644
--- a/charts/heat/values.yaml
+++ b/charts/heat/values.yaml
@@ -494,15 +494,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: "heat-api:"
route-user-agent: '^kube-probe.* donotlog:'
+ socket-timeout: 10
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/heat-wsgi-api
@@ -510,15 +515,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: "heat-api-cfn:"
route-user-agent: '^kube-probe.* donotlog:'
+ socket-timeout: 10
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/heat-wsgi-api-cfn
diff --git a/charts/magnum/values.yaml b/charts/magnum/values.yaml
index 56232eb..88b4203 100644
--- a/charts/magnum/values.yaml
+++ b/charts/magnum/values.yaml
@@ -161,15 +161,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: "magnum-api:"
route-user-agent: '^kube-probe.* donotlog:'
+ socket-timeout: 10
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/magnum-api-wsgi
diff --git a/charts/manila/values.yaml b/charts/manila/values.yaml
index e54f214..f820bc1 100644
--- a/charts/manila/values.yaml
+++ b/charts/manila/values.yaml
@@ -806,15 +806,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: "manila-api:"
route-user-agent: '^kube-probe.* donotlog:'
+ socket-timeout: 10
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/manila-wsgi
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
diff --git a/charts/octavia/values.yaml b/charts/octavia/values.yaml
index 699aa05..b15114a 100644
--- a/charts/octavia/values.yaml
+++ b/charts/octavia/values.yaml
@@ -336,15 +336,20 @@
processes: 4
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: "octavia-api:"
route-user-agent: '^kube-probe.* donotlog:'
+ socket-timeout: 10
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/octavia-wsgi
diff --git a/charts/placement/values.yaml b/charts/placement/values.yaml
index 2f4b353..c575267 100644
--- a/charts/placement/values.yaml
+++ b/charts/placement/values.yaml
@@ -141,15 +141,20 @@
processes: 4
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: "placement-api:"
route-user-agent: '^kube-probe.* donotlog:'
+ socket-timeout: 10
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/placement-api
diff --git a/charts/senlin/values.yaml b/charts/senlin/values.yaml
index d4f7248..48bf86a 100644
--- a/charts/senlin/values.yaml
+++ b/charts/senlin/values.yaml
@@ -208,15 +208,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: "senlin-api:"
route-user-agent: '^kube-probe.* donotlog:'
+ socket-timeout: 10
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/senlin-wsgi-api