setup: Remove pbr's wsgi_scripts

This is technical dead end and not something that's supported by default
in the any versions of setuptools released in over 6 months (and
therefore, by extension, pbr). It's time to remove it.

Some references to wsgi scripts and the eventlet server are removed.

Change-Id: I8e340403808287a594cb742c24bcf6343fa42caa
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-09-16 17:47:58 +01:00
parent 7a21722ecd
commit c1827a3f33
3 changed files with 8 additions and 3 deletions

View File

@@ -15,4 +15,4 @@ die-on-term = true
master = true
processes = 4
http-socket = 127.0.0.1:60999
wsgi-file = /usr/local/bin/glance-wsgi-api
module = glance.wsgi.api:application

View File

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

View File

@@ -44,8 +44,6 @@ console_scripts =
glance-replicator = glance.cmd.replicator:main
glance-scrubber = glance.cmd.scrubber:main
glance-status = glance.cmd.status:main
wsgi_scripts =
glance-wsgi-api = glance.common.wsgi_app:init_app
oslo.config.opts =
glance.api = glance.opts:list_api_opts
glance.scrubber = glance.opts:list_scrubber_opts