summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorSean Mooney <work@seanmooney.info>2022-11-08 15:00:22 +0000
committerBalazs Gibizer <gibi@redhat.com>2022-12-07 12:36:32 +0100
commit73fe84fa0ea6f7c7fa55544f6bce5326d87743a6 (patch)
treeb9bbcc2b2eb315cf911f5359372f5076811f5fa0 /releasenotes
parentc97507dfcd57cce9d76670d3b0d48538900c00e9 (diff)
downloadnova-73fe84fa0ea6f7c7fa55544f6bce5326d87743a6.tar.gz
Support multiple config file with mod_wsgi
Unlike uwsgi, apache mod_wsgi does not support passing commandline arguments to the python wsgi script it invokes. As a result while you can pass --config-file when hosting the api and metadata wsgi applications with uwsgi there is no way to use multiple config files with mod_wsgi. This change mirrors how this is supported in keystone today by intoducing a new OS_NOVA_CONFIG_FILES env var to allow operators to optional pass a ';' delimited list of config files to load. This change also add docs for this env var and the existing undocumented OS_NOVA_CONFIG_DIR. Closes-Bug: 1994056 Change-Id: I8e3ccd75cbb7f2e132b403cb38022787c2c0a37b
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/multiple-config-files-with-mod_wsgi-f114ea5fdd8b9a51.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/releasenotes/notes/multiple-config-files-with-mod_wsgi-f114ea5fdd8b9a51.yaml b/releasenotes/notes/multiple-config-files-with-mod_wsgi-f114ea5fdd8b9a51.yaml
new file mode 100644
index 0000000000..f4361477de
--- /dev/null
+++ b/releasenotes/notes/multiple-config-files-with-mod_wsgi-f114ea5fdd8b9a51.yaml
@@ -0,0 +1,14 @@
+---
+fixes:
+ - |
+ apache mod_wsgi does not support passing commandline arguments to the wsgi
+ application that it hosts. As a result when the nova api or metadata api
+ where run under mod_wsgi it was not posible to use multiple config files
+ or non-default file names i.e. nova-api.conf
+ This has been adressed by the intoduction of a new, optional, envionment
+ varible ``OS_NOVA_CONFIG_FILES``. ``OS_NOVA_CONFIG_FILES`` is a ``;``
+ seperated list fo file path relitive to ``OS_NOVA_CONFIG_DIR``.
+ When unset the default ``api-paste.ini`` and ``nova.conf`` will be used
+ form ``/etc/nova``. This is supported for the nova api and nova metadata
+ wsgi applications.
+