Rename api_wsgi.py to app_wsgi.py

This PR changes wsgi script filename to app_wsgi.py.

Original problem is that mod_wsgi script not found after devstack
installation. This bug is created by #854356[1].

--
[1]: https://review.opendev.org/c/openstack/trove/+/854356

Story: 2010264
Task: 46163
Change-Id: I22883c8a8bb7e2818679d667b6868587a040a602
This commit is contained in:
Hirotaka Wakabayashi 2022-08-31 23:37:40 +09:00
parent 44c3cdef5c
commit 6e4dd51c02
3 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ function config_trove_apache_wsgi {
local trove_apache_conf
sudo mkdir -p ${TROVE_WSGI_DIR}
sudo cp $TROVE_DIR/trove/cmd/app_wsgi.py $TROVE_WSGI_DIR/app.wsgi
sudo cp $TROVE_DIR/trove/cmd/app_wsgi.py $TROVE_WSGI_DIR/app_wsgi.py
trove_apache_conf=$(apache_site_config_for trove-api)
sudo cp $TROVE_DEVSTACK_FILES/apache-trove-api.template ${trove_apache_conf}
sudo sed -e "

View File

@ -27,7 +27,7 @@ packages =
[entry_points]
wsgi_scripts =
trove-wsgi = trove.cmd.api_wsgi:wsgimain
trove-wsgi = trove.cmd.app_wsgi:wsgimain
console_scripts =
trove-api = trove.cmd.api:main
trove-taskmanager = trove.cmd.taskmanager:main