feat(charts): switch all uwsgi services to use wsgi module entrypoints (#3764)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mnaser <435815+mnaser@users.noreply.github.com>
This commit is contained in:
1 parent
0c1e62f13d
commit
dc202d7861
14 files changed
+57
-40
No files matched your search
@@ -376,7 +376,7 @@ conf:
|
||||
socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/barbican-wsgi-api
|
||||
module: "barbican.wsgi.api:application"
|
||||
processes: 1
|
||||
barbican:
|
||||
DEFAULT:
|
||||
|
||||
@@ -548,7 +548,7 @@ conf:
|
||||
socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/designate-api-wsgi
|
||||
module: "designate.wsgi.api:application"
|
||||
|
||||
# Names of secrets used by bootstrap and environmental checks
|
||||
secrets:
|
||||
|
||||
@@ -510,7 +510,7 @@ conf:
|
||||
socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/heat-wsgi-api
|
||||
module: "heat.wsgi.api:application"
|
||||
heat_api_cfn_uwsgi:
|
||||
uwsgi:
|
||||
add-header: "Connection: close"
|
||||
@@ -531,7 +531,7 @@ conf:
|
||||
socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/heat-wsgi-api-cfn
|
||||
module: "heat.wsgi.cfn:application"
|
||||
|
||||
network:
|
||||
api:
|
||||
|
||||
@@ -177,7 +177,7 @@ conf:
|
||||
socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
module: "magnum.api.app:build_wsgi_app"
|
||||
module: "magnum.wsgi.api:application"
|
||||
|
||||
network:
|
||||
api:
|
||||
|
||||
@@ -1386,7 +1386,7 @@ conf:
|
||||
route-user-agent: '^kube-probe.* donotlog:'
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/neutron-api
|
||||
module: "neutron.wsgi.api:application"
|
||||
neutron_policy_server_uwsgi:
|
||||
uwsgi:
|
||||
add-header: "Connection: close"
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
diff --git a/barbican/values.yaml b/charts/barbican/values.yaml
|
||||
index 3991d2ba..86abf1d3 100644
|
||||
diff --git a/barbican/values.yaml b/barbican/values.yaml
|
||||
--- a/barbican/values.yaml
|
||||
+++ b/barbican/values.yaml
|
||||
@@ -360,15 +360,20 @@ conf:
|
||||
@@ -360,18 +360,23 @@
|
||||
uwsgi:
|
||||
add-header: "Connection: close"
|
||||
buffer-size: 65535
|
||||
@@ -22,4 +21,8 @@ index 3991d2ba..86abf1d3 100644
|
||||
+ socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/barbican-wsgi-api
|
||||
- wsgi-file: /var/lib/openstack/bin/barbican-wsgi-api
|
||||
+ module: "barbican.wsgi.api:application"
|
||||
processes: 1
|
||||
barbican:
|
||||
DEFAULT:
|
||||
@@ -1,8 +1,7 @@
|
||||
diff --git b/designate/values.yaml a/charts/designate/values.yaml
|
||||
index 80051e75..71694146 100644
|
||||
--- b/designate/values.yaml
|
||||
+++ a/designate/values.yaml
|
||||
@@ -532,15 +532,20 @@ conf:
|
||||
diff --git a/designate/values.yaml b/designate/values.yaml
|
||||
--- a/designate/values.yaml
|
||||
+++ b/designate/values.yaml
|
||||
@@ -532,18 +532,23 @@
|
||||
uwsgi:
|
||||
add-header: "Connection: close"
|
||||
buffer-size: 65535
|
||||
@@ -22,4 +21,8 @@ index 80051e75..71694146 100644
|
||||
+ socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/designate-api-wsgi
|
||||
- wsgi-file: /var/lib/openstack/bin/designate-api-wsgi
|
||||
+ module: "designate.wsgi.api:application"
|
||||
|
||||
# Names of secrets used by bootstrap and environmental checks
|
||||
secrets:
|
||||
@@ -1,8 +1,7 @@
|
||||
diff --git b/heat/values.yaml a/charts/heat/values.yaml
|
||||
index c9b8cdd9..1cf8bdc4 100644
|
||||
--- b/heat/values.yaml
|
||||
+++ a/heat/values.yaml
|
||||
@@ -494,15 +494,20 @@ conf:
|
||||
diff --git a/heat/values.yaml b/heat/values.yaml
|
||||
--- a/heat/values.yaml
|
||||
+++ b/heat/values.yaml
|
||||
@@ -494,34 +494,44 @@
|
||||
uwsgi:
|
||||
add-header: "Connection: close"
|
||||
buffer-size: 65535
|
||||
@@ -22,8 +21,9 @@ index c9b8cdd9..1cf8bdc4 100644
|
||||
+ socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/heat-wsgi-api
|
||||
@@ -510,15 +515,20 @@ conf:
|
||||
- wsgi-file: /var/lib/openstack/bin/heat-wsgi-api
|
||||
+ module: "heat.wsgi.api:application"
|
||||
heat_api_cfn_uwsgi:
|
||||
uwsgi:
|
||||
add-header: "Connection: close"
|
||||
buffer-size: 65535
|
||||
@@ -43,4 +43,8 @@ index c9b8cdd9..1cf8bdc4 100644
|
||||
+ socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/heat-wsgi-api-cfn
|
||||
- wsgi-file: /var/lib/openstack/bin/heat-wsgi-api-cfn
|
||||
+ module: "heat.wsgi.cfn:application"
|
||||
|
||||
network:
|
||||
api:
|
||||
@@ -1,8 +1,7 @@
|
||||
diff --git a/magnum/values.yaml b/magnum/values.yaml
|
||||
--- a/magnum/values.yaml
|
||||
+++ b/magnum/values.yaml
|
||||
@@ -171,18 +171,23 @@
|
||||
magnum_api_uwsgi:
|
||||
@@ -161,18 +161,23 @@
|
||||
uwsgi:
|
||||
add-header: "Connection: close"
|
||||
buffer-size: 65535
|
||||
@@ -23,7 +22,7 @@ diff --git a/magnum/values.yaml b/magnum/values.yaml
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
- wsgi-file: /var/lib/openstack/bin/magnum-api-wsgi
|
||||
+ module: "magnum.api.app:build_wsgi_app"
|
||||
|
||||
+ module: "magnum.wsgi.api:application"
|
||||
|
||||
network:
|
||||
api:
|
||||
@@ -22,4 +22,4 @@ index e54f214c..f820bc1f 100644
|
||||
+ socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/manila-wsgi
|
||||
module: "manila.wsgi.api:application"
|
||||
@@ -206,7 +206,8 @@ index 4e9c6a11..495e0bab 100644
|
||||
@@ -1318,6 +1331,22 @@ conf:
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/neutron-api
|
||||
- wsgi-file: /var/lib/openstack/bin/neutron-api
|
||||
+ module: "neutron.wsgi.api:application"
|
||||
+ neutron_policy_server_uwsgi:
|
||||
+ uwsgi:
|
||||
+ add-header: "Connection: close"
|
||||
|
||||
@@ -22,4 +22,4 @@ index 699aa05d..b15114a5 100644
|
||||
+ socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/octavia-wsgi
|
||||
module: "octavia.wsgi.api:application"
|
||||
@@ -1,9 +1,12 @@
|
||||
diff --git b/placement/values.yaml a/charts/placement/values.yaml
|
||||
index 2f4b3539..c5752676 100644
|
||||
--- b/placement/values.yaml
|
||||
+++ a/placement/values.yaml
|
||||
@@ -141,15 +141,20 @@ conf:
|
||||
processes: 4
|
||||
diff --git a/placement/values.yaml b/placement/values.yaml
|
||||
--- a/placement/values.yaml
|
||||
+++ b/placement/values.yaml
|
||||
@@ -138,21 +138,26 @@
|
||||
datefmt: "%Y-%m-%d %H:%M:%S"
|
||||
placement_api_uwsgi:
|
||||
uwsgi:
|
||||
- processes: 1
|
||||
+ processes: 4
|
||||
add-header: "Connection: close"
|
||||
buffer-size: 65535
|
||||
+ chunked-input-limit: "4096000"
|
||||
@@ -22,4 +25,8 @@ index 2f4b3539..c5752676 100644
|
||||
+ socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/placement-api
|
||||
- wsgi-file: /var/lib/openstack/bin/placement-api
|
||||
+ module: "placement.wsgi.api:application"
|
||||
endpoints:
|
||||
cluster_domain_suffix: cluster.local
|
||||
local_image_registry:
|
||||
@@ -138,7 +138,7 @@ conf:
|
||||
datefmt: "%Y-%m-%d %H:%M:%S"
|
||||
placement_api_uwsgi:
|
||||
uwsgi:
|
||||
processes: 1
|
||||
processes: 4
|
||||
add-header: "Connection: close"
|
||||
buffer-size: 65535
|
||||
chunked-input-limit: "4096000"
|
||||
@@ -157,7 +157,7 @@ conf:
|
||||
socket-timeout: 10
|
||||
thunder-lock: true
|
||||
worker-reload-mercy: 80
|
||||
wsgi-file: /var/lib/openstack/bin/placement-api
|
||||
module: "placement.wsgi.api:application"
|
||||
endpoints:
|
||||
cluster_domain_suffix: cluster.local
|
||||
local_image_registry:
|
||||
|
||||
Reference in new issue
Block a user