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 <work@seanmooney.info>
This commit is contained in:
Sean Mooney
2025-10-06 11:59:18 +01:00
parent 65c9c87e57
commit f76b0e7304

View File

@@ -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()