devstack: Use global uwsgi

... following the global method.

Closes-Bug: #2126581
Change-Id: I012a3edfa9ca93ae2486428e84cc098372031803
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-10-04 23:01:17 +09:00
parent 93b0be8293
commit 93e71c7f4f

View File

@@ -115,9 +115,9 @@ function install_gnocchi {
# to the global git repo list and ensure its cloned as the current user
# not as root.
git_clone ${GNOCCHI_REPO} ${GNOCCHI_DIR} ${GNOCCHI_BRANCH}
pip_install -e ${GNOCCHI_DIR}[redis,${DATABASE_TYPE},keystone] uwsgi
pip_install -e ${GNOCCHI_DIR}[redis,${DATABASE_TYPE},keystone]
else
pip_install gnocchi[redis,${DATABASE_TYPE},keystone] uwsgi
pip_install gnocchi[redis,${DATABASE_TYPE},keystone]
fi
}
@@ -290,7 +290,7 @@ function install_ceilometer {
function start_ceilometer {
if [[ "$CEILOMETER_BACKENDS" =~ "gnocchi" ]] ; then
run_process gnocchi-api "$CEILOMETER_BIN_DIR/uwsgi --ini $GNOCCHI_UWSGI_FILE" ""
run_process gnocchi-api "$(which uwsgi) --ini $GNOCCHI_UWSGI_FILE" ""
run_process gnocchi-metricd "$CEILOMETER_BIN_DIR/gnocchi-metricd --config-file $GNOCCHI_CONF"
wait_for_service 30 "$(gnocchi_service_url)"
$CEILOMETER_BIN_DIR/ceilometer-upgrade