devstack: Use global uwsgi

... following the global method.

Closes-Bug: #2126581
Change-Id: I817ee01b7e6f7386b0e158485dbff6ed46f4c962
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-10-04 11:53:25 +09:00
parent dff3163e50
commit 69dc899f02

View File

@@ -379,16 +379,13 @@ function install_cloudkitty {
elif [ $CLOUDKITTY_STORAGE_BACKEND == 'opensearch' ]; then
install_opensearch
fi
if [ ${CLOUDKITTY_USE_UWSGI,,} == 'true' ]; then
pip_install uwsgi
fi
}
# start_cloudkitty() - Start running processes, including screen
function start_cloudkitty {
run_process ck-proc "$CLOUDKITTY_BIN_DIR/cloudkitty-processor --config-file=$CLOUDKITTY_CONF"
if [ ${CLOUDKITTY_USE_UWSGI,,} == 'true' ]; then
run_process ck-api "$CLOUDKITTY_BIN_DIR/uwsgi --ini $CLOUDKITTY_UWSGI_CONF"
run_process ck-api "$(which uwsgi) --ini $CLOUDKITTY_UWSGI_CONF"
else
run_process ck-api "$CLOUDKITTY_BIN_DIR/cloudkitty-api --host $CLOUDKITTY_SERVICE_HOST --port $CLOUDKITTY_SERVICE_PORT"
fi