diff --git a/charts/barbican/values.yaml b/charts/barbican/values.yaml index 77345357..6357721f 100644 --- a/charts/barbican/values.yaml +++ b/charts/barbican/values.yaml @@ -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: diff --git a/charts/designate/values.yaml b/charts/designate/values.yaml index 71694146..a5212eea 100644 --- a/charts/designate/values.yaml +++ b/charts/designate/values.yaml @@ -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: diff --git a/charts/heat/values.yaml b/charts/heat/values.yaml index ed557b31..c3898fa6 100644 --- a/charts/heat/values.yaml +++ b/charts/heat/values.yaml @@ -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: diff --git a/charts/magnum/values.yaml b/charts/magnum/values.yaml index 19c6c00a..d791ebdd 100644 --- a/charts/magnum/values.yaml +++ b/charts/magnum/values.yaml @@ -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: diff --git a/charts/neutron/values.yaml b/charts/neutron/values.yaml index 83e34c08..0f3c1ead 100644 --- a/charts/neutron/values.yaml +++ b/charts/neutron/values.yaml @@ -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" diff --git a/charts/patches/barbican/0001-tune-uwsgi-config.patch b/charts/patches/barbican/0001-tune-uwsgi-config.patch index 3c472ee8..e937a598 100644 --- a/charts/patches/barbican/0001-tune-uwsgi-config.patch +++ b/charts/patches/barbican/0001-tune-uwsgi-config.patch @@ -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: diff --git a/charts/patches/designate/0001-tune-uwsgi-config.patch b/charts/patches/designate/0001-tune-uwsgi-config.patch index 64939651..0d49c878 100644 --- a/charts/patches/designate/0001-tune-uwsgi-config.patch +++ b/charts/patches/designate/0001-tune-uwsgi-config.patch @@ -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: diff --git a/charts/patches/heat/0001-tune-uwsgi-config.patch b/charts/patches/heat/0001-tune-uwsgi-config.patch index 70474700..914da54c 100644 --- a/charts/patches/heat/0001-tune-uwsgi-config.patch +++ b/charts/patches/heat/0001-tune-uwsgi-config.patch @@ -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: diff --git a/charts/patches/magnum/0001-tune-uwsgi-config.patch b/charts/patches/magnum/0001-tune-uwsgi-config.patch index f6f4bf53..6819b695 100644 --- a/charts/patches/magnum/0001-tune-uwsgi-config.patch +++ b/charts/patches/magnum/0001-tune-uwsgi-config.patch @@ -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: diff --git a/charts/patches/manila/0001-tune-uwsgi-config.patch b/charts/patches/manila/0001-tune-uwsgi-config.patch index cd876060..bfb81c8f 100644 --- a/charts/patches/manila/0001-tune-uwsgi-config.patch +++ b/charts/patches/manila/0001-tune-uwsgi-config.patch @@ -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" diff --git a/charts/patches/neutron/0002-add-neutron-policy-server.patch b/charts/patches/neutron/0002-add-neutron-policy-server.patch index 3878556c..858583c0 100644 --- a/charts/patches/neutron/0002-add-neutron-policy-server.patch +++ b/charts/patches/neutron/0002-add-neutron-policy-server.patch @@ -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" diff --git a/charts/patches/octavia/0001-tune-uwsgi-config.patch b/charts/patches/octavia/0001-tune-uwsgi-config.patch index 209e4139..e856fa47 100644 --- a/charts/patches/octavia/0001-tune-uwsgi-config.patch +++ b/charts/patches/octavia/0001-tune-uwsgi-config.patch @@ -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" diff --git a/charts/patches/placement/0001-tune-uwsgi-config.patch b/charts/patches/placement/0001-tune-uwsgi-config.patch index 7a1597f1..1c66c104 100644 --- a/charts/patches/placement/0001-tune-uwsgi-config.patch +++ b/charts/patches/placement/0001-tune-uwsgi-config.patch @@ -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: diff --git a/charts/placement/values.yaml b/charts/placement/values.yaml index 82c161b3..6b863c6b 100644 --- a/charts/placement/values.yaml +++ b/charts/placement/values.yaml @@ -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: