setup: Remove pbr's wsgi_scripts

This is technical dead end and not something we're going to be able to
support long-term in pbr. We need to push users away from this. This is
kept separate from the addition of the 'manila.wsgi' module to allow
that to be backported if necessary.

Change-Id: Icaba9424862b883388bf68d2c3d48138b7b906b0
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-05-08 12:48:12 +01:00
parent f2323f7ad2
commit 02bfe5b41e
2 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1,8 @@
---
upgrade:
- |
The WSGI script ``manila-wsgi`` has been removed. Deployment tooling
should instead reference the Python module path for the wsgi module in
Manila, ``manila.wsgi.api:application`` if their chosen WSGI server
supports this (gunicorn, uWSGI, etc.) or implement a ``.wsgi`` script
themselves if not (mod_wsgi).

View File

@ -38,8 +38,6 @@ console_scripts =
manila-scheduler = manila.cmd.scheduler:main
manila-share = manila.cmd.share:main
manila-status = manila.cmd.status:main
wsgi_scripts =
manila-wsgi = manila.wsgi.wsgi:initialize_application
manila.scheduler.filters =
AffinityFilter = manila.scheduler.filters.affinity:AffinityFilter
AntiAffinityFilter = manila.scheduler.filters.affinity:AntiAffinityFilter