Use consistent program name for wsgi scripts and entry points

Make sure that the consistent program name is always set,so that
the same config sub-directory ( /etc/{project}/{prog}.conf.d ) is used
regardless of the way api service is run.

Closes-Bug: #2098514
Change-Id: Ib5c6d431176b83eefafddc1b35589015db6dfd04
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-02-25 00:30:24 +09:00
parent 23b462d77d
commit 253aaec4bb
7 changed files with 32 additions and 12 deletions
@@ -0,0 +1,12 @@
---
fixes:
- |
[`bug 2098514 <https://bugs.launchpad.net/nova/+bug/2098514>_`] Fixed
the per-service configuration directories for the API wsgi modules
(``nova.wsgi.osapi_compute`` and ``nova.wsgi.metadata``), unexpectedly
affected by the application servers hosting these. Now these modules use
the following per-service configuration directories regardless of
the application server used.
- ``nova.wsgi.osapi_compute``: ``/etc/nova/nova-api-os-compute.d``
- ``nova.wsgi.metadata``: ``/etc/nova/nova-api-metadata.d``