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:
parent
44c3cdef5c
commit
6e4dd51c02
@ -169,7 +169,7 @@ function config_trove_apache_wsgi {
|
|||||||
local trove_apache_conf
|
local trove_apache_conf
|
||||||
|
|
||||||
sudo mkdir -p ${TROVE_WSGI_DIR}
|
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)
|
trove_apache_conf=$(apache_site_config_for trove-api)
|
||||||
sudo cp $TROVE_DEVSTACK_FILES/apache-trove-api.template ${trove_apache_conf}
|
sudo cp $TROVE_DEVSTACK_FILES/apache-trove-api.template ${trove_apache_conf}
|
||||||
sudo sed -e "
|
sudo sed -e "
|
||||||
|
@ -27,7 +27,7 @@ packages =
|
|||||||
|
|
||||||
[entry_points]
|
[entry_points]
|
||||||
wsgi_scripts =
|
wsgi_scripts =
|
||||||
trove-wsgi = trove.cmd.api_wsgi:wsgimain
|
trove-wsgi = trove.cmd.app_wsgi:wsgimain
|
||||||
console_scripts =
|
console_scripts =
|
||||||
trove-api = trove.cmd.api:main
|
trove-api = trove.cmd.api:main
|
||||||
trove-taskmanager = trove.cmd.taskmanager:main
|
trove-taskmanager = trove.cmd.taskmanager:main
|
||||||
|
Loading…
x
Reference in New Issue
Block a user