Skip to content

Commit 0cd8763

Browse files
committed
lib/neutron: Migrate neutron to WSGI module path
Change-Id: Ie99ec3bf4198fa7cd7583d2dca648e1474f94aea Signed-off-by: Stephen Finucane <sfinucan@redhat.com> Depends-on: https://review.opendev.org/c/openstack/neutron/+/916407
1 parent 6df5371 commit 0cd8763

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/neutron

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export NEUTRON_TEST_CONFIG_FILE=${NEUTRON_TEST_CONFIG_FILE:-"$NEUTRON_CONF_DIR/d
8888
# enough
8989
NEUTRON_DEPLOY_MOD_WSGI=$(trueorfalse False NEUTRON_DEPLOY_MOD_WSGI)
9090

91+
NEUTRON_UWSGI=neutron.wsgi.api:application
9192
NEUTRON_UWSGI_CONF=$NEUTRON_CONF_DIR/neutron-api-uwsgi.ini
9293

9394
# If NEUTRON_ENFORCE_SCOPE == True, it will set "enforce_scope"
@@ -466,7 +467,7 @@ function configure_neutron {
466467
iniset $NEUTRON_CONF DEFAULT rpc_state_report_workers 0
467468

468469
if [ "$NEUTRON_DEPLOY_MOD_WSGI" == "True" ]; then
469-
write_uwsgi_config "$NEUTRON_UWSGI_CONF" "$NEUTRON_BIN_DIR/neutron-api" "/networking"
470+
write_uwsgi_config "$NEUTRON_UWSGI_CONF" "$NEUTRON_UWSGI" "/networking" "" "neutron-api"
470471
fi
471472
}
472473

0 commit comments

Comments
 (0)