From 6a7bb474b0ac47f619a42e3c021748df9d7c9e3d Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Thu, 5 Jan 2023 08:13:05 -0800 Subject: [PATCH] devstack: fix plugin for local usage The wsgi webserver used by the test, which is *not* a hard requirement for the software's usage, is gunicorn, which is not present by default unless something has already installed it. It is in OpenStack's requirements, so it is not impossible. Regardless, install so the devstack plugin "just works" when run locally on a clean/new VM. Change-Id: I8a379aa7ca94c27211aebee77dfefc742c3f1223 --- devstack/plugin.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 61b0ad9..cba1606 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -14,6 +14,10 @@ IPE_ERROR_LF="$IRONIC_VM_LOG_DIR/ipe_errors.log" function install_ironic_prometheus_exporter { git_clone_by_name "ironic-prometheus-exporter" + # NOTE(TheJulia): Version and use requirement is not established + # for gunicorn. It just so happens to be what the CI job uses, + # and is not an operational requirement. + pip_install gunicorn setup_dev_lib "ironic-prometheus-exporter" }