fix(nova): use WSGI module instead of removed wsgi-file (#3495)

Signed-off-by: Dong Ma <dong.ma@vexxhost.com>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Dong MaandClaude authored and GitHub committed 2026-01-31 11:03:35 -05:00
1 parent e23ddd29f1
commit b4a18f662b
3 files changed
+29 -2

No files matched your search

+2 -2
View File
@@ -1584,7 +1584,7 @@ conf:
route-user-agent: '^kube-probe.* donotlog:'
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/nova-api-wsgi
module: "nova.wsgi.osapi_compute:application"
nova_metadata_uwsgi:
uwsgi:
add-header: "Connection: close"
@@ -1600,7 +1600,7 @@ conf:
route-user-agent: '^kube-probe.* donotlog:'
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/nova-metadata-wsgi
module: "nova.wsgi.metadata:application"
# Names of secrets used by bootstrap and environmental checks
secrets:
@@ -0,0 +1,21 @@
diff --git a/nova/values.yaml b/nova/values.yaml
--- a/nova/values.yaml
+++ b/nova/values.yaml
@@ -1583,7 +1583,7 @@
route-user-agent: '^kube-probe.* donotlog:'
thunder-lock: true
worker-reload-mercy: 80
- wsgi-file: /var/lib/openstack/bin/nova-api-wsgi
+ module: "nova.wsgi.osapi_compute:application"
nova_metadata_uwsgi:
uwsgi:
add-header: "Connection: close"
@@ -1599,7 +1599,7 @@
route-user-agent: '^kube-probe.* donotlog:'
thunder-lock: true
worker-reload-mercy: 80
- wsgi-file: /var/lib/openstack/bin/nova-metadata-wsgi
+ module: "nova.wsgi.metadata:application"
# Names of secrets used by bootstrap and environmental checks
secrets:
@@ -0,0 +1,6 @@
---
fixes:
- |
The Nova API and metadata services now use Python module entry points
instead of the removed WSGI script files, fixing startup failures with
newer images.