From f76b0e73048b146da06fae275f15e080dae91c88 Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Mon, 6 Oct 2025 11:59:18 +0100 Subject: [PATCH] rely on devstack to install uwsgi installation of uwsgi from pypi is flaky as the compilation of the uwsgi c module sometimes fails for non determinisic reasons. Devstack already will install uwsgi for us and it will prefer to use the distro package if possible avoiding the need to compile it in the job. this is both faster and more reliable reducing rechecks. Closes-Bug: #2126581 Change-Id: I5048360c698d0c60c1e61f9a1163cfaac3961b6b Signed-off-by: Sean Mooney --- devstack/plugin.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 77a8b59..2a8cd10 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -68,13 +68,11 @@ function init_aetos { function install_aetos { setup_develop $AETOS_DIR $AETOS_BACKEND sudo install -d -o $STACK_USER -m 755 $AETOS_CONF_DIR - - pip_install uwsgi } # start_aetos() - Start running processes, including screen function start_aetos { - run_process aetos "$AETOS_BIN_DIR/uwsgi --ini $AETOS_UWSGI_CONF" + run_process aetos "$(which uwsgi) --ini $AETOS_UWSGI_CONF" } # configure_tempest_for_aetos()