lib/placement: Migrate placement to WSGI module path
Change-Id: If9e2cc9247d707a451ef394615e547515115f9e0 Signed-off-by: Stephen Finucane <sfinucan@redhat.com> Depends-on: https://review.opendev.org/c/openstack/placement/+/919569
This commit is contained in:
parent
a6f3901a4b
commit
e1a5e106f0
|
@ -37,7 +37,7 @@ if [[ ${USE_VENV} = True ]]; then
|
|||
else
|
||||
PLACEMENT_BIN_DIR=$(get_python_exec_prefix)
|
||||
fi
|
||||
PLACEMENT_UWSGI=$PLACEMENT_BIN_DIR/placement-api
|
||||
PLACEMENT_UWSGI=placement.wsgi.api:application
|
||||
PLACEMENT_UWSGI_CONF=$PLACEMENT_CONF_DIR/placement-uwsgi.ini
|
||||
|
||||
if is_service_enabled tls-proxy; then
|
||||
|
@ -113,7 +113,7 @@ function configure_placement {
|
|||
create_placement_conf
|
||||
|
||||
if [[ "$WSGI_MODE" == "uwsgi" ]]; then
|
||||
write_uwsgi_config "$PLACEMENT_UWSGI_CONF" "$PLACEMENT_UWSGI" "/placement"
|
||||
write_uwsgi_config "$PLACEMENT_UWSGI_CONF" "$PLACEMENT_UWSGI" "/placement" "" "placement-api"
|
||||
else
|
||||
_config_placement_apache_wsgi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue