Fix grenade job API startup for uwsgi

During a grenade upgrade test run, we updated the grenade test to migrate
to using uwsgi for the API during the from-Xena upgrade, but missed that
the main grenade upgrade script was starting the API without uwsgi.

This patch corrects the grenade upgrade script to run the API process
properly.

Change-Id: Ia54de92ec44641e16c20281cfa634599073f39e3
This commit is contained in:
Erik Olof Gunnar Andersson 2022-03-31 00:02:45 -07:00 committed by Michael Johnson
parent 2243310f59
commit 244028674c
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ $DESIGNATE_BIN_DIR/designate-manage --config-file $DESIGNATE_CONF \
# Start designate
run_process designate-central "$DESIGNATE_BIN_DIR/designate-central --config-file $DESIGNATE_CONF"
run_process designate-api "$DESIGNATE_BIN_DIR/designate-api --config-file $DESIGNATE_CONF"
run_process "designate-api" "$(which uwsgi) --procname-prefix designate-api --ini $DESIGNATE_UWSGI_CONF"
run_process designate-producer "$DESIGNATE_BIN_DIR/designate-producer --config-file $DESIGNATE_CONF"
run_process designate-worker "$DESIGNATE_BIN_DIR/designate-worker --config-file $DESIGNATE_CONF"
run_process designate-mdns "$DESIGNATE_BIN_DIR/designate-mdns --config-file $DESIGNATE_CONF"