Skip to content

Commit 69dc899

Browse files
committed
devstack: Use global uwsgi
... following the global method. Closes-Bug: #2126581 Change-Id: I817ee01b7e6f7386b0e158485dbff6ed46f4c962 Signed-off-by: Takashi Kajinami <[email protected]>
1 parent dff3163 commit 69dc899

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

devstack/plugin.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,16 +379,13 @@ function install_cloudkitty {
379379
elif [ $CLOUDKITTY_STORAGE_BACKEND == 'opensearch' ]; then
380380
install_opensearch
381381
fi
382-
if [ ${CLOUDKITTY_USE_UWSGI,,} == 'true' ]; then
383-
pip_install uwsgi
384-
fi
385382
}
386383

387384
# start_cloudkitty() - Start running processes, including screen
388385
function start_cloudkitty {
389386
run_process ck-proc "$CLOUDKITTY_BIN_DIR/cloudkitty-processor --config-file=$CLOUDKITTY_CONF"
390387
if [ ${CLOUDKITTY_USE_UWSGI,,} == 'true' ]; then
391-
run_process ck-api "$CLOUDKITTY_BIN_DIR/uwsgi --ini $CLOUDKITTY_UWSGI_CONF"
388+
run_process ck-api "$(which uwsgi) --ini $CLOUDKITTY_UWSGI_CONF"
392389
else
393390
run_process ck-api "$CLOUDKITTY_BIN_DIR/cloudkitty-api --host $CLOUDKITTY_SERVICE_HOST --port $CLOUDKITTY_SERVICE_PORT"
394391
fi

0 commit comments

Comments
 (0)